aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.h5
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4b06666..c9a3a08 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-22 Renlin Li <renlin.li@arm.com>
+
+ * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define
+ __ARM_FEATURE_IDIV__.
+
2014-10-22 Richard Biener <rguenther@suse.de>
* Makefile.in (s-match): Adjust dependencies to only catch
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 3623c70..ae5390a 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -164,7 +164,10 @@ extern char arm_arch_name[];
builtin_define ("__ARM_EABI__"); \
} \
if (TARGET_IDIV) \
- builtin_define ("__ARM_ARCH_EXT_IDIV__"); \
+ { \
+ builtin_define ("__ARM_ARCH_EXT_IDIV__"); \
+ builtin_define ("__ARM_FEATURE_IDIV__"); \
+ }
} while (0)
#include "config/arm/arm-opts.h"