diff options
author | Nick Clifton <nickc@redhat.com> | 2013-09-18 08:05:50 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2013-09-18 08:05:50 +0000 |
commit | d30d00a2f1851cf6e6fe3b392a90b10e54388c20 (patch) | |
tree | 326980405b68beb0ffa5f367ea9218ee345d9b37 | |
parent | 4d9192b50c325156ab000884a57a3d7cfe4f79c6 (diff) | |
download | gcc-d30d00a2f1851cf6e6fe3b392a90b10e54388c20.zip gcc-d30d00a2f1851cf6e6fe3b392a90b10e54388c20.tar.gz gcc-d30d00a2f1851cf6e6fe3b392a90b10e54388c20.tar.bz2 |
msp430.h (ASM_SPEC): Pass -md on to the assembler.
* config/msp430/msp430.h (ASM_SPEC): Pass -md on to the assembler.
(ASM_DECLARE_FUNCTION_NAME): Define.
From-SVN: r202681
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/msp430/msp430.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c28bd10..ea746bc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-09-18 Nick Clifton <nickc@redhat.com> + + * config/msp430/msp430.h (ASM_SPEC): Pass -md on to the assembler. + (ASM_DECLARE_FUNCTION_NAME): Define. + 2013-09-17 Trevor Saunders <tsaunders@mozilla.com> * compare-elim.c (find_comparison_dom_walker): New class diff --git a/gcc/config/msp430/msp430.h b/gcc/config/msp430/msp430.h index 0b77c4a..f5289b5 100644 --- a/gcc/config/msp430/msp430.h +++ b/gcc/config/msp430/msp430.h @@ -54,6 +54,7 @@ extern bool msp430x; "%{mmcu=msp430x:-mmcu=msp430X;mmcu=*:-mmcu=%*} " /* Pass the MCU 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. */ /* Enable linker section garbage collection by default, unless we @@ -399,3 +400,7 @@ typedef struct ) #define ACCUMULATE_OUTGOING_ARGS 1 + +#undef ASM_DECLARE_FUNCTION_NAME +#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \ + msp430_start_function ((FILE), (NAME), (DECL)) |