This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: MSP430: Remove spurious LONG(0) from linker script
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Thu, 10 Mar 2016 10:37:00 +0000
- Subject: Commit: MSP430: Remove spurious LONG(0) from linker script
- Authentication-results: sourceware.org; auth=none
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