summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-19 03:54:55 +0000
committerRoland McGrath <roland@gnu.org>2005-07-19 03:54:55 +0000
commit90a62401c6c3ffbb9522a01d9905b8a4d4d9866e (patch)
tree7e16484fd4e63d276133bf06e26c6ae85bc34e07 /Makerules
parent233399bce2e79e5af3b344782e9943d5f1a9cdcb (diff)
downloadglibc-90a62401c6c3ffbb9522a01d9905b8a4d4d9866e.tar.gz
glibc-90a62401c6c3ffbb9522a01d9905b8a4d4d9866e.tar.xz
glibc-90a62401c6c3ffbb9522a01d9905b8a4d4d9866e.zip
[BZ #869]
2005-07-18  Roland McGrath  <roland@redhat.com>
	[BZ #869]
	* Makerules ($(objpfx)stubs): Do cd into $(objdir) to reduce size of
	objdump command line.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 63b07a24a6..e95d3107ec 100644
--- a/Makerules
+++ b/Makerules
@@ -1390,7 +1390,7 @@ objs-for-stubs := $(foreach o,$(object-suffixes-for-libc),$(o-objects)) \
 		  $(addprefix $(objpfx),$(extra-objs))
 $(objpfx)stubs: $(objs-for-stubs)
 ifneq (,$(strip $(objs-for-stubs)))
-	$(OBJDUMP) -h $^ | \
+	(cd $(objdir); $(OBJDUMP) -h $(patsubst $(objpfx)%,%,$^)) | \
 	$(AWK) '/\.gnu\.glibc-stub\./ { \
 	          sub(/\.gnu\.glibc-stub\./, "", $$2); \
 		  stubs[$$2] = 1; } \