public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Commit: MSP430: Define __high_bsssize for .upper.bss
@ 2015-12-04 10:13 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2015-12-04 10:13 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-04 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-04 10:13 Commit: MSP430: Define __high_bsssize for .upper.bss Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).