]> git.pld-linux.org Git - packages/crossavr-binutils.git/blame - crossavr-binutils-new-sections.patch
- updated to 2.21
[packages/crossavr-binutils.git] / crossavr-binutils-new-sections.patch
CommitLineData
c66cb070 1diff -ruw ld/scripttempl/avr.sc ld/scripttempl/avr.sc
2--- ld/scripttempl/avr.sc 2009-10-09 18:42:35.000000000 +0530
3+++ ld/scripttempl/avr.sc 2010-02-12 20:09:24.070812400 +0530
4@@ -7,6 +7,9 @@
5 text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
6 data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
7 eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
997dccbb 8+ fuse (rw!x) : ORIGIN = 0x820000, LENGTH = 1K
9+ lock (rw!x) : ORIGIN = 0x830000, LENGTH = 1K
10+ signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K
11 }
12
13 SECTIONS
c66cb070 14@@ -196,6 +199,24 @@
997dccbb 15 ${RELOCATING+ __eeprom_end = . ; }
16 } ${RELOCATING+ > eeprom}
17
18+ .fuse ${RELOCATING-0}:
19+ {
20+ KEEP(*(.fuse))
21+ KEEP(*(.lfuse))
22+ KEEP(*(.hfuse))
23+ KEEP(*(.efuse))
24+ } ${RELOCATING+ > fuse}
25+
26+ .lock ${RELOCATING-0}:
27+ {
28+ KEEP(*(.lock*))
29+ } ${RELOCATING+ > lock}
30+
31+ .signature ${RELOCATING-0}:
32+ {
33+ KEEP(*(.signature*))
34+ } ${RELOCATING+ > signature}
35+
36 /* Stabs debugging sections. */
37 .stab 0 : { *(.stab) }
38 .stabstr 0 : { *(.stabstr) }
This page took 0.123603 seconds and 4 git commands to generate.