svn commit: r336027 - head/gnu/usr.bin/binutils/libbfd

Andrew Turner andrew at FreeBSD.org
Fri Jul 6 11:51:00 UTC 2018


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


More information about the svn-src-all mailing list