diff options
Diffstat (limited to 'tests/libexec')
| -rw-r--r-- | tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c b/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c index a213aeb4721..1f4d15489d9 100644 --- a/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c +++ b/tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c @@ -49,15 +49,9 @@ int (*resolve_ifunc(void))(void) 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 |
