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
This commit is contained in:
Christian Bruel 2015-05-11 12:34:41 +02:00 committed by Christian Bruel
parent cb6f459119
commit 625ffab6c1
3 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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

View File

@ -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"); \