Fix for xstormy16 linker script
Nick Clifton
nickc@redhat.com
Wed Sep 29 16:45:00 GMT 2004
Hi Guys
I am applying the attached patch to fix the linker script used by
the xstormy16 port. It had a problem in that the version of the
script used when a relocatable link was being performed included
assignments to memory regions. This does not work for any region
which does not include address 0, since all (relocatable) sections
are assigned to address 0.
Cheers
Nick
ld/ChangeLog
2004-09-29 Nick Clifton <nickc@redhat.com>
* scripttempl/xstormy16.sc: Only perform the assignments to the
ROM region when not performing a relocatable link. The ROM region
does not start at address 0, but the sections will.
* Makefile.am: Fix linker script dependency for the generation of
eelf32xstormy16.c.
* Makefile.in: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xstormy16.ld.patch
Type: text/x-patch
Size: 3899 bytes
Desc: Fix relocatable linker script for xstormy16
URL: <https://sourceware.org/pipermail/binutils/attachments/20040929/2217f7c1/attachment.bin>
More information about the Binutils
mailing list