[PATCH] Add OpenBSD ARM Little Endian BFD support.

Frederic Cambus fred@statdns.com
Sat Aug 27 17:28:30 GMT 2022


bfd/ChangeLog:

2022-08-27  Frederic Cambus  <fred@statdns.com>

	* config.bfd (arm-*-openbsd*): Add target.
---
 bfd/config.bfd | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 8c7be5da38a..0a47bf0484c 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -90,7 +90,6 @@ case $targ in
  arm*-*-aout | \
  arm-*-coff | \
  arm*-*-netbsdaout* | \
- arm-*-openbsd* | \
  arm-*-oabi | \
  arm-*-riscix* | \
  arm*-*-symbianelf* | \
@@ -387,6 +386,10 @@ case "${targ}" in
     targ_defvec=arm_elf32_le_vec
     targ_selvecs="arm_elf32_be_vec"
     ;;
+  arm-*-openbsd*)
+    targ_defvec=arm_elf32_le_vec
+    targ_selvecs="arm_elf32_be_vec"
+    ;;
   arm-*-nto* | nto*arm*)
     targ_defvec=arm_elf32_le_vec
     targ_selvecs=arm_elf32_be_vec



More information about the Binutils mailing list