From a27af7dd7e4f3a55d004530f97d39f089cd0fc0b Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Tue, 22 Aug 2006 11:02:54 +0200 Subject: [PATCH] Small update. --- src/stub/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stub/Makefile b/src/stub/Makefile index 1bd607d3..20d3fb4b 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -152,10 +152,11 @@ tc.default.objdump = $(call tc,m-objdump) tc.default.objstrip = $(call tc,objcopy) -R .comment -R .note -R .reginfo define tc.default.embed_objinfo - $(call tc,m-objdump) -D $2 | $(RTRIM) > $2.disasm + chmod a-x $2 $(call tc,m-objcopy) --strip-unneeded $2 $(call tc,m-objcopy) -R .text -R .data -R .bss $2 $(call tc,m-objcopy) -R .comment -R .note -R .reginfo $2 + $(call tc,m-objdump) -D $2 | $(RTRIM) > $2.disasm $(call tc,m-objdump) -trwh $2 | $(RTRIM) > $2.dump cat $2.dump >> $2 endef