Add OpenBSD ARM GAS support.

Message ID Y8mwO5KmTqXAtFhC@fedora
State Accepted
Headers
Series Add OpenBSD ARM GAS support. |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Frederic Cambus Jan. 19, 2023, 9:03 p.m. UTC
  gas/ChangeLog:

2023-01-19  Frederic Cambus  <fred@statdns.com>

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

Comments

Nick Clifton Jan. 20, 2023, 10:47 a.m. UTC | #1
Hi Frederic,

> gas/ChangeLog:
> 
> 2023-01-19  Frederic Cambus  <fred@statdns.com>
> 
> 	* configure.tgt (arm-*-openbsd*): Add target.

Approved and applied.

Cheers
   Nick
  

Patch

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 58f807f45f2..0f791190bf8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@ 
+2023-01-19  Frederic Cambus  <fred@statdns.com>
+
+	* configure.tgt (arm-*-openbsd*): Add target.
+
 2023-01-16  Nick Clifton  <nickc@redhat.com>
 
 	* po/ru.po: Updated Russian translation.
diff --git a/gas/configure.tgt b/gas/configure.tgt
index b7a1874781f..5fb7d880122 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -159,7 +159,7 @@  case ${generic_target} in
   arm-*-uclinux*eabi*)			fmt=elf  em=armlinuxeabi ;;
   arm-*-uclinux*)			fmt=elf  em=linux ;;
   arm-*-nacl*)				fmt=elf  em=nacl ;;
-  arm-*-netbsd*)			fmt=elf  em=nbsd ;;
+  arm-*-netbsd* | arm-*-openbsd*)	fmt=elf  em=nbsd ;;
   arm-*-nto*)				fmt=elf ;;
   arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
 					fmt=coff em=wince-pe ;;