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/f3fe6a0b1375
branches:  trunk
changeset: 801988:f3fe6a0b1375
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 38cb2f631fd0 -r f3fe6a0b1375 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