From a62fc3abff5cb54c5ee8ccfb98d043ea19ab9232 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Thu, 23 Nov 2006 03:31:43 +0100 Subject: [PATCH] Try to remove .shstrtab, .strtab and .symtab sections. This does not seem to work with objcopy. --- src/stub/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stub/Makefile b/src/stub/Makefile index be274b90..121e31e6 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -191,6 +191,7 @@ define tc.default.f-embed_objinfo $(call tc,objcopy) -R .comment -R .note -R .note.GNU-stack -R .reginfo $1 $(call tc,objdump) -Dr $(tc_objdump_disasm_options) $1 | $(RTRIM) > $1.disasm $(call tc,objdump) -htr -w $1 | $(BLSQUEEZE) > $1.dump + $(call tc,objcopy) -R .shstrtab -R .strtab -R .symtab $1 cat $1.dump >> $1 endef define tc.default.f-objstrip