From 3383b7fa4051d9b7cdc6dc11cfd3d821d3fd9cc7 Mon Sep 17 00:00:00 2001 From: Greta Yorsh Date: Mon, 26 Nov 2012 10:38:23 +0000 Subject: [PATCH] arm.h (TARGET_LDRD): Reject Thumb1 targets. 2012-11-26 Greta Yorsh * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets. From-SVN: r193810 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad6b4cc..5a48e1b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-11-26 Greta Yorsh + + * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets. + 2012-11-26 Matthias Klose * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index 2df36cb..e4f9634 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -252,7 +252,6 @@ extern void (*arm_lang_output_object_attributes_hook)(void); #define TARGET_BACKTRACE (leaf_function_p () \ ? TARGET_TPCS_LEAF_FRAME \ : TARGET_TPCS_FRAME) -#define TARGET_LDRD (arm_arch5e && ARM_DOUBLEWORD_ALIGN) #define TARGET_AAPCS_BASED \ (arm_abi != ARM_ABI_APCS && arm_abi != ARM_ABI_ATPCS) @@ -269,6 +268,9 @@ extern void (*arm_lang_output_object_attributes_hook)(void); /* Thumb-1 only. */ #define TARGET_THUMB1_ONLY (TARGET_THUMB1 && !arm_arch_notm) +#define TARGET_LDRD (arm_arch5e && ARM_DOUBLEWORD_ALIGN \ + && !TARGET_THUMB1) + /* The following two macros concern the ability to execute coprocessor instructions for VFPv3 or NEON. TARGET_VFP3/TARGET_VFPD32 are currently only ever tested when we know we are generating for VFP hardware; we need -- 2.7.4