From: Richard Earnshaw Date: Fri, 16 Jun 2017 21:01:51 +0000 (+0000) Subject: [arm] Don't pass -mfpu=auto through to the assembler. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53c5aa9909dda24e7b770ffb62a3aae9d5d8e5d4;p=gcc.git [arm] Don't pass -mfpu=auto through to the assembler. The assembler doesn't understand -mfpu=auto. The easiest way to handle this is to surpress this value from being passed through, while still passing through legacy values. * config/arm/elf.h (ASM_SPEC): Only pass -mfpu through to the assembler when it is not -mfpu=auto. From-SVN: r249281 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1542ae3467d..5ea21b74716 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-06-16 Richard Earnshaw + + * config/arm/elf.h (ASM_SPEC): Only pass -mfpu through to the + assembler when it is not -mfpu=auto. + 2017-06-16 Richard Earnshaw * config/arm/arm.h (BIG_LITTLE_SPEC): Delete macro. diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index f119b87116f..fcc4f3f81a9 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -64,7 +64,7 @@ %{mapcs-*:-mapcs-%*} \ %(subtarget_asm_float_spec) \ %{mthumb-interwork:-mthumb-interwork} \ -%{mfloat-abi=*} %{mfpu=*} \ +%{mfloat-abi=*} %{!mfpu=auto: %{mfpu=*}} \ %(subtarget_extra_asm_spec)" #endif