This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]: Define eeprom region in HC12 linker script
- From: Stephane Carrez <stcarrez at nerim dot fr>
- To: binutils at sources dot redhat dot com
- Date: Mon, 27 Oct 2003 11:13:49 +0100
- Subject: [PATCH]: Define eeprom region in HC12 linker script
Hi!
Committed this patch to define eeprom memory region in HC12 linker script
(solves failure of LD link-hcs12 test).
Stephane
2003-10-27 Stephane Carrez <stcarrez@nerim.fr>
* scripttempl/elfm68hc12.sc: Define eeprom memory region.
Index: scripttempl/elfm68hc12.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfm68hc12.sc,v
retrieving revision 1.12
diff -u -p -r1.12 elfm68hc12.sc
--- scripttempl/elfm68hc12.sc 29 Jul 2003 20:17:17 -0000 1.12
+++ scripttempl/elfm68hc12.sc 27 Oct 2003 10:09:51 -0000
@@ -87,6 +87,7 @@ MEMORY
page0 (rwx) : ORIGIN = 0x0, LENGTH = 256
text (rx) : ORIGIN = ${ROM_START_ADDR}, LENGTH = ${ROM_SIZE}
data : ORIGIN = ${RAM_START_ADDR}, LENGTH = ${RAM_SIZE}
+ eeprom : ORIGIN = ${EEPROM_START_ADDR}, LENGTH = ${EEPROM_SIZE}
}
/* Setup the stack on the top of the data memory bank. */