aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorChristian Bruel <christian.bruel@st.com>2015-05-11 12:34:41 +0200
committerChristian Bruel <chrbr@gcc.gnu.org>2015-05-11 12:34:41 +0200
commit625ffab6c1ecdf145972772ff2a82a7c1db8cafa (patch)
tree272c20cef884c6dc980743f897b624730e23c273 /gcc/config
parentcb6f459119104ddbba18330d329ada209f9bdc25 (diff)
downloadgcc-625ffab6c1ecdf145972772ff2a82a7c1db8cafa.zip
gcc-625ffab6c1ecdf145972772ff2a82a7c1db8cafa.tar.gz
gcc-625ffab6c1ecdf145972772ff2a82a7c1db8cafa.tar.bz2
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/arm/arm-protos.h6
-rw-r--r--gcc/config/arm/vxworks.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h
index bda20ca..0ace658 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 6bab39b..4b23fdf 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"); \