Commit: MSP430: Remove spurious LONG(0) from linker script

Nick Clifton nickc@redhat.com
Thu Mar 10 10:37:00 GMT 2016


Hi Guys,

  I am checking in the patch below to remove a bogus LONG(0) declaration
  from the MSP430's built in linker script.  The value used to be used
  as a sentinel, but it is no longer needed and now just wastes space.

Cheers
  Nick

ld/ChangeLog
2016-03-10  Nick Clifton  <nickc@redhat.com>

	* scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).

diff --git a/ld/scripttempl/elf32msp430.sc b/ld/scripttempl/elf32msp430.sc
index 50b7ddb..4650885 100644
--- a/ld/scripttempl/elf32msp430.sc
+++ b/ld/scripttempl/elf32msp430.sc
@@ -210,7 +210,6 @@ SECTIONS
     KEEP (*(.fini_array))
     KEEP (*(SORT(.fini_array.*)))
     PROVIDE (__fini_array_end = .);
-    LONG(0); /* Sentinel.  */
 
     /* gcc uses crtbegin.o to find the start of the constructors, so
        we make sure it is first.  Because this is a wildcard, it



More information about the Binutils mailing list