This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

Commit: MSP430: Define __high_bsssize for .upper.bss


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


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