Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/libexec/ld.elf_so/helper_ifunc_dso Revert. There is no...
details: https://anonhg.NetBSD.org/src/rev/0438fb90b698
branches: trunk
changeset: 331843:0438fb90b698
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 26 16:25:35 2014 +0000
description:
Revert. There is no such thing as __HAVE_IFUNC and there should not be
one in first place.
diffstat:
tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diffs (19 lines):
diff -r bfe25b18a183 -r 0438fb90b698 tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c
--- a/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c Tue Aug 26 16:21:15 2014 +0000
+++ b/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c Tue Aug 26 16:25:35 2014 +0000
@@ -49,15 +49,9 @@
return e && strcmp(e, "1") == 0 ? ifunc2 : ifunc1;
}
-#ifdef __HAVE_IFUNC
-// XXX: m68k, vax, mips, sh3 (and others) binutils don't support this.
-// Needs to be staged in for archs that support it.
-__ifunc(ifunc, resolve_ifunc);
-#else
int ifunc(void);
int
ifunc(void) {
const char *e = getenv("USE_IFUNC2");
return e && strcmp(e, "1") == 0 ? ifunc2() : ifunc1();
}
-#endif
Home |
Main Index |
Thread Index |
Old Index