Revert. There is no such thing as __HAVE_IFUNC and there should not be

one in first place.
This commit is contained in:
joerg 2014-08-26 16:25:35 +00:00
parent 23f0d17f09
commit 497e202f2a
1 changed files with 0 additions and 6 deletions

View File

@ -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