From: Nick Clifton Date: Wed, 23 Jan 2013 11:56:02 +0000 (+0000) Subject: PR ld/15037 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b176ded116acd2644ea3f7185ef53a192fa37722;p=binutils-gdb.git PR ld/15037 * scripttempl/avr.sc (.eeprom): Keep it. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 4992e1c56eb..d62950e077b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-01-23 Georg-Johann Lay + + PR ld/15037 + * scripttempl/avr.sc (.eeprom): Keep it. + 2013-01-23 Leif Ekblad * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c. diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc index 6ba987b5eb5..10ac27f71ba 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}