PKGBUILDs/core/gcc/0001-ARMv5-disable-LDRD-STRD.patch

26 lines
825 B
Diff
Raw Normal View History

2016-05-07 05:02:19 +00:00
From 0a6763fb3a2c11d41b9b580a84ae24809db71749 Mon Sep 17 00:00:00 2001
2015-01-13 03:16:10 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Wed, 7 Jan 2015 18:43:57 -0700
2016-05-20 03:17:17 +00:00
Subject: [PATCH 1/2] ARMv5: disable LDRD/STRD
2015-01-13 03:16:10 +00:00
---
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
2016-05-07 05:02:19 +00:00
index ad123dd..87697f7 100644
2015-01-13 03:16:10 +00:00
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
2016-05-07 05:02:19 +00:00
@@ -166,7 +166,7 @@ extern void (*arm_lang_output_object_attributes_hook)(void);
2015-01-13 03:16:10 +00:00
/* 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)
--
2016-05-07 05:02:19 +00:00
2.7.2
2015-01-13 03:16:10 +00:00