[Buildroot] [git commit] arch/Config.in.arm: specify ABI for ARM64

Peter Korsgaard peter at korsgaard.com
Tue Dec 6 13:47:55 UTC 2016


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=5e8cb2ee759780c38e06aa8e83d98bb1f2943cc2
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > There's currently only one widely supported ABI for ARM64, called lp64,
 > so we define BR2_GCC_TARGET_ABI to the appropriate value.

 > Note that there is another ABI for ARM64 being worked on, ilp32, but its
 > support is not fully upstream in the kernel, so we're not adding support
 > for it for the moment.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 > ---
 >  arch/Config.in.arm | 1 +
 >  1 file changed, 1 insertion(+)

 > diff --git a/arch/Config.in.arm b/arch/Config.in.arm
 > index 1a3c36d..c98efcd 100644
 > --- a/arch/Config.in.arm
 > +++ b/arch/Config.in.arm
 > @@ -513,6 +513,7 @@ config BR2_GCC_TARGET_CPU
 
 >  config BR2_GCC_TARGET_ABI
 >  	default "aapcs-linux"	if BR2_arm || BR2_armeb
 > +	default "lp64"		if BR2_aarch64 || BR2_aarch64_be

Same issue as for the cpu variants. --with-abi=lp64 was only added in
gcc 4.9:

commit bb009361f2e0ff6a720d089220dba7183892cf90
Author: yufeng <yufeng at 138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Jul 23 12:12:53 2013 +0000

    [AArch64, ILP32] 1/6 Initial support - configury changes

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list