MSP430: Don't pass redundant -md option to the assembler

The MSP430 GAS option "-md" is supposed to indicate that the CRT startup
code should copy data from ROM to RAM at startup. However, this option
has no effect; GAS handles the related behaviour automatically.

gcc/ChangeLog:

	* config/msp430/msp430.h (ASM_SPEC): Don't pass on "-md" option.
This commit is contained in:
Jozef Lawrynowicz 2020-08-03 15:54:52 +01:00
parent d1773f58f3
commit cc8c004974

View file

@ -65,8 +65,6 @@ extern bool msp430x;
"%{mrelax=-mQ} " /* Pass the relax option on to the assembler. */ \
/* Tell the assembler if we are building for the LARGE pointer model. */ \
"%{mlarge:-ml} " \
/* Copy data from ROM to RAM if necessary. */ \
"%{!msim:-md} %{msim:%{mlarge:-md}} " \
"%{msilicon-errata=*:-msilicon-errata=%*} " \
"%{msilicon-errata-warn=*:-msilicon-errata-warn=%*} " \
/* Create DWARF line number sections for -ffunction-sections. */ \