diff options
author | Shahab Vahedi <shahab@synopsys.com> | 2019-10-02 11:26:15 +0000 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2019-10-02 13:26:15 +0200 |
commit | d94b160233e3cef216075be86ca09a4f46b16891 (patch) | |
tree | 4cf7691f46eb1e0613f4a00f537801579c6afcd0 /gcc | |
parent | 9f4d9a366b3299c276043ab987234c7bed7d29f2 (diff) | |
download | gcc-d94b160233e3cef216075be86ca09a4f46b16891.zip gcc-d94b160233e3cef216075be86ca09a4f46b16891.tar.gz gcc-d94b160233e3cef216075be86ca09a4f46b16891.tar.bz2 |
[ARC] Pass along "-mcode-density" flag to "as"
This change makes sure that if the driver is invoked with
"-mcode-density" flag, then the assembler will receive it
too.
gcc/
xxxx-xx-xx Shahab Vahedi <shahab@synopsys.com>
* config/arc/arc.h (ASM_SPEC): pass -mcode-density
From-SVN: r276453
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/arc/arc.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 441e5bb..f76a6ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-10-02 Shahab Vahedi <shahab@synopsys.com> + + * config/arc/arc.h (ASM_SPEC): Pass -mcode-density. + 2019-10-02 Richard Biener <rguenther@suse.de> * tree-vectorizer.h (vect_transform_reduction): Declare. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 4a9dd07..4d7ac32 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -97,7 +97,8 @@ extern const char *arc_cpu_to_as (int argc, const char **argv); #undef ASM_SPEC #define ASM_SPEC "%{mbig-endian|EB:-EB} %{EL} " \ - "%:cpu_to_as(%{mcpu=*:%*}) %{mspfp*} %{mdpfp*} %{mfpu=fpuda*:-mfpuda}" + "%:cpu_to_as(%{mcpu=*:%*}) %{mspfp*} %{mdpfp*} " \ + "%{mfpu=fpuda*:-mfpuda} %{mcode-density}" #define OPTION_DEFAULT_SPECS \ {"cpu", "%{!mcpu=*:%{!mARC*:%{!marc*:%{!mA7:%{!mA6:-mcpu=%(VALUE)}}}}}" } |