h8300 elf linker script
Joel Sherrill
joel.sherrill@oarcorp.com
Mon Oct 23 18:06:00 GMT 2006
Is this the problem I encountered a back here:
http://sourceware.org/ml/binutils/2006-08/msg00178.html
--joel
Alan Modra wrote:
> * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
> set section address on a relocatable link.
>
> Index: ld/emulparams/h8300elf.sh
> ===================================================================
> RCS file: /cvs/src/src/ld/emulparams/h8300elf.sh,v
> retrieving revision 1.4
> diff -u -p -r1.4 h8300elf.sh
> --- ld/emulparams/h8300elf.sh 7 Sep 2006 17:01:10 -0000 1.4
> +++ ld/emulparams/h8300elf.sh 23 Oct 2006 03:00:12 -0000
> @@ -14,12 +14,12 @@ TINY_READONLY_SECTION=".tinyrodata :
> {
> *(.tinyrodata)
> } =0"
> -TINY_DATA_SECTION=".tinydata 0xff8000 :
> +TINY_DATA_SECTION=".tinydata ${RELOCATING+0xff8000} :
> {
> *(.tinydata)
> ${RELOCATING+ _tinydata = .; }
> }"
> -TINY_BSS_SECTION=".tinybss : AT (_tinydata)
> +TINY_BSS_SECTION=".tinybss : ${RELOCATING+AT (_tinydata)}
> {
> *(.tinybss)
> }"
>
>
More information about the Binutils
mailing list