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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to