diff mbox

Commit: MSP430: Define __high_bsssize for .upper.bss

Message ID 87a8pqwmgo.fsf@redhat.com
State New
Headers show

Commit Message

Nick Clifton Dec. 4, 2015, 10:13 a.m. UTC
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.


2015-12-04  Nick Clifton  <nickc@redhat.com>

	* msp430/msp430xl-sim.ld (__high_bsssize): Define.
diff mbox


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