summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2018-07-06 11:50:59 +0000
committerAndrew Turner <andrew@FreeBSD.org>2018-07-06 11:50:59 +0000
commitae1dac06a24952d09eeb0863704c980a8f026aa6 (patch)
tree079d67d6ee6fe301cabff659489bc479a7b66672 /gnu
parent3cafc9a654f5d0173b4f20cfd1c5f3e3e3f6502f (diff)
downloadsrc-test2-ae1dac06a24952d09eeb0863704c980a8f026aa6.tar.gz
src-test2-ae1dac06a24952d09eeb0863704c980a8f026aa6.zip
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
Notes
Notes: svn path=/head/; revision=336027
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/libbfd/bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/libbfd/bfd.h b/gnu/usr.bin/binutils/libbfd/bfd.h
index fee147c23375..c6fcc4780c44 100644
--- a/gnu/usr.bin/binutils/libbfd/bfd.h
+++ b/gnu/usr.bin/binutils/libbfd/bfd.h
@@ -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