This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Commit: MSP430: Add spaces after options inserted by ASM_SPEC
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 22 May 2014 16:08:21 +0100
- Subject: Commit: MSP430: Add spaces after options inserted by ASM_SPEC
- Authentication-results: sourceware.org; auth=none
Hi Guys,
I am applying the patch below (to mainline and the 4.9 branch) to fix
a small bug in the definition of ASM_SPEC for the MSP430. The problem
was that there were no spaces between some of the options that could
be inserted into the assembler command line, which could produce
unintelligible options.
Cheers
Nick
gcc/ChangeLog
2014-05-22 Nick Clifton <nickc@redhat.com>
* config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted
options.
Index: gcc/config/msp430/msp430.h
===================================================================
--- gcc/config/msp430/msp430.h (revision 210807)
+++ gcc/config/msp430/msp430.h (working copy)
@@ -55,8 +55,8 @@
"%{mcpu=*:-mcpu=%*}%{!mcpu=*:%{mmcu=*:-mmcu=%*}} " /* Pass the CPU type on to the assembler. */ \
"%{mrelax=-mQ} " /* Pass the relax option on to the assembler. */ \
"%{mlarge:-ml} " /* Tell the assembler if we are building for the LARGE pointer model. */ \
- "%{!msim:-md} %{msim:%{mlarge:-md}}" /* Copy data from ROM to RAM if necessary. */ \
- "%{ffunction-sections:-gdwarf-sections}" /* If function sections are being created then create DWARF line number sections as well. */
+ "%{!msim:-md} %{msim:%{mlarge:-md}} " /* Copy data from ROM to RAM if necessary. */ \
+ "%{ffunction-sections:-gdwarf-sections} " /* If function sections are being created then create DWARF line number sections as well. */
/* Enable linker section garbage collection by default, unless we
are creating a relocatable binary (gc does not work) or debugging