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
This commit is contained in:
Andrew Turner 2018-07-06 11:50:59 +00:00
parent 3cafc9a654
commit ae1dac06a2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336027

View File

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