binutils-gdb/config
John Ericson ab4f385b3c Deprecate a.out support for NetBSD targets.
As discussed previously, a.out support is now quite deprecated, and in
some cases removed, in both Binutils itself and NetBSD, so this legacy
default makes little sense. `netbsdelf*` and `netbsdaout*` still work
allowing the user to be explicit about there choice. Additionally, the
configure script warns about the change as Nick Clifton requested.

One possible concern was the status of NetBSD on NS32K, where only a.out
was supported. But per [1] NetBSD has removed support, and if it were to
come back, it would be with ELF. The binutils implementation is
therefore marked obsolete, per the instructions in the last message.

With that patch and this one applied, I have confirmed the following:

--target=i686-unknown-netbsd
--target=i686-unknown-netbsdelf
  builds completely

--target=i686-unknown-netbsdaout
  properly fails because target is deprecated.

--target=vax-unknown-netbsdaout builds completely except for gas, where
the target is deprecated.

[1]: https://mail-index.netbsd.org/tech-toolchain/2021/07/19/msg004025.html
---
 bfd/config.bfd                             | 43 +++++++++++++--------
 bfd/configure.ac                           |  5 +--
 binutils/testsuite/binutils-all/nm.exp     |  2 +-
 binutils/testsuite/lib/binutils-common.exp |  7 +---
 config/picflag.m4                          |  4 +-
 gas/configure.tgt                          |  9 +++--
 gas/testsuite/gas/arm/blx-bl-convert.d     |  2 +-
 gas/testsuite/gas/arm/blx-local-thumb.d    |  2 +-
 gas/testsuite/gas/sh/basic.exp             |  2 +-
 gdb/configure.host                         | 34 +++++++----------
 gdb/configure.tgt                          |  2 +-
 gdb/testsuite/gdb.asm/asm-source.exp       |  6 +--
 intl/configure                             |  2 +-
 ld/configure.tgt                           | 44 +++++++++++-----------
 ld/testsuite/ld-arm/arm-elf.exp            |  4 +-
 ld/testsuite/ld-elf/elf.exp                |  2 +-
 ld/testsuite/ld-elf/shared.exp             |  4 +-
 libiberty/configure                        |  4 +-
2021-08-11 13:17:54 +01:00
..
acinclude.m4 config: delete unused sim macros 2021-05-18 17:46:55 -04:00
acx.m4 config: Sync with GCC 2018-06-18 09:33:48 -04:00
asmcfi.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
ax_check_define.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
ax_count_cpus.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
ax_pthread.m4 config: Sync with GCC 2018-06-18 09:33:48 -04:00
bitfields.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
bootstrap-asan.mk sync binutils config/ with gcc 2016-12-08 21:35:11 +10:30
bootstrap-cet.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
bootstrap-debug-big.mk
bootstrap-debug-ckovw.mk
bootstrap-debug-lean.mk Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
bootstrap-debug-lib.mk
bootstrap-debug.mk
bootstrap-lto-lean.mk Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
bootstrap-lto-noplugin.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
bootstrap-lto.mk Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
bootstrap-O1.mk
bootstrap-O3.mk
bootstrap-Og.mk Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
bootstrap-time.mk
bootstrap-ubsan.mk config: Sync with GCC 2018-06-18 09:33:48 -04:00
cet.m4 GCC_CET_HOST_FLAGS: Check if host supports multi-byte NOPs 2021-03-18 08:02:46 -07:00
ChangeLog Add markers for 2.37 branch 2021-07-03 14:50:57 +01:00
codeset.m4
debuginfod.m4 config/debuginfod: do not include pkg.m4 directly 2021-02-13 00:15:11 -05:00
depstand.m4
dfp.m4 Merge config/ changes from GCC. 2018-10-31 17:16:41 +00:00
elf.m4 Sync elf.m4 with GCC tree 2015-03-16 08:49:06 -07:00
enable.m4
extensions.m4
futex.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
gc++filt.m4
gcc-plugin.m4 GCC: Check if AR works with --plugin and rc 2021-01-11 16:26:51 -08:00
gettext-sister.m4
gettext.m4 GNU gettext introduced this change[0] in version 0.19.8 to fix gettext detection with musl libc, since it does not define these internal symbols. 2021-06-14 14:05:39 +01:00
glibc21.m4
gthr.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
gxx-include-dir.m4
hwcaps.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
iconv.m4 Fix a typo in iconv.m4. 2018-11-09 16:08:10 +00:00
intdiv0.m4
inttypes_h.m4
inttypes-pri.m4
inttypes.m4
isl.m4 Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
jobserver.m4 Implement a workaround for GNU mak jobserver 2021-01-12 05:45:44 -08:00
largefile.m4 Unify Solaris procfs and largefile handling 2020-07-30 15:41:50 +02:00
lcmessage.m4
ld-symbolic.m4
lead-dot.m4
lib-ld.m4
lib-link.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
lib-prefix.m4
libstdc++-raw-cxx.m4 Remove "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS 2013-01-07 18:25:13 +00:00
lthostflags.m4
math.m4 Sync config and libiberty with GCC 2020-04-29 14:25:36 -07:00
mh-alpha-linux Sync toplevel configure.ac with GCC 2015-07-14 07:49:50 -07:00
mh-cygwin
mh-darwin Sync libiberty from GCC, replaying updates to configure scripts 2015-06-24 21:43:02 +02:00
mh-djgpp
mh-mingw Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
mh-pa
mh-pa-hpux10
mh-ppc-aix Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mmap.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-alphaieee Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
mt-android Update top level configure files by synchronizing them with gcc. 2018-01-10 15:29:21 +00:00
mt-d30v
mt-gnu Don't reset CXXFLAGS_FOR_TARGET 2015-03-16 08:41:42 -07:00
mt-mips16-compat
mt-mips-elfoabi
mt-mips-gnu
mt-nios2-elf Sync nios2 configure changes from GCC mainline. 2014-05-14 16:27:14 -07:00
mt-ospace Append -g -Os rather than overwriting 2015-03-16 08:44:41 -07:00
mt-sde 2012-09-19 Steve Ellcey <sellcey@mips.com> 2012-09-19 21:22:33 +00:00
mt-spu
multi.m4 Merge config/ changes from GCC. 2018-10-31 17:16:41 +00:00
nls.m4
no-executables.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
override.m4 PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
picflag.m4 Deprecate a.out support for NetBSD targets. 2021-08-11 13:17:54 +01:00
pkg.m4 PKG_CHECK_MODULES: Properly check if $pkg_cv_[]$1[]_LIBS works 2020-07-28 06:59:30 -07:00
plugins.m4 config: Sync with GCC 2018-04-05 15:22:13 -07:00
po.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
proginstall.m4
progtest.m4
sjlj.m4 Sync config files with GCC 2015-07-14 09:18:16 -07:00
stdint_h.m4
stdint.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
target-posix Sync config files with GCC 2015-07-14 09:18:16 -07:00
tcl.m4 Sync config with GCC 2015-07-27 07:43:26 -07:00
tls.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
toolexeclibdir.m4 Merge changes from GCC for the config/ directory 2020-02-19 17:51:24 +00:00
uintmax_t.m4
ulonglong.m4
unwind_ipinfo.m4
warnings.m4 Sync config/warnings.m4 with GCC 2015-07-14 08:39:12 -07:00
weakref.m4 Resync config/ from GCC. 2012-05-29 15:58:15 +00:00
zlib.m4 Set zlibdir/zlibinc with top_builddir/top_srcdir 2015-04-02 05:43:07 -07:00