Commit 378a578a by Jozef Lawrynowicz Committed by Jozef Lawrynowicz

Fix non-GNU style in previous commits

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
parent c46d1717
2019-07-24 Jozef Lawrynowicz <jozef.l@mittosystems.com> 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 * config.gcc (msp430*-*-*): Enable initfini_array by default unless
explicitly disabled with --disable-initfini-array. explicitly disabled with --disable-initfini-array.
......
...@@ -2513,8 +2513,8 @@ msp430*-*-*) ...@@ -2513,8 +2513,8 @@ msp430*-*-*)
tmake_file="${tmake_file} msp430/t-msp430" tmake_file="${tmake_file} msp430/t-msp430"
extra_gcc_objs="driver-msp430.o" extra_gcc_objs="driver-msp430.o"
# Enable .init_array unless it has been explicitly disabled. # Enable .init_array unless it has been explicitly disabled.
# The MSP430 EABI mandates the use of .init_array, and the Newlib CRT code # The MSP430 EABI mandates the use of .init_array, and the Newlib CRT
# since mid-2019 expects it. # code since mid-2019 expects it.
if test x${disable_initfini_array} != xyes; then if test x${disable_initfini_array} != xyes; then
gcc_cv_initfini_array=yes gcc_cv_initfini_array=yes
fi fi
......
...@@ -49,7 +49,8 @@ extern bool msp430x; ...@@ -49,7 +49,8 @@ extern bool msp430x;
/* -lgcc is included because crtend.o needs __mspabi_func_epilog_1. */ /* -lgcc is included because crtend.o needs __mspabi_func_epilog_1. */
#undef ENDFILE_SPEC #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. */ \ #define ASM_SPEC "-mP " /* Enable polymorphic instructions. */ \
"%{mcpu=*:-mcpu=%*}%{!mcpu=*:%{mmcu=*:-mmcu=%*}} " /* Pass the CPU type on to the assembler. */ \ "%{mcpu=*:-mcpu=%*}%{!mcpu=*:%{mmcu=*:-mmcu=%*}} " /* Pass the CPU type on to the assembler. */ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment