summaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-22 16:34:04 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-23 15:23:18 -0500
commit800938a1268309932c20dc523bb226bcab4bfe18 (patch)
tree26ac53b665a7b0b61a49f32ced6245dba1707ceb /elf/Makefile
parent4e6e34e6ca4cc94f5c049f274fb7840293277b94 (diff)
use $(READELF) rather than readelf
We setup $(READELF) and use it everywhere, so fix the two places that were using readelf directly. Reported-by: Denis M. <god@politeia.in> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 7e5c9c87e9..6c7bc97d4a 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -336,7 +336,7 @@ $(objpfx)ld.so: $(objpfx)librtld.os $(ld-map)
$(filter-out $(map-file),$^) $(load-map-file) \
-Wl,-soname=$(rtld-installed-name) \
-Wl,-defsym=_begin=0
- readelf -s $@ \
+ $(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.