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 +-
Showing
- bfd/config.bfd 28 additions, 15 deletionsbfd/config.bfd
- bfd/configure 2 additions, 3 deletionsbfd/configure
- bfd/configure.ac 2 additions, 3 deletionsbfd/configure.ac
- bfd/po/bfd.pot 932 additions, 911 deletionsbfd/po/bfd.pot
- binutils/po/binutils.pot 1371 additions, 1374 deletionsbinutils/po/binutils.pot
- binutils/testsuite/binutils-all/nm.exp 1 addition, 1 deletionbinutils/testsuite/binutils-all/nm.exp
- binutils/testsuite/lib/binutils-common.exp 2 additions, 5 deletionsbinutils/testsuite/lib/binutils-common.exp
- config/picflag.m4 1 addition, 3 deletionsconfig/picflag.m4
- gas/configure.tgt 5 additions, 4 deletionsgas/configure.tgt
- gas/po/gas.pot 1686 additions, 1697 deletionsgas/po/gas.pot
- gas/testsuite/gas/arm/blx-bl-convert.d 1 addition, 1 deletiongas/testsuite/gas/arm/blx-bl-convert.d
- gas/testsuite/gas/arm/blx-local-thumb.d 1 addition, 1 deletiongas/testsuite/gas/arm/blx-local-thumb.d
- gas/testsuite/gas/sh/basic.exp 1 addition, 1 deletiongas/testsuite/gas/sh/basic.exp
- gdb/configure.host 14 additions, 20 deletionsgdb/configure.host
- gdb/configure.tgt 1 addition, 1 deletiongdb/configure.tgt
- gdb/testsuite/gdb.asm/asm-source.exp 1 addition, 5 deletionsgdb/testsuite/gdb.asm/asm-source.exp
- gold/po/gold.pot 1 addition, 1 deletiongold/po/gold.pot
- gprof/po/gprof.pot 18 additions, 18 deletionsgprof/po/gprof.pot
- intl/configure 1 addition, 1 deletionintl/configure
- ld/configure.tgt 21 additions, 23 deletionsld/configure.tgt
Loading
Please register or sign in to comment