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 4992e1c56eb5f2b402f461b27d281ac6b60102f7..d62950e077b36416e8e60e37f8f3ead404c7ae5f 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 6ba987b5eb5ced926585b6ddb069c95398aff99c..10ac27f71ba61bfa8f889040d4e2895ecde4d76c 100644 (file)
@@ -198,7 +198,8 @@ SECTIONS
 
   .eeprom ${RELOCATING-0}:
   {
-    *(.eeprom*)
+    /* See .data above...  */
+    KEEP(*(.eeprom*))
     ${RELOCATING+ __eeprom_end = . ; }
   } ${RELOCATING+ > eeprom}