summaryrefslogtreecommitdiff
path: root/ld/scripttempl
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
commit05d2bad9825a1846c9c3c64cefb60295b9274fad (patch)
treeaf62e80708f4a82b4c577f8e985f34d97dd10cc1 /ld/scripttempl
parent0f0746e185dcdeb16358758e559c77e72c87e6d5 (diff)
downloadbinutils-redhat-05d2bad9825a1846c9c3c64cefb60295b9274fad.tar.gz
PR ld/15037
* scripttempl/avr.sc (.eeprom): Keep it.
Diffstat (limited to 'ld/scripttempl')
-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 6ba987b5eb..10ac27f71b 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}