This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] [aarch64] add multiarch definitions for aarch64-linux-gnu
Am 20.11.2012 13:47, schrieb Marcus Shawcroft:
> Thanks Matthias,
>
>> +ARM_EB = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),eb)
>> +ifeq (,$(ARM_EB))
>> +MULTIARCH_DIRNAME = $(call if_multiarch,aarch64-linux-gnu)
>> +endif
>
> Can we use the name of the architecture, ARM -> AARCH64
>
> Please can we have big endian wired up?
>
> +else
> +MULTIARCH_DIRNAME = $(call if_multiarch,aarch64_be-linux-gnu)
>
>
> Cheers
> /Marcus
>
--- config/aarch64/t-aarch64-linux (revision 193639)
+++ config/aarch64/t-aarch64-linux (working copy)
@@ -20,3 +20,6 @@
LIB1ASMSRC = aarch64/lib1funcs.asm
LIB1ASMFUNCS = _aarch64_sync_cache_range
+
+AARCH_BE = $(if $(findstring TARGET_BIG_ENDIAN_DEFAULT=1, $(tm_defines)),_be)
+MULTIARCH_DIRNAME = $(call if_multiarch,aarch64$(AARCH_BE)-linux-gnu)