PR ld/15037
authorNick Clifton <nickc@redhat.com>
Wed, 23 Jan 2013 11:56:02 +0000 (11:56 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 23 Jan 2013 11:56:02 +0000 (11:56 +0000)
* scripttempl/avr.sc (.eeprom): Keep it.

ld/ChangeLog
ld/scripttempl/avr.sc

index 4992e1c..d62950e 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR ld/15037
+       * scripttempl/avr.sc (.eeprom): Keep it.
+
 2013-01-23  Leif Ekblad  <leif@rdos.net>
 
        * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
index 6ba987b..10ac27f 100644 (file)
@@ -198,7 +198,8 @@ SECTIONS
 
   .eeprom ${RELOCATING-0}:
   {
-    *(.eeprom*)
+    /* See .data above...  */
+    KEEP(*(.eeprom*))
     ${RELOCATING+ __eeprom_end = . ; }
   } ${RELOCATING+ > eeprom}