This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Linker: Define __data and __rdata for xstormy16
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: 18 Apr 2003 09:24:55 +0100
- Subject: Linker: Define __data and __rdata for xstormy16
Hi Guys,
Here is another small patch for the xstormy16 port. This time it
defines the __data and __rdata symbols for use by loaders.
Cheers
Nick
2003-04-18 Andrew Haley <aph at cambridge dot redhat dot com>
* scripttempl/xstormy16.sc (__data, __rdata): New.
Index: ld/scripttempl/xstormy16.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/xstormy16.sc,v
retrieving revision 1.4
diff -c -3 -p -w -r1.4 xstormy16.sc
*** ld/scripttempl/xstormy16.sc 16 Apr 2003 11:53:46 -0000 1.4
--- ld/scripttempl/xstormy16.sc 18 Apr 2003 08:23:15 -0000
*************** SECTIONS
*** 117,122 ****
--- 117,124 ----
{
.data ${RELOCATING-0} :
{
+ ${RELOCATING+__rdata = .;}
+ ${RELOCATING+__data = .;}
${RELOCATING+${DATA_START_SYMBOLS}}
*(.data)
${RELOCATING+*(.data.*)}