Date: Fri, 6 Jul 2018 11:50:59 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r336027 - head/gnu/usr.bin/binutils/libbfd Message-ID: <201807061150.w66Boxi5034455@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Fri Jul 6 11:50:59 2018 New Revision: 336027 URL: https://svnweb.freebsd.org/changeset/base/336027 Log: Teach binutils that arm64 is a 64bit architecture. This is needed to cross build from arm64 to other architectures that use binutils. Sponsored by: ABT Systems Ltd Modified: head/gnu/usr.bin/binutils/libbfd/bfd.h Modified: head/gnu/usr.bin/binutils/libbfd/bfd.h ============================================================================== --- head/gnu/usr.bin/binutils/libbfd/bfd.h Fri Jul 6 11:23:14 2018 (r336026) +++ head/gnu/usr.bin/binutils/libbfd/bfd.h Fri Jul 6 11:50:59 2018 (r336027) @@ -85,7 +85,7 @@ extern "C" { #define BFD_HOST_64BIT_LONG 0 #define BFD_HOST_64_BIT long long #define BFD_HOST_U_64_BIT unsigned long long -#elif defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) +#elif defined(__alpha__) || defined(__sparc64__) || defined(__amd64__) || defined(__aarch64__) #define BFD_HOST_64BIT_LONG 1 #define BFD_HOST_64_BIT long #define BFD_HOST_U_64_BIT unsigned long
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807061150.w66Boxi5034455>