[PATCH] Add NetBSD AArch64 GAS support

Kamil Rytarowski n54@gmx.com
Sat Oct 3 13:22:31 GMT 2020


gas/ChangeLog:

	* configure.tgt (aarch64*-*-netbsd*): Add target.
---
 gas/ChangeLog     | 4 ++++
 gas/configure.tgt | 1 +
 2 files changed, 5 insertions(+)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index c1dc6e44177..960ae7a1398 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2020-10-03  Kamil Rytarowski  <n54@gmx.com>
+
+	* configure.tgt (aarch64*-*-netbsd*): Add target.
+
 2020-10-02  Nick Clifton  <nickc@redhat.com>

 	* testsuite/gas/arm/mve-vcvtne-it.d: Allow for padding inserted by
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 831ca901bae..cd60f21a74d 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -127,6 +127,7 @@ case ${generic_target} in
     case ${cpu}-${os} in
       aarch64*-linux-gnu_ilp32)		arch=aarch64:32 ;;
     esac ;;
+  aarch64*-*-netbsd*)			fmt=elf em=nbsd;;

   alpha-*-*vms*)			fmt=evax ;;
   alpha-*-osf*)				fmt=ecoff ;;
--
2.28.0



More information about the Binutils mailing list