minor clean up for Xtensa linker scripts

Bob Wilson bwilson@tensilica.com
Tue Oct 7 23:33:00 GMT 2003


This patch fixes the Xtensa linker scripts to set the output section addresses 
to zero for relocatable links.  I'm not actually aware of anything that 
breaks without this patch, but it seems like the right thing to do.  Tested 
by running the ld testsuite and building gcc's libraries and glibc for an 
xtensa-linux target.  Committed on the mainline.

2003-10-07  Bob Wilson  <bob.wilson@acm.org>

	* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
	OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
	zero for relocatable links.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: elf32xtensa.sh.diff
Type: text/x-diff
Size: 1186 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20031007/e2638da8/attachment.bin>


More information about the Binutils mailing list