Commit 625ffab6 by Christian Bruel Committed by Christian Bruel

arm-protos.h (thumb_code, [...]): Remove.

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.

From-SVN: r223000
parent cb6f4591
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.
2015-05-11 Richard Sandiford <richard.sandiford@arm.com>
PR rtl-optimization/66076
......
......@@ -462,12 +462,6 @@ extern int arm_tune_wbuf;
/* 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 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
builtin_define ("CPU=ARMARCH5"); \
else if (arm_arch4) \
{ \
if (thumb_code) \
if (TARGET_THUMB) \
builtin_define ("CPU=ARMARCH4_T"); \
else \
builtin_define ("CPU=ARMARCH4"); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment