From: Christian Bruel Date: Mon, 11 May 2015 10:34:41 +0000 (+0200) Subject: arm-protos.h (thumb_code, [...]): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=625ffab6c1ecdf145972772ff2a82a7c1db8cafa;p=gcc.git arm-protos.h (thumb_code, [...]): Remove. 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. From-SVN: r223000 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5deba76159c..7d9f2bbf2c1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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. + 2015-05-11 Richard Sandiford PR rtl-optimization/66076 diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h index bda20ca07ce..0ace6583e2d 100644 --- a/gcc/config/arm/arm-protos.h +++ b/gcc/config/arm/arm-protos.h @@ -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 diff --git a/gcc/config/arm/vxworks.h b/gcc/config/arm/vxworks.h index 6bab39b29bd..4b23fdf2954 100644 --- a/gcc/config/arm/vxworks.h +++ b/gcc/config/arm/vxworks.h @@ -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"); \