aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@mittosystems.com>2020-08-03 15:54:52 +0100
committerJozef Lawrynowicz <jozef.l@mittosystems.com>2020-08-03 15:54:52 +0100
commitcc8c0049749736cdd88bc9c90f5df3961b97c67c (patch)
tree082fbe1db69431dad2dba55472a55c1f8a70e334 /gcc
parentd1773f58f3a03e6c764373635fa079fa7526cfcf (diff)
downloadgcc-cc8c0049749736cdd88bc9c90f5df3961b97c67c.zip
gcc-cc8c0049749736cdd88bc9c90f5df3961b97c67c.tar.gz
gcc-cc8c0049749736cdd88bc9c90f5df3961b97c67c.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/msp430/msp430.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/config/msp430/msp430.h b/gcc/config/msp430/msp430.h
index e97e833..2500771 100644
--- a/gcc/config/msp430/msp430.h
+++ b/gcc/config/msp430/msp430.h
@@ -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. */ \