aboutsummaryrefslogtreecommitdiff
path: root/Makerules
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 /Makerules
parent5b5b1012d579bfb38e11cea3767bec06554c0063 (diff)
downloadglibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar
glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.gz
glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.bz2
glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.zip
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 'Makerules')
-rw-r--r--Makerules7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makerules b/Makerules
index 428464f092..354528b8c7 100644
--- a/Makerules
+++ b/Makerules
@@ -557,13 +557,6 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
-Wl,--verbose 2>/dev/null | \
sed > $@T \
-e '/^=========/,/^=========/!d;/^=========/d' \
- $(if $(filter yes,$(have-hash-style)), \
- -e 's/^.*\.gnu\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
- -e '/^[ ]*\.hash[ ]*:.*$$/{h;d;}' \
- -e '/DATA_SEGMENT_ALIGN/{H;g}' \
- , \
- -e 's/^.*\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
- ) \
-e 's/^.*\*(\.dynbss).*$$/& \
PROVIDE(__start___libc_freeres_ptrs = .); \
*(__libc_freeres_ptrs) \