aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-11 18:02:55 +0000
committerNick Clifton <nickc@redhat.com>2003-02-11 18:02:55 +0000
commitdb6a5910645f4d680885702af2b3106d74e12315 (patch)
tree18e5ccf30c3ae8a11f2f23642df75664b914c877 /ld
parent033afc63777f6e1d89dde2445d774e783157b1b4 (diff)
downloadgdb-db6a5910645f4d680885702af2b3106d74e12315.zip
gdb-db6a5910645f4d680885702af2b3106d74e12315.tar.gz
gdb-db6a5910645f4d680885702af2b3106d74e12315.tar.bz2
Add new data anchors defenitions.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elf32msp430.sc4
-rw-r--r--ld/scripttempl/elf32msp430_3.sc4
3 files changed, 13 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c91f371..de11f83 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-11 Dmitry Diky <diwil@mail.ru>
+
+ * scripttempl/elf32msp430.sc: Add new data anchors defenitions.
+ * scripttempl/elf32msp430_3.sc: Likewise.
+
2003-02-11 Uwe Stieber <uwe@wwws.de>
* configure.tgt: Add support for kaOS as cross build target
diff --git a/ld/scripttempl/elf32msp430.sc b/ld/scripttempl/elf32msp430.sc
index 7636576..ba6e03f 100644
--- a/ld/scripttempl/elf32msp430.sc
+++ b/ld/scripttempl/elf32msp430.sc
@@ -184,5 +184,9 @@ SECTIONS
.debug_macinfo 0 : { *(.debug_macinfo) }
PROVIDE (__stack = ${STACK}) ;
+ PROVIDE (__data_start_rom = _etext) ;
+ PROVIDE (__data_end_rom = _etext + SIZEOF (.data)) ;
+ PROVIDE (__noinit_start_rom = _etext + SIZEOF (.data)) ;
+ PROVIDE (__noinit_end_rom = _etext + SIZEOF (.data) + SIZEOF (.noinit)) ;
}
EOF
diff --git a/ld/scripttempl/elf32msp430_3.sc b/ld/scripttempl/elf32msp430_3.sc
index 019e4b7..40259bf 100644
--- a/ld/scripttempl/elf32msp430_3.sc
+++ b/ld/scripttempl/elf32msp430_3.sc
@@ -153,5 +153,9 @@ SECTIONS
.debug_macinfo 0 : { *(.debug_macinfo) }
PROVIDE (__stack = ${STACK}) ;
+ PROVIDE (__data_start_rom = _etext) ;
+ PROVIDE (__data_end_rom = _etext + SIZEOF (.data)) ;
+ PROVIDE (__noinit_start_rom = _etext + SIZEOF (.data)) ;
+ PROVIDE (__noinit_end_rom = _etext + SIZEOF (.data) + SIZEOF (.noinit)) ;
}
EOF