[PATCH] ARC: gcc driver default to hs38_linux

Vineet Gupta Vineet.Gupta1 at synopsys.com
Wed Jun 2 10:36:03 PDT 2021


On 6/2/21 1:38 AM, Claudiu Zissulescu wrote:
> Approved.

Thx for the super quick action on this Claudiu. Can this be slated for 
backports too as it causes issues when building toolchains for modern 
cores without explicit defaults.

-Vineet

>
> //Claudiu
> ------------------------------------------------------------------------
> *From:* Vineet Gupta <vgupta at synopsys.com>
> *Sent:* Tuesday, June 1, 2021 10:42 PM
> *To:* gcc-patches at gcc.gnu.org <gcc-patches at gcc.gnu.org>
> *Cc:* Claudiu Zissulescu <claziss at synopsys.com>; 
> linux-snps-arc at lists.infradead.org 
> <linux-snps-arc at lists.infradead.org>; Vineet Gupta <vgupta at synopsys.com>
> *Subject:* [PATCH] ARC: gcc driver default to hs38_linux
> arc700 is legacy and there's no active development for it, so switch to
> latest hs38_linux as default
>
> Signed-off-by: Vineet Gupta <vgupta at synopsys.com>
> ---
>  gcc/config/arc/arc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h
> index bd1fe0abd7af..252241a858c9 100644
> --- a/gcc/config/arc/arc.h
> +++ b/gcc/config/arc/arc.h
> @@ -34,7 +34,7 @@ along with GCC; see the file COPYING3. If not see
>  #define SYMBOL_FLAG_CMEM        (SYMBOL_FLAG_MACH_DEP << 3)
>
>  #ifndef TARGET_CPU_DEFAULT
> -#define TARGET_CPU_DEFAULT     PROCESSOR_arc700
> +#define TARGET_CPU_DEFAULT     PROCESSOR_hs38_linux
>  #endif
>
>  /* Check if this symbol has a long_call attribute in its declaration */
> -- 
> 2.25.1
>




More information about the linux-snps-arc mailing list