From ab151a8798dc7a2e1b5ea878a767b3157393eb6e Mon Sep 17 00:00:00 2001 From: henryk Date: Wed, 21 Nov 2007 05:39:56 +0000 Subject: Revert to revision 336 git-svn-id: https://svn.openpcd.org:2342/trunk@340 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpicc/config/atmel-rom.ld | 52 +++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'openpicc/config') 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 = .); + -- cgit v1.2.3