Bug 15037 - avr-patches/binutils/504-binutils-avrtc530-backported.patch
Summary: avr-patches/binutils/504-binutils-avrtc530-backported.patch
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.24
: P2 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 04:24 UTC by C Rempel
Modified: 2013-01-23 11:56 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
AVR EEPROM PATCH (486 bytes, patch)
2013-01-19 04:24 UTC, C Rempel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description C Rempel 2013-01-19 04:24:42 UTC
Created attachment 6824 [details]
AVR EEPROM PATCH

I really appreciate all your help!
It looks like the first half of the ATMEL patch has already been applied, but not the second half...

--- ld/scripttempl/avr.sc       2011-03-22 01:37:42.000000000 +0530
+++ ld/scripttempl/avr.sc       2012-07-24 12:13:29.000000000 +0530
@@ -195,7 +198,7 @@ SECTIONS
   .eeprom ${RELOCATING-0}:
   {
-    *(.eeprom*)
+    KEEP(*(.eeprom*))
     ${RELOCATING+ __eeprom_end = . ; }
   } ${RELOCATING+ > eeprom}
Comment 1 Sourceware Commits 2013-01-23 11:56:06 UTC
CVSROOT:	/cvs/src
Module name:	src
Changes by:	nickc@sourceware.org	2013-01-23 11:56:03

Modified files:
	ld             : ChangeLog 
	ld/scripttempl : avr.sc 

Log message:
	PR ld/15037
	* scripttempl/avr.sc (.eeprom): Keep it.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2543&r2=1.2544
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/avr.sc.diff?cvsroot=src&r1=1.14&r2=1.15
Comment 2 Nick Clifton 2013-01-23 11:56:51 UTC
Sorry about that.  I have committed the remaining part of the patch.