Try to remove .shstrtab, .strtab and .symtab sections. This does not seem to

work with objcopy.
This commit is contained in:
Markus F.X.J. Oberhumer
2006-11-23 03:31:43 +01:00
parent 08f8e55446
commit a62fc3abff
+1
View File
@@ -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,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) -Dr $(tc_objdump_disasm_options) $1 | $(RTRIM) > $1.disasm
$(call tc,objdump) -htr -w $1 | $(BLSQUEEZE) > $1.dump $(call tc,objdump) -htr -w $1 | $(BLSQUEEZE) > $1.dump
$(call tc,objcopy) -R .shstrtab -R .strtab -R .symtab $1
cat $1.dump >> $1 cat $1.dump >> $1
endef endef
define tc.default.f-objstrip define tc.default.f-objstrip