diff options
Diffstat (limited to 'openpicc')
-rw-r--r-- | openpicc/config/atmel-rom.ld | 52 |
1 files changed, 27 insertions, 25 deletions
diff --git a/openpicc/config/atmel-rom.ld b/openpicc/config/atmel-rom.ld index aa5bbbc..8ea6c68 100644 --- a/openpicc/config/atmel-rom.ld +++ b/openpicc/config/atmel-rom.ld @@ -23,30 +23,32 @@ SECTIONS __end_of_text__ = .; - .data : - { - __data_beg__ = .; - __data_beg_src__ = __end_of_text__; - *(.data) - *(.data.*) - *(.ramfunc) - __data_end__ = .; - } >ram AT>flash - - .bss : - { - __bss_beg__ = .; - *(.bss) - *(.bss.*) - } >ram - - /* Align here to ensure that the .bss section occupies space up to - _end. Align after .bss to ensure correct alignment even if the - .bss section disappears because there are no input sections. */ - . = ALIGN(32 / 8); + .data : + { + __data_beg__ = .; + __data_beg_src__ = __end_of_text__; + *(.data) + *(.data.*) + *(.fastrun) + *(.ramfunc) + __data_end__ = .; + } >ram AT>flash + + .bss : + { + __bss_beg__ = .; + *(.bss) + *(.bss.*) + } >ram + + /* Align here to ensure that the .bss section occupies space up to + _end. Align after .bss to ensure correct alignment even if the + .bss section disappears because there are no input sections. */ + . = ALIGN(32 / 8); } - . = ALIGN(32 / 8); - _end = .; - _bss_end__ = . ; __bss_end__ = . ; __end__ = . ; - PROVIDE (end = .); + . = ALIGN(32 / 8); + _end = .; + _bss_end__ = . ; __bss_end__ = . ; __end__ = . ; + PROVIDE (end = .); + |