aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/arm.h4
2 files changed, 7 insertions, 1 deletions
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 <Greta.Yorsh@arm.com>
+
+ * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets.
+
2012-11-26 Matthias Klose <doko@ubuntu.com>
* 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