aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 963320c..c8d6a1b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com>
+ * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define _ILP32
+ and __ILP32__ when the ILP32 model is in use.
+
+2013-07-23 Yufeng Zhang <yufeng.zhang@arm.com>
+
* config/aarch64/aarch64.c (POINTER_BYTES): New define.
(aarch64_load_symref_appropriately): In the case of
SYMBOL_SMALL_ABSOLUTE, use the mode of 'dest' instead of Pmode
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 413f97d..e1fa413 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -49,6 +49,11 @@
break; \
} \
\
+ if (TARGET_ILP32) \
+ { \
+ cpp_define (parse_in, "_ILP32"); \
+ cpp_define (parse_in, "__ILP32__"); \
+ } \
} while (0)