X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=toolchain%2Fgcc%2Fpatches-8.x%2F800-arm_v5te_no_ldrd_strd.patch;fp=toolchain%2Fgcc%2Fpatches-8.x%2F800-arm_v5te_no_ldrd_strd.patch;h=172295f28b6b983e18545ed354effc8c469d9165;hp=0000000000000000000000000000000000000000;hb=d7382cc0e4446d4db1978055b0ba59259ac66751;hpb=f34690e487e13ee772b2dca3e7fab2a2bd1e77a1 diff --git a/toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch b/toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch new file mode 100644 index 0000000000..172295f28b --- /dev/null +++ b/toolchain/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch @@ -0,0 +1,11 @@ +--- a/gcc/config/arm/arm.h ++++ b/gcc/config/arm/arm.h +@@ -155,7 +155,7 @@ extern tree arm_fp16_type_node; + /* 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)