public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Commit: MSP430: Fix typo in MSP430 attribute section name
@ 2016-04-07 11:09 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2016-04-07 11:09 UTC (permalink / raw)
  To: binutils

Hi Guys,

  I am checking in the patch below to fix a typo in the naming of the
  MSP430 attribute section in the default MSP430 linker scripts.  The
  typo unfortunately meant the MSP430 attributes were not being merged
  correctly, which resulting in corrupt attributes in linked
  executables.

Cheers
  Nick

2016-04-07  Nick Clifton  <nickc@redhat.com>

	* scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
	section name.
	* scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.

diff --git a/ld/scripttempl/elf32msp430.sc b/ld/scripttempl/elf32msp430.sc
index 4650885..b0a6624 100644
--- a/ld/scripttempl/elf32msp430.sc
+++ b/ld/scripttempl/elf32msp430.sc
@@ -316,7 +316,7 @@ EOF
 source $srcdir/scripttempl/DWARF.sc
 
 cat <<EOF
-  .MP430.attributes 0 :
+  .MSP430.attributes 0 :
   {
     KEEP (*(.MSP430.attributes))
     KEEP (*(.gnu.attributes))
diff --git a/ld/scripttempl/elf32msp430_3.sc b/ld/scripttempl/elf32msp430_3.sc
index 7ad04e1..6c4ac15 100644
--- a/ld/scripttempl/elf32msp430_3.sc
+++ b/ld/scripttempl/elf32msp430_3.sc
@@ -183,7 +183,7 @@ SECTIONS
     ${RELOCATING+ _vectors_end = . ; }
   } ${RELOCATING+ > vectors}
 
-  .MP430.attributes 0 :
+  .MSP430.attributes 0 :
   {
     KEEP (*(.MSP430.attributes))
     KEEP (*(.gnu.attributes))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-07 11:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 11:09 Commit: MSP430: Fix typo in MSP430 attribute section name Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).