X-Git-Url: https://git.cryptolib.org/?p=arm-crypto-lib.git;a=blobdiff_plain;f=lm3s9b90.ld;h=36ef54162bfbc2af5270d4b7b235d0778b840c9c;hp=8672a932e8e2d7d9f5cba925ad85f61897c2d4e3;hb=257ce629ccb9d28193912b855322c91408fd19a7;hpb=f59c19cdaa2b415ea72a30083ee7df085c2a6ae9 diff --git a/lm3s9b90.ld b/lm3s9b90.ld index 8672a93..36ef541 100644 --- a/lm3s9b90.ld +++ b/lm3s9b90.ld @@ -26,14 +26,28 @@ SECTIONS { .text : { _text = .; KEEP(*(.isr_vectors)) - *(.init*) - *(.fini*) *(.text*) *(.rodata*) - _text_end = .; } > flash + /* .ARM.exidx is sorted, so has to go in its own output section. +*/ + .ARM.exidx : { + __exidx_start = .; + *(.ARM.exidx* .gnu.linkonce.armexidx.*) + __exidx_end = .; + } > flash + + . = ALIGN(4); + .ARM.extab : { + __extab_start = .; + *(.ARM.extab* .gnu.linkonce.armextab.*) + __extab_end = .; + } > flash + + . = ALIGN(4); - .data : AT ( ADDR(.text) + SIZEOF(.text) ) { + _text_end = .; + .data : AT ( ADDR(.ARM.extab) + SIZEOF(.ARM.extab) ) { _data = .; *(.data*) _data_end = .; @@ -41,11 +55,9 @@ SECTIONS { .bss : AT ( ADDR(.data) + SIZEOF(.data) ) { _bss = .; - __bss_start__ = .; *(.bss*) *(COMMON) _bss_end = .; - __bss_end__ = .; } > ram end = .; }