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 Really revert to th...
details: https://anonhg.NetBSD.org/src/rev/6003160647e9
branches: trunk
changeset: 331846:6003160647e9
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 26 17:13:42 2014 +0000
description:
Really revert to the original version.
diffstat:
tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (14 lines):
diff -r aef7681f1a1c -r 6003160647e9 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 17:03:51 2014 +0000
+++ b/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c Tue Aug 26 17:13:42 2014 +0000
@@ -49,9 +49,4 @@
return e && strcmp(e, "1") == 0 ? ifunc2 : ifunc1;
}
-int ifunc(void);
-int
-ifunc(void) {
- const char *e = getenv("USE_IFUNC2");
- return e && strcmp(e, "1") == 0 ? ifunc2() : ifunc1();
-}
+__ifunc(ifunc, resolve_ifunc);
Home |
Main Index |
Thread Index |
Old Index