summaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-16 22:08:56 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-16 22:08:56 +0000
commit9b0cdd693e7f54fd35fd58931b940efe6ccb88cd (patch)
treec9441514de089a1f5135e442d01cfbc1c4da1416 /elf/Makefile
parent91ed9442cea3802c96b69553d6653ed01df7c990 (diff)
Updated to fedora-glibc-20070816T2121cvs/fedora-glibc-2_6_90-11
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index d1b3c5a1f5..2943acc66b 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -307,7 +307,8 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
$(filter-out $(map-file),$^) $(load-map-file) \
-Wl,-soname=$(rtld-installed-name) -T $@.lds
rm -f $@.lds
- nm -u $@ | cmp -s /dev/null -
+ readelf -s $@ \
+ | awk '($$7 ~ /^UND(|EF)$$/ && $$1 != "0:" && $$4 != "REGISTER") { print; p=1 } END { exit p != 0 }'
# interp.c exists just to get this string into the libraries.
CFLAGS-interp.c = -D'RUNTIME_LINKER="$(slibdir)/$(rtld-installed-name)"' \