aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/avr.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-23 11:56:02 +0000
committerNick Clifton <nickc@redhat.com>2013-01-23 11:56:02 +0000
commitb176ded116acd2644ea3f7185ef53a192fa37722 (patch)
treef8090c89d1bdabe3d692219edc85f5741dc9a71c /ld/scripttempl/avr.sc
parenta6dea726b0f30bee96e25711fd37e493979842ba (diff)
downloadgdb-b176ded116acd2644ea3f7185ef53a192fa37722.zip
gdb-b176ded116acd2644ea3f7185ef53a192fa37722.tar.gz
gdb-b176ded116acd2644ea3f7185ef53a192fa37722.tar.bz2
PR ld/15037
* scripttempl/avr.sc (.eeprom): Keep it.
Diffstat (limited to 'ld/scripttempl/avr.sc')
-rw-r--r--ld/scripttempl/avr.sc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc
index 6ba987b..10ac27f 100644
--- a/ld/scripttempl/avr.sc
+++ b/ld/scripttempl/avr.sc
@@ -198,7 +198,8 @@ SECTIONS
.eeprom ${RELOCATING-0}:
{
- *(.eeprom*)
+ /* See .data above... */
+ KEEP(*(.eeprom*))
${RELOCATING+ __eeprom_end = . ; }
} ${RELOCATING+ > eeprom}