This is the mail archive of the binutils-cvs@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]

[binutils-gdb] Remove bogus LONG(0) from MSP430 built in linker script.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=878a68773b9d7fe770374677e099cde02449d62a

commit 878a68773b9d7fe770374677e099cde02449d62a
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Mar 10 10:37:19 2016 +0000

    Remove bogus LONG(0) from MSP430 built in linker script.
    
    ld	* scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).

Diff:
---
 ld/ChangeLog                  | 4 ++++
 ld/scripttempl/elf32msp430.sc | 1 -
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index f29a3ab..a9869f1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2016-03-10  Nick Clifton  <nickc@redhat.com>
+
+	* scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
+
 2016-03-09  Pedro Alves  <palves@redhat.com>
 
 	* scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
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]