This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]