From 800938a1268309932c20dc523bb226bcab4bfe18 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 22 Nov 2012 16:34:04 -0500 Subject: 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. Signed-off-by: Mike Frysinger --- elf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/Makefile b/elf/Makefile index 7e5c9c8..6c7bc97 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. -- cgit v1.1