aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-03-05 15:02:12 +0000
committerOlivier Hainque <hainque@adacore.com>2020-10-14 18:13:54 +0000
commit2fca6a981790b8445e91db9b955909ed902d94a6 (patch)
tree22a872be5f633441956b98acd9bb2aeab04cb783
parent78198b6021a9695054dab039340202170b88423c (diff)
downloadgcc-2fca6a981790b8445e91db9b955909ed902d94a6.zip
gcc-2fca6a981790b8445e91db9b955909ed902d94a6.tar.gz
gcc-2fca6a981790b8445e91db9b955909ed902d94a6.tar.bz2
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 <hainque@adacore.com> gcc/ * config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Fix the VX_CPU selection for -mcpu=xscale on arm-vxworks.
-rw-r--r--gcc/config/arm/vxworks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/vxworks.h b/gcc/config/arm/vxworks.h
index 2ebfce8..487ec0f 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) \
{ \