2015-05-11 Christian Bruel <christian.bruel@st.com>
* config/arm/arm-protos.h (thumb_code, thumb1_code): Remove.
* config/arm/vxworks.h (thumb_code): Replace with TARGET_THUMB.
===================================================================
@@ -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
===================================================================
@@ -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"); \