update linkscripts for binutils 2.18.50

This commit is contained in:
Dave Murphy 2008-04-02 22:32:18 +00:00
parent e74e42e35d
commit 58cde20ec3
2 changed files with 11 additions and 13 deletions

View File

@ -144,6 +144,7 @@ SECTIONS
__dtcm_lma = . ;
__bss_vma = . ;
.dtcm __dtcm_start : AT (__dtcm_lma)
{
@ -151,7 +152,7 @@ SECTIONS
*(.dtcm.*)
. = ALIGN(4);
__dtcm_end = ABSOLUTE(.);
} >dtcm = 0xff
} >dtcm = 0xff
__itcm_lma = __dtcm_lma + SIZEOF(.dtcm);
@ -171,13 +172,11 @@ SECTIONS
*(.sbss)
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
__sbss_end = ABSOLUTE(.);
} >dtcm
} >dtcm
__bss_lma = __itcm_lma + SIZEOF(.itcm) ;
__appended_data = __itcm_lma + SIZEOF(.itcm) ;
.bss __bss_lma : AT (__bss_lma)
.bss __bss_vma (NOLOAD):
{
__bss_start = ABSOLUTE(.);
__bss_start__ = ABSOLUTE(.);
@ -188,12 +187,11 @@ SECTIONS
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
__bss_end = ABSOLUTE(.) ;
__bss_end__ = __bss_end ;
} >ewram
} AT>ewram
_end = . ;
__end__ = . ;
PROVIDE (end = _end);
_end = __bss_end__ ;
__end__ = __bss_end__ ;

View File

@ -173,7 +173,7 @@ SECTIONS
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
__bss_end = ABSOLUTE(.) ;
} >iwram
} AT>iwram
__bss_end__ = __bss_end ;
@ -227,9 +227,9 @@ SECTIONS
.iwram9 { *(.iwram9) . = ALIGN(4);}
}>iwram = 0xff
__ewram_lma = __load_stop_iwram9;
__iwram_overlay_end = . ;
__ewram_lma = __iwram_overlay_lma + (__iwram_overlay_end - __iwram_overlay_start) ;
__iheap_start = . ;
__ewram_start = ORIGIN(ewram);
@ -247,7 +247,7 @@ SECTIONS
*(.sbss)
. = ALIGN(4);
__sbss_end = ABSOLUTE(.);
} >ewram
} AT>ewram
__ewram_end = __sbss_end ;