Hi all,
This patch is part of a series of patches that implement ACLE 2.0
predefined macro support for AArch64.
aarch64-none-elf target has been tested on the model, no regression.
Is it Okay to commit?
Kind regards!
Renlin Li
gcc/ChangeLog:
2014-10-15 Renlin Li <renlin...@arm.com>
* config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define
__ARM_BIG_ENDIAN.From 25521076e2681ebfd8dc8f65745c38f228db7b3d Mon Sep 17 00:00:00 2001
From: Renlin Li <renlin...@arm.com>
Date: Mon, 13 Oct 2014 13:42:53 +0100
Subject: [PATCH 1/7] Add __ARM_BIG_ENDIAN marco
Change-Id: I837308410251f68a92b3b955fc74168c1dec3c32
---
gcc/config/aarch64/aarch64.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index db950da..99a9e02 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -28,7 +28,10 @@
{ \
builtin_define ("__aarch64__"); \
if (TARGET_BIG_END) \
- builtin_define ("__AARCH64EB__"); \
+ { \
+ builtin_define ("__AARCH64EB__"); \
+ builtin_define ("__ARM_BIG_ENDIAN"); \
+ } \
else \
builtin_define ("__AARCH64EL__"); \
\
--
1.7.9.5