aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2022-04-29 16:37:51 +0200
committerFlorian Weimer <fweimer@redhat.com>2022-04-29 16:37:51 +0200
commite47de5cb2d4dbecb58f569ed241e8e95c568f03c (patch)
tree0024e33042a32c5a2c19b6e239e562d19016e1d4 /Makeconfig
parent5b5b1012d579bfb38e11cea3767bec06554c0063 (diff)
downloadglibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.zip
glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.gz
glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.bz2
Do not use --hash-style=both for building glibc shared objects
The comment indicates that --hash-style=both was used to maintain compatibility with static dlopen, but we had many internal ABI changes since then, so this compatiblity does not add value anymore. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makeconfig b/Makeconfig
index 0aa5fb0..760f14e 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -362,15 +362,6 @@ relro-LDFLAGS = -Wl,-z,relro
LDFLAGS.so += $(relro-LDFLAGS)
LDFLAGS-rtld += $(relro-LDFLAGS)
-ifeq (yes,$(have-hash-style))
-# For the time being we unconditionally use 'both'. At some time we
-# should declare statically linked code as 'out of luck' and compile
-# with --hash-style=gnu only.
-hashstyle-LDFLAGS = -Wl,--hash-style=both
-LDFLAGS.so += $(hashstyle-LDFLAGS)
-LDFLAGS-rtld += $(hashstyle-LDFLAGS)
-endif
-
ifeq (no,$(build-pie-default))
pie-default = $(no-pie-ccflag)
else # build-pie-default