From: Shahab Vahedi Date: Wed, 2 Oct 2019 11:26:15 +0000 (+0000) Subject: [ARC] Pass along "-mcode-density" flag to "as" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d94b160233e3cef216075be86ca09a4f46b16891;p=gcc.git [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 * config/arc/arc.h (ASM_SPEC): pass -mcode-density From-SVN: r276453 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 441e5bbc0e7..f76a6ce676a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-10-02 Shahab Vahedi + + * config/arc/arc.h (ASM_SPEC): Pass -mcode-density. + 2019-10-02 Richard Biener * tree-vectorizer.h (vect_transform_reduction): Declare. diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 4a9dd07f558..4d7ac3281b4 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)}}}}}" }