aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-08-13 11:32:13 +0930
committerAlan Modra <amodra@gmail.com>2021-08-13 11:50:05 +0930
commit41ee6d14fd3faf486036cdb9042e432664abfe48 (patch)
tree69a8852c31d3ec616a8c52ad95477b247402919e /bfd
parentc92d9b49ce2561d67f7bb97706da46d2aa28c548 (diff)
downloadgdb-41ee6d14fd3faf486036cdb9042e432664abfe48.zip
gdb-41ee6d14fd3faf486036cdb9042e432664abfe48.tar.gz
gdb-41ee6d14fd3faf486036cdb9042e432664abfe48.tar.bz2
ns32k configury
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/config.bfd5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 606c9ce..50e356d 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -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
;;