diff options
Diffstat (limited to 'ld/scripttempl/elf32msp430.sc')
-rw-r--r-- | ld/scripttempl/elf32msp430.sc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ld/scripttempl/elf32msp430.sc b/ld/scripttempl/elf32msp430.sc index 65105e5..6fb7b3a 100644 --- a/ld/scripttempl/elf32msp430.sc +++ b/ld/scripttempl/elf32msp430.sc @@ -279,18 +279,23 @@ SECTIONS *(.either.bss.* .either.bss) *(COMMON) ${RELOCATING+ PROVIDE (__bss_end = .) ; } - ${RELOCATING+ _end = . ; } } ${RELOCATING+ > data} .noinit ${RELOCATING+ SIZEOF(.bss) + ADDR(.bss)} : { ${RELOCATING+ PROVIDE (__noinit_start = .) ; } *(.noinit) - *(COMMON) ${RELOCATING+ PROVIDE (__noinit_end = .) ; } - ${RELOCATING+ _end = . ; } } ${RELOCATING+ > data} + .persistent ${RELOCATING+ SIZEOF(.noinit) + ADDR(.noinit)} : + { + ${RELOCATING+ PROVIDE (__persistent_start = .) ; } + *(.persistent) + ${RELOCATING+ PROVIDE (__persistent_end = .) ; } + } ${RELOCATING+ > data} + + ${RELOCATING+ _end = . ; } ${HEAP_SECTION_MSP430} /* Stabs for profiling information*/ |