summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-09-05 06:47:43 +0000
committerJakub Jelinek <jakub@redhat.com>2006-09-05 06:47:43 +0000
commitfcaea48fef6d82c56461654248e97d0816431d2e (patch)
treec57e973a9eae75380ec45186a474b5b8cc590c70 /Makerules
parent4c7854d1dce24e8cc344f1da81fca01ee7f01804 (diff)
Updated to fedora-glibc-20060905T0633cvs/fedora-glibc-2_4_90-29
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index f50f7a4884..b0be86b368 100644
--- a/Makerules
+++ b/Makerules
@@ -487,7 +487,13 @@ $(common-objpfx)shlib.lds: $(common-objpfx)config.make $(..)Makerules
-Wl,--verbose 2>&1 | \
sed > $@T \
-e '/^=========/,/^=========/!d;/^=========/d' \
- -e 's/^.*\.hash[ ]*:.*$$/ .note.ABI-tag : { *(.note.ABI-tag) } &/' \
+ $(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) \