From d71e98ad2337faaad86780bd7e6ead0b398129ae Mon Sep 17 00:00:00 2001
From: Renlin Li <renlin.li@arm.com>
Date: Tue, 14 Oct 2014 16:23:19 +0100
Subject: [PATCH 3/8] More marcos which are unconditional
Change-Id: I98d47fbb4d6e4ded6b73766d8f00e16526dae09a
---
gcc/config/aarch64/aarch64.h | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
@@ -26,7 +26,15 @@
#define TARGET_CPU_CPP_BUILTINS() \
do \
{ \
- builtin_define ("__aarch64__"); \
+ builtin_define ("__aarch64__"); \
+ builtin_define ("__ARM_64BIT_STATE"); \
+ builtin_define ("__ARM_ARCH_ISA_A64"); \
+ builtin_define ("__ARM_FEATURE_CLZ"); \
+ builtin_define ("__ARM_FEATURE_IDIV"); \
+ builtin_define ("__ARM_FEATURE_UNALIGNED"); \
+ builtin_define ("__ARM_PCS_AAPCS64"); \
+ builtin_define_with_int_value \
+ ("__ARM_SIZEOF_WCHAR_T", WCHAR_TYPE_SIZE / 8); \
if (TARGET_BIG_END) \
{ \
builtin_define ("__AARCH64EB__"); \
--
1.7.9.5