add gnu hash support in the dynamic linker

based on the patches contributed by boris brezillon.
This commit is contained in:
Rich Felker 2012-08-25 17:13:28 -04:00
commit 2bd05a4fc2
2 changed files with 86 additions and 13 deletions

2
configure vendored
View file

@ -268,7 +268,7 @@ fi
# Some patched GCC builds have these defaults messed up...
tryflag CFLAGS_AUTO -fno-stack-protector
tryldflag LDFLAGS_AUTO -Wl,--hash-style=sysv
tryldflag LDFLAGS_AUTO -Wl,--hash-style=both
# Disable dynamic linking if ld is broken and can't do -Bsymbolic-functions
LDFLAGS_DUMMY=