Hello,

The proper VxWorks CPU macro name for -mcpu=e6500 is PPCE6500,
not E6500.

Committing after checking that it lets a powerpc64-wrs-vxworks7r2
build proceed to termination in a freshly setup environment.

Olivier

2020-10-27  Olivier Hainque  <hain...@adacore.com>
    
gcc/
        * config/rs6000/vxworks.h (CPP_SPEC): Fix macro definition
        for -mcpu=e6500.

diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h
index 87ca3af96e09..c5c32482d5e0 100644
--- a/gcc/config/rs6000/vxworks.h
+++ b/gcc/config/rs6000/vxworks.h
@@ -127,7 +127,7 @@ along with GCC; see the file COPYING3.  If not see
   VX_MCPU(603, PPC603)   ";"           \
   VX_MCPU(604, PPC604)   ";"           \
   VX_MCPU(860, PPC860)   ";"           \
-  VX_MCPU(e6500, E6500)  ";"           \
+  VX_MCPU(e6500, PPCE6500)  ";"                \
   VX_MCPU(8540, PPC85XX) ";"           \
   VX_MCPU(8548, PPC85XX) ";"           \
   VX_CPUDEF(PPC604)                    \
-- 
2.17.1

Reply via email to