diff options
| author | joerg <joerg@NetBSD.org> | 2014-08-26 17:13:42 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2014-08-26 17:13:42 +0000 |
| commit | f87aa1f9c1981abb1b72ef36ffcec630ea39eb1f (patch) | |
| tree | 3f5026a1cbb1afc897146c0fad5276e72a157689 /tests/libexec | |
| parent | ea53215bd4bbce49043d5326b68c6b5cb5fd8626 (diff) | |
Really revert to the original version.
Diffstat (limited to 'tests/libexec')
| -rw-r--r-- | tests/libexec/ld.elf_so/helper_ifunc_dso/h_helper_ifunc.c | 7 |
1 files changed, 1 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 1f4d15489d9..c04f77547e7 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,9 +49,4 @@ int (*resolve_ifunc(void))(void) 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); |
