Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163203600
D32542.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
883 B
Referenced Files
None
Subscribers
None
D32542.diff
View Options
diff --git a/contrib/elftoolchain/common/native-elf-format b/contrib/elftoolchain/common/native-elf-format
--- a/contrib/elftoolchain/common/native-elf-format
+++ b/contrib/elftoolchain/common/native-elf-format
@@ -39,6 +39,8 @@
elfarch = "EM_X86_64";
} else if (match($0, "PowerPC64")) {
elfarch = "EM_PPC64";
+ } else if (match($0, "AArch64")) {
+ elfarch = "EM_AARCH64";
} else {
elfarch = "unknown";
}
diff --git a/tools/build/Makefile b/tools/build/Makefile
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -125,6 +125,9 @@
.if ${_host_arch} == "x86_64"
# bmake on Linux/mac often prints that instead of amd64
_host_arch=amd64
+.elif ${_host_arch} == "aarch64"
+# Linux calls arm64, aarch64, across the board
+_host_arch=arm64
.elif ${_host_arch:Mppc*}
_host_arch=powerpc
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 22, 12:53 AM (2 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35340113
Default Alt Text
D32542.diff (883 B)
Attached To
Mode
D32542: Fix cross-building on Linux/aarch64
Attached
Detach File
Event Timeline
Log In to Comment