This is the mail archive of the
newlib-cvs@sourceware.org
mailing list for the newlib project.
[newlib-cygwin] Fix initialisation of .upper.bss for the MSP430.
- From: Nick Clifton <nickc at sourceware dot org>
- To: newlib-cvs at sourceware dot org
- Date: 23 Nov 2015 09:00:57 -0000
- Subject: [newlib-cygwin] Fix initialisation of .upper.bss for the MSP430.
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c70d8f454a3639602296f57e247013e4c82a4857
commit c70d8f454a3639602296f57e247013e4c82a4857
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Nov 23 09:00:23 2015 +0000
Fix initialisation of .upper.bss for the MSP430.
* msp430/msp430xl-sim.ld (__high_bsssize): Define.
Diff:
---
libgloss/ChangeLog | 4 ++++
libgloss/msp430/msp430xl-sim.ld | 1 +
2 files changed, 5 insertions(+)
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index a3bc8ed..d5d9dbc 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-23 Nick Clifton <nickc@redhat.com>
+
+ * msp430/msp430xl-sim.ld (__high_bsssize): Define.
+
2015-11-12 Anton Kolesov <Anton.Kolesov@synopsys.com>
* configure: Add ARC support.
diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld
index 71e4543..0cd9d3f 100644
--- a/libgloss/msp430/msp430xl-sim.ld
+++ b/libgloss/msp430/msp430xl-sim.ld
@@ -317,6 +317,7 @@ SECTIONS
. = ALIGN(2);
__high_bssend = .;
} > HIFRAM
+ PROVIDE (__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