]>
Commit | Line | Data |
---|---|---|
3ccd393f | 1 | diff -ruwN ld/scripttempl/avr.sc ld/scripttempl/avr.sc |
c66cb070 | 2 | --- ld/scripttempl/avr.sc 2009-10-09 18:42:35.000000000 +0530 |
3ccd393f | 3 | +++ ld/scripttempl/avr.sc 2010-03-11 12:26:00.563046000 +0530 |
c66cb070 | 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) } |