summaryrefslogtreecommitdiff
path: root/openpicc/config
diff options
context:
space:
mode:
authormeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-21 04:56:51 +0000
committermeri <meri@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2007-11-21 04:56:51 +0000
commiteb09700e7855e10b8e050acfbb93a2f1152cc2da (patch)
tree3c1b793aee1d52a027afac3a75f94c67b0cb6ec7 /openpicc/config
parent616746c2e01a0425a9fc62d24153d88079f0daac (diff)
updated linker file
git-svn-id: https://svn.openpcd.org:2342/trunk@337 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/config')
-rw-r--r--openpicc/config/atmel-rom.ld22
1 files changed, 6 insertions, 16 deletions
diff --git a/openpicc/config/atmel-rom.ld b/openpicc/config/atmel-rom.ld
index 8ea6c68..deff929 100644
--- a/openpicc/config/atmel-rom.ld
+++ b/openpicc/config/atmel-rom.ld
@@ -25,30 +25,20 @@ SECTIONS
.data :
{
- __data_beg__ = .;
- __data_beg_src__ = __end_of_text__;
- *(.data)
- *(.data.*)
*(.fastrun)
*(.ramfunc)
+
+ __data_beg__ = .; __data_beg_src__ = __end_of_text__;
+ *(.data)
+ *(.data.*)
__data_end__ = .;
- } >ram AT>flash
- .bss :
- {
__bss_beg__ = .;
*(.bss)
*(.bss.*)
+ . = ALIGN(32 / 8);
+ _end = . ; _bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
} >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 = .);
personal git repositories of Harald Welte. Your mileage may vary