2015-05-11 Christian Bruel * config/arm/arm-protos.h (thumb_code, thumb1_code): Remove. * config/arm/vxworks.h (thumb_code): Replace with TARGET_THUMB. Index: gcc/config/arm/arm-protos.h =================================================================== --- gcc/config/arm/arm-protos.h (revision 222997) +++ gcc/config/arm/arm-protos.h (working copy) @@ -462,12 +462,6 @@ /* Nonzero if tuning for Cortex-A9. */ extern int arm_tune_cortex_a9; -/* Nonzero if generating Thumb instructions. */ -extern int thumb_code; - -/* Nonzero if generating Thumb-1 instructions. */ -extern int thumb1_code; - /* Nonzero if we should define __THUMB_INTERWORK__ in the preprocessor. XXX This is a bit of a hack, it's intended to help work around Index: gcc/config/arm/vxworks.h =================================================================== --- gcc/config/arm/vxworks.h (revision 222997) +++ gcc/config/arm/vxworks.h (working copy) @@ -40,7 +40,7 @@ builtin_define ("CPU=ARMARCH5"); \ else if (arm_arch4) \ { \ - if (thumb_code) \ + if (TARGET_THUMB) \ builtin_define ("CPU=ARMARCH4_T"); \ else \ builtin_define ("CPU=ARMARCH4"); \