2008-11-20 Daron Chabot <daronchabot@gmail.com>

PR 1337/bsps
	* custom/pc386.cfg: Stripping .rodata section produces unusable
	executables for the i386-rtems target.
This commit is contained in:
Joel Sherrill
2008-11-20 15:26:37 +00:00
parent 7741d7c8cc
commit 1b5e5524e6
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2008-11-20 Daron Chabot <daronchabot@gmail.com>
PR 1337/bsps
* custom/pc386.cfg: Stripping .rodata section produces unusable
executables for the i386-rtems target.
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am: Add h8sxsim BSP variant.

View File

@@ -49,7 +49,6 @@ LDFLAGS += -Wl,-Ttext,$(RELOCADDR)
define bsp-post-link
$(default-bsp-post-link)
$(OBJCOPY) -O elf32-i386 \
--remove-section=.rodata \
--remove-section=.comment \
--remove-section=.note \
--strip-unneeded $(basename $@).exe $(basename $@).nxe