]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ns32k configury
authorAlan Modra <amodra@gmail.com>
Fri, 13 Aug 2021 02:02:13 +0000 (11:32 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 13 Aug 2021 02:20:05 +0000 (11:50 +0930)
Since ns32k-netbsd is as yet not removed, just marked obsolete,
the target should still be accepted with --enable-obsolete.

I also enabled ns32k-openbsd in ld since there doesn't seem to be a
good reason why that target is not supported there but is elsewhere.

bfd/
* config.bfd: Allow ns32k-netbsd.
ld/
* configure.tgt: Allow ns32k-openbsd.

bfd/config.bfd
ld/configure.tgt

index 606c9cea982e82e801c4c33fe3bd9fbc6d734486..50e356d2e9e6765b82791075886bbbed8214ded1 100644 (file)
@@ -64,6 +64,9 @@ case $targ in
  *-*-netbsdelf* | *-*-netbsdaout* | *-*-netbsdpe*)
     # Explicit, no defaulting
     ;;
+ ns32k-*-netbsd*)
+    # The obsolete warning is enough, and ns32k does not have ELF support
+    ;;
  *-*-netbsd* )
     targ_migrated=`echo "$targ" | sed 's/netbsd/netbsdaout/'`
     echo "*** WARNING: $targ is now defaults to meaning ELF not a.out." >&2
@@ -996,7 +999,7 @@ case "${targ}" in
     targ_defvec=ns32k_aout_pc532mach_vec
     targ_underscore=yes
     ;;
-  ns32k-*-lites* | ns32k-*-openbsd*)
+  ns32k-*-lites* | ns32k-*-*bsd*)
     targ_defvec=ns32k_aout_pc532nbsd_vec
     targ_underscore=yes
     ;;
index 075febff13e6ce19c9d7fd8f98d0031128ba93f9..d46ed620c179131246bc8365e7d445dc98cdd819 100644 (file)
@@ -605,7 +605,7 @@ nios2*-*-*)         targ_emul=nios2elf
 ns32k-pc532-mach* | ns32k-pc532-ux*)  targ_emul=pc532macha
                        targ_extra_ofiles=
                        ;;
-ns32k-*-netbsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd
+ns32k-*-*bsd* | ns32k-pc532-lites*) targ_emul=ns32knbsd
                        targ_extra_ofiles=
                        ;;
 or1k-*-elf | or1knd-*-elf | or1k-*-rtems* | or1knd-*-rtems*)