Fix non-GNU style in previous commits
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Wed, 24 Jul 2019 21:37:29 +0000 (21:37 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Wed, 24 Jul 2019 21:37:29 +0000 (21:37 +0000)
2019-07-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* config.gcc (msp430*-*-*): Fix non-GNU style in r273774.
* config/msp430/msp430.h (ENDFILE_SPEC): Fix non-GNU style in
r273773.

From-SVN: r273775

gcc/ChangeLog
gcc/config.gcc
gcc/config/msp430/msp430.h

index 8afc61ded72ea97f824ebd20e64f005354cbde68..ae78a75ce3c14eaffe726db95eee64b4fcf94ec3 100644 (file)
@@ -1,3 +1,9 @@
+2019-07-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * config.gcc (msp430*-*-*): Fix non-GNU style in r273774.
+       * config/msp430/msp430.h (ENDFILE_SPEC): Fix non-GNU style in
+       r273773.
+
 2019-07-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
 
        * config.gcc (msp430*-*-*): Enable initfini_array by default unless
index 76c0cb3674c43c909a97c92917dbaf1a447cbfb0..dfff112294054893351f234a5a4ea531997c68be 100644 (file)
@@ -2513,8 +2513,8 @@ msp430*-*-*)
        tmake_file="${tmake_file} msp430/t-msp430"
        extra_gcc_objs="driver-msp430.o"
        # Enable .init_array unless it has been explicitly disabled.
-       # The MSP430 EABI mandates the use of .init_array, and the Newlib CRT code
-       # since mid-2019 expects it.
+       # The MSP430 EABI mandates the use of .init_array, and the Newlib CRT
+       # code since mid-2019 expects it.
        if test x${disable_initfini_array} != xyes; then
                gcc_cv_initfini_array=yes
        fi
index ca7cf20e1d7fdab799ddfe04afb19e6271474184..f952d15e7ffdf4798a540a5893ab09ac82a8d4da 100644 (file)
@@ -49,7 +49,8 @@ extern bool msp430x;
 
 /* -lgcc is included because crtend.o needs __mspabi_func_epilog_1.  */
 #undef  ENDFILE_SPEC
-#define ENDFILE_SPEC "%{!minrt:crtend.o%s} %{minrt:%:if-exists(crtn-minrt.o%s)}%{!minrt:%:if-exists(crtn.o%s)} -lgcc"
+#define ENDFILE_SPEC "%{!minrt:crtend.o%s} " \
+  "%{minrt:%:if-exists(crtn-minrt.o%s)}%{!minrt:%:if-exists(crtn.o%s)} -lgcc"
 
 #define ASM_SPEC "-mP " /* Enable polymorphic instructions.  */ \
   "%{mcpu=*:-mcpu=%*}%{!mcpu=*:%{mmcu=*:-mmcu=%*}} " /* Pass the CPU type on to the assembler.  */ \