Patchwork [aarch64] add multiarch definitions for aarch64-linux-gnu

login
register
mail settings
Submitter Matthias Klose
Date Nov. 20, 2012, 1:33 p.m.
Message ID <50AB868C.9050708@ubuntu.com>
Download mbox | patch
Permalink /patch/200334/
State New
Headers show

Comments

Matthias Klose - Nov. 20, 2012, 1:33 p.m.
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
>
Marcus Shawcroft - Nov. 21, 2012, 12:45 p.m.
> --- 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)
>

OK

/Marcus

Patch

--- 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)