aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
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/scripttempl
parent033afc63777f6e1d89dde2445d774e783157b1b4 (diff)
downloadgdb-db6a5910645f4d680885702af2b3106d74e12315.zip
gdb-db6a5910645f4d680885702af2b3106d74e12315.tar.gz
gdb-db6a5910645f4d680885702af2b3106d74e12315.tar.bz2
Add new data anchors defenitions.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf32msp430.sc4
-rw-r--r--ld/scripttempl/elf32msp430_3.sc4
2 files changed, 8 insertions, 0 deletions
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