This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Remove spurious LONG(0) from linker script


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


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