mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
25 lines
821 B
Diff
25 lines
821 B
Diff
From b1884b6d1950422a32f9ced0be6d5492e4315547 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Wed, 7 Jan 2015 18:43:57 -0700
|
|
Subject: [PATCH] ARMv5: disable LDRD/STRD
|
|
|
|
---
|
|
gcc/config/arm/arm.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
|
|
index c60d9a4..65c60b9 100644
|
|
--- a/gcc/config/arm/arm.h
|
|
+++ b/gcc/config/arm/arm.h
|
|
@@ -282,7 +282,7 @@ 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 \
|
|
+#define TARGET_LDRD (arm_arch6 && ARM_DOUBLEWORD_ALIGN \
|
|
&& !TARGET_THUMB1)
|
|
|
|
#define TARGET_CRC32 (arm_arch_crc)
|
|
--
|
|
2.2.1
|
|
|