about summary refs log tree commit diff
path: root/nptl_db
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 /nptl_db
parent4e6e34e6ca4cc94f5c049f274fb7840293277b94 (diff)
downloadglibc-800938a1268309932c20dc523bb226bcab4bfe18.tar.gz
glibc-800938a1268309932c20dc523bb226bcab4bfe18.tar.xz
glibc-800938a1268309932c20dc523bb226bcab4bfe18.zip
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 'nptl_db')
-rw-r--r--nptl_db/ChangeLog4
-rw-r--r--nptl_db/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/nptl_db/ChangeLog b/nptl_db/ChangeLog
index 417514978b..bded2fe184 100644
--- a/nptl_db/ChangeLog
+++ b/nptl_db/ChangeLog
@@ -1,3 +1,7 @@
+2012-11-23  Mike Frysinger  <vapier@gentoo.org>
+
+	* Makefile ($(objpfx)db-symbols.out): Change readelf to $(READELF).
+
 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
 
 	[BZ #14661]
diff --git a/nptl_db/Makefile b/nptl_db/Makefile
index 6ccb3d0ccb..54721e7b6c 100644
--- a/nptl_db/Makefile
+++ b/nptl_db/Makefile
@@ -60,6 +60,6 @@ $(objpfx)libthread_db.so: $(common-objpfx)libc.so \
 tests: $(objpfx)db-symbols.out
 $(objpfx)db-symbols.out: $(objpfx)db-symbols.v.i \
 			 $(common-objpfx)nptl/libpthread.so
-	LC_ALL=C readelf -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
+	LC_ALL=C $(READELF) -W -s $(filter %.so,$^) | $(AWK) -f $< > $@
 
 $(objpfx)db-symbols.v.i: db-symbols.awk