summaryrefslogtreecommitdiff
path: root/devel/avr-binutils/files/patch-newsections
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2010-03-04 13:38:30 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2010-03-04 13:38:30 +0000
commit0c3e719d750fa615e71fea1a8f6c69ce67ae39c7 (patch)
tree9d825dab9a6cbdef8ff3b7f4edb0677583f98ceb /devel/avr-binutils/files/patch-newsections
parentUpdate to Mercurial 1.4.3. (diff)
Upgrade to GNU binutils 2.20, including patches from WinAVR 20100110.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=250557
Diffstat (limited to 'devel/avr-binutils/files/patch-newsections')
-rw-r--r--devel/avr-binutils/files/patch-newsections21
1 files changed, 8 insertions, 13 deletions
diff --git a/devel/avr-binutils/files/patch-newsections b/devel/avr-binutils/files/patch-newsections
index a9390104a7c2..f14f04d960de 100644
--- a/devel/avr-binutils/files/patch-newsections
+++ b/devel/avr-binutils/files/patch-newsections
@@ -1,22 +1,17 @@
---- ld/scripttempl/avr.sc.old 2007-09-14 06:32:02.437500000 -0600
-+++ ld/scripttempl/avr.sc 2007-09-14 06:50:28.854125000 -0600
-@@ -4,9 +4,12 @@ OUTPUT_ARCH(${ARCH})
-
- MEMORY
- {
-- text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
-- data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
-- eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
-+ text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
-+ data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
-+ eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
+diff -ruw ld/scripttempl/avr.sc ld/scripttempl/avr.sc
+--- ld/scripttempl/avr.sc 2009-10-09 18:42:35.000000000 +0530
++++ ld/scripttempl/avr.sc 2010-02-12 20:09:24.070812400 +0530
+@@ -7,6 +7,9 @@
+ text (rx) : ORIGIN = 0, LENGTH = $TEXT_LENGTH
+ data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH
+ eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
+ fuse (rw!x) : ORIGIN = 0x820000, LENGTH = 1K
+ lock (rw!x) : ORIGIN = 0x830000, LENGTH = 1K
+ signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K
}
SECTIONS
-@@ -196,6 +199,24 @@ SECTIONS
+@@ -196,6 +199,24 @@
${RELOCATING+ __eeprom_end = . ; }
} ${RELOCATING+ > eeprom}