From: Olivier Hainque Date: Thu, 5 Mar 2020 15:02:12 +0000 (+0000) Subject: Fix the VX_CPU selection for -mcpu=xscale on arm-vxworks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fca6a981790b8445e91db9b955909ed902d94a6;p=gcc.git Fix the VX_CPU selection for -mcpu=xscale on arm-vxworks This fixlet makes sure -mcpu=xscale selects the correct VX_CPU. 2020-10-14 Olivier Hainque gcc/ * config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Fix the VX_CPU selection for -mcpu=xscale on arm-vxworks. --- diff --git a/gcc/config/arm/vxworks.h b/gcc/config/arm/vxworks.h index 2ebfce8a2e0..487ec0fdbb9 100644 --- a/gcc/config/arm/vxworks.h +++ b/gcc/config/arm/vxworks.h @@ -44,7 +44,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see \ if (arm_arch_xscale) \ builtin_define ("_VX_CPU=XSCALE"); \ - if (arm_arch8) \ + else if (arm_arch8) \ builtin_define ("_VX_CPU=ARMARCH8A"); \ else if (arm_arch7) \ { \