From db6a5910645f4d680885702af2b3106d74e12315 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 11 Feb 2003 18:02:55 +0000 Subject: [PATCH] Add new data anchors defenitions. --- ld/ChangeLog | 5 +++++ ld/scripttempl/elf32msp430.sc | 4 ++++ ld/scripttempl/elf32msp430_3.sc | 4 ++++ 3 files changed, 13 insertions(+) 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 + + * scripttempl/elf32msp430.sc: Add new data anchors defenitions. + * scripttempl/elf32msp430_3.sc: Likewise. + 2003-02-11 Uwe Stieber * 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 -- 2.7.4