This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Commit: MSP430: Remove spurious LONG(0) directives in linker scripts
- From: Nick Clifton <nickc at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 10 Mar 2016 10:40:54 +0000
- Subject: Commit: MSP430: Remove spurious LONG(0) directives in linker scripts
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am applying the patch below to remove bogus declarations of LONG(0)
from the .rodata section in MSP430 linker scripts. This value used to
be used as a sentinel, but it is no longer needed and now just wastes
space.
Cheers
Nick
diff --git a/libgloss/msp430/msp430-sim.ld b/libgloss/msp430/msp430-sim.ld
index 3e80860..62ea232 100644
--- a/libgloss/msp430/msp430-sim.ld
+++ b/libgloss/msp430/msp430-sim.ld
@@ -54,7 +54,6 @@ SECTIONS
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
} > RAM
diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld
index c0f5a1f..52b139b 100644
--- a/libgloss/msp430/msp430xl-sim.ld
+++ b/libgloss/msp430/msp430xl-sim.ld
@@ -79,7 +79,6 @@ SECTIONS
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
PROVIDE (__fini_array_end = .);
- LONG(0); /* Sentinel. */
} > ROM