This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Commit: MSP430: Define __high_bsssize for .upper.bss
- From: Nick Clifton <nickc at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 04 Dec 2015 10:13:27 +0000
- Subject: Commit: MSP430: Define __high_bsssize for .upper.bss
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am checking in the patch below to update a previous fix for the
msp430xl-sim.ld linker script. The symbol__high_bsssize needs to be
defined by the script, not just provided by it, as otherwise the
startup code will not accept it.
Cheers
Nick
libgloss/ChangeLog
2015-12-04 Nick Clifton <nickc@redhat.com>
* msp430/msp430xl-sim.ld (__high_bsssize): Define.
diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld
index 0cd9d3f..c0f5a1f 100644
--- a/libgloss/msp430/msp430xl-sim.ld
+++ b/libgloss/msp430/msp430xl-sim.ld
@@ -317,7 +317,7 @@ SECTIONS
. = ALIGN(2);
__high_bssend = .;
} > HIFRAM
- PROVIDE (__high_bsssize = SIZEOF(.upper.bss));
+ __high_bsssize = SIZEOF(.upper.bss);
/* We create this section so that "end" will always be in the
HIFRAM region (matching .stack below), even if the .upper.bss