Browse Source

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 +-
users/ARM/efi-aarch64-support-binutils
John Ericson 5 years ago
committed by Nick Clifton
parent
commit
ab4f385b3c
  1. 43
      bfd/config.bfd
  2. 5
      bfd/configure
  3. 5
      bfd/configure.ac
  4. 1843
      bfd/po/bfd.pot
  5. 2745
      binutils/po/binutils.pot
  6. 2
      binutils/testsuite/binutils-all/nm.exp
  7. 7
      binutils/testsuite/lib/binutils-common.exp
  8. 4
      config/picflag.m4
  9. 9
      gas/configure.tgt
  10. 3383
      gas/po/gas.pot
  11. 2
      gas/testsuite/gas/arm/blx-bl-convert.d
  12. 2
      gas/testsuite/gas/arm/blx-local-thumb.d
  13. 2
      gas/testsuite/gas/sh/basic.exp
  14. 34
      gdb/configure.host
  15. 2
      gdb/configure.tgt
  16. 6
      gdb/testsuite/gdb.asm/asm-source.exp
  17. 2
      gold/po/gold.pot
  18. 36
      gprof/po/gprof.pot
  19. 2
      intl/configure
  20. 44
      ld/configure.tgt
  21. 885
      ld/po/ld.pot
  22. 4
      ld/testsuite/ld-arm/arm-elf.exp
  23. 2
      ld/testsuite/ld-elf/elf.exp
  24. 4
      ld/testsuite/ld-elf/shared.exp
  25. 4
      libiberty/configure
  26. 106
      opcodes/po/opcodes.pot

43
bfd/config.bfd

@ -48,6 +48,7 @@ targ_underscore=no
# Catch obsolete configurations.
case $targ in
ns32k-*-netbsd* | \
null)
if test "x$enable_obsolete" != xyes; then
echo "*** Configuration $targ is obsolete." >&2
@ -58,8 +59,19 @@ case $targ in
fi;;
esac
# Warn on changed defaulting
case $targ in
*-*-netbsdelf* | *-*-netbsdaout* | *-*-netbsdpe*)
# Explicit, no defaulting
;;
*-*-netbsd* )
targ_migrated=`echo "$targ" | sed 's/netbsd/netbsdaout/'`
echo "*** WARNING: $targ is now defaults to meaning ELF not a.out." >&2
echo "*** Use $targ_migrated instead to explicitly specify a.out." >&2
;;
esac
case $targ in
*-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu | \
mips*-*-irix5* | mips*-*-irix6*)
# Not obsolete
;;
@ -75,7 +87,7 @@ case $targ in
a29k-* | \
arm*-*-aout | \
arm-*-coff | \
arm-*-netbsd* | \
arm*-*-netbsdaout* | \
arm-*-openbsd* | \
arm-*-oabi | \
arm-*-riscix* | \
@ -96,7 +108,7 @@ case $targ in
i[3-7]86-*-aix* | \
i[3-7]86-sequent-bsd* | \
i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12] | \
i[3-7]86-*-netbsdaout* | i[3-7]86-*-netbsd* | \
i[3-7]86-*-netbsdaout* | \
i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3] | \
i[3-7]86-*-linux*aout* | \
i[3-7]86-*-mach* | i[3-7]86-*-osf1mk* | \
@ -141,6 +153,7 @@ case $targ in
or32-*-* | \
powerpc-*-lynxos* | powerpc-*-windiss* | \
powerpcle-*-pe | powerpcle-*-winnt* | powerpcle-*-cygwin* | \
sh*-*-netbsdaout* | \
sh*-*-symbianelf* | sh5*-*-* | sh64*-*-* | \
sparc*-*-*aout* | \
sparc*-*-chorus* | \
@ -345,11 +358,11 @@ case "${targ}" in
targ_defvec=arm_elf32_nacl_be_vec
targ_selvecs="arm_elf32_nacl_le_vec"
;;
armeb-*-netbsdelf*)
armeb-*-netbsd*)
targ_defvec=arm_elf32_be_vec
targ_selvecs="arm_elf32_le_vec"
;;
arm-*-netbsdelf*)
arm-*-netbsd*)
targ_defvec=arm_elf32_le_vec
targ_selvecs="arm_elf32_be_vec"
;;
@ -609,7 +622,7 @@ case "${targ}" in
targ_cflags=-DOLD_FREEBSD_ABI_LABEL ;;
esac
;;
i[3-7]86-*-netbsdelf* | i[3-7]86-*-netbsd*-gnu* | i[3-7]86-*-knetbsd*-gnu)
i[3-7]86-*-netbsd* | i[3-7]86-*-knetbsd*-gnu)
targ_defvec=i386_elf32_vec
targ_selvecs="iamcu_elf32_vec"
targ64_selvecs="x86_64_elf64_vec l1om_elf64_vec k1om_elf64_vec"
@ -983,7 +996,7 @@ case "${targ}" in
targ_defvec=ns32k_aout_pc532mach_vec
targ_underscore=yes
;;
ns32k-*-netbsd* | ns32k-*-lites* | ns32k-*-openbsd*)
ns32k-*-lites* | ns32k-*-openbsd*)
targ_defvec=ns32k_aout_pc532nbsd_vec
targ_underscore=yes
;;
@ -1222,11 +1235,11 @@ case "${targ}" in
targ_selvecs="sh_elf32_le_vec sh_elf32_linux_be_vec sh_elf32_linux_vec sh_elf32_fdpic_le_vec sh_elf32_fdpic_be_vec"
;;
sh*l*-*-netbsdelf*)
sh*l*-*-netbsd*)
targ_defvec=sh_elf32_nbsd_le_vec
targ_selvecs="sh_elf32_nbsd_vec sh_coff_vec sh_coff_le_vec"
;;
sh*-*-netbsdelf*)
sh*-*-netbsd*)
targ_defvec=sh_elf32_nbsd_vec
targ_selvecs="sh_elf32_nbsd_le_vec sh_coff_vec sh_coff_le_vec"
;;
@ -1345,17 +1358,17 @@ case "${targ}" in
targ_underscore=yes
;;
vax-*-netbsdelf*)
targ_defvec=vax_elf32_vec
targ_selvecs="vax_aout_nbsd_vec vax_aout_1knbsd_vec"
;;
vax-*-netbsdaout* | vax-*-netbsd*)
vax-*-netbsdaout*)
targ_defvec=vax_aout_nbsd_vec
targ_selvecs="vax_elf32_vec vax_aout_1knbsd_vec"
targ_underscore=yes
;;
vax-*-netbsd*)
targ_defvec=vax_elf32_vec
targ_selvecs="vax_aout_nbsd_vec vax_aout_1knbsd_vec"
;;
vax-*-openbsd*)
targ_defvec=vax_aout_nbsd_vec
targ_underscore=yes

5
bfd/configure

@ -11758,9 +11758,8 @@ fi
case "${target}" in
hppa*64*-*-* | vax-*-netbsdelf*) ;;
*-*-*aout* | i[3-7]86-*-bsd* | i[3-7]86-*-msdos* | ns32k-*-* | \
pdp11-*-* | vax-*-*bsd*)
hppa*64*-*-*) ;;
*-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
if test "$plugins" = "yes"; then
if test "${enable_plugins+set}" = set; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Enabling plugins for AOUT is experimental" >&5

5
bfd/configure.ac

@ -45,9 +45,8 @@ ACX_LARGEFILE
changequote(,)dnl
case "${target}" in
hppa*64*-*-* | vax-*-netbsdelf*) ;;
*-*-*aout* | i[3-7]86-*-bsd* | i[3-7]86-*-msdos* | ns32k-*-* | \
pdp11-*-* | vax-*-*bsd*)
hppa*64*-*-*) ;;
*-*-*aout*| i[3-7]86-*-msdos* | ns32k-*-* | pdp11-*-*)
changequote([,])dnl
if test "$plugins" = "yes"; then
if test "${enable_plugins+set}" = set; then

1843
bfd/po/bfd.pot

File diff suppressed because it is too large

2745
binutils/po/binutils.pot

File diff suppressed because it is too large

2
binutils/testsuite/binutils-all/nm.exp

@ -304,7 +304,7 @@ if [is_elf_format] {
# The following targets are known to not support ifuncs.
setup_xfail "alpha*-*-*"
setup_xfail "arm*-elf" "arm*-*-nto*" "arm*-*-netbsdelf*"
setup_xfail "arm*-elf" "arm*-*-nto*" "arm*-*-netbsd*"
setup_xfail "*-*-hpux*"
setup_xfail "mips*-*-*" "tx39*-*-*"
setup_xfail "msp430*-*-*"

7
binutils/testsuite/lib/binutils-common.exp

@ -68,9 +68,7 @@ proc is_elf_format {} {
return 0
}
if { ![istarget *-*-netbsdelf*]
&& ( [istarget vax-*-netbsd*]
|| [istarget ns32k-*-netbsd*]) } {
if { [istarget *-*-netbsdaout*] } {
return 0
}
@ -90,8 +88,7 @@ proc is_aout_format {} {
|| [istarget *-*-bsd*]
|| [istarget *-*-msdos*]
|| [istarget ns32k-*-*]
|| [istarget pdp11-*-*]
|| [istarget vax-*-netbsd] } {
|| [istarget pdp11-*-*] } {
return 1
}
return 0

4
config/picflag.m4

@ -60,9 +60,7 @@ case "${$2}" in
sh-*-linux* | sh[[2346lbe]]*-*-linux*)
$1=-fpic
;;
# FIXME: Simplify to sh*-*-netbsd*?
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
sh*-*-netbsd*)
$1=-fpic
;;
# Default to -fPIC unless specified otherwise.

9
gas/configure.tgt

@ -155,7 +155,7 @@ case ${generic_target} in
arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
arm-*-uclinux*) fmt=elf em=linux ;;
arm-*-nacl*) fmt=elf em=nacl ;;
arm-*-netbsdelf*) fmt=elf em=nbsd ;;
arm-*-netbsd*) fmt=elf em=nbsd ;;
arm-*-nto*) fmt=elf ;;
arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*)
fmt=coff em=wince-pe ;;
@ -287,7 +287,7 @@ case ${generic_target} in
m68k-*-linux-*) fmt=elf em=linux ;;
m68k-*-uclinux*) fmt=elf em=uclinux ;;
m68k-*-gnu*) fmt=elf ;;
m68k-*-netbsdelf*) fmt=elf em=nbsd ;;
m68k-*-netbsd*) fmt=elf em=nbsd ;;
s12z-*-*) fmt=elf ;;
@ -373,7 +373,7 @@ case ${generic_target} in
sh*eb) endian=big ;;
*) endian=little ;;
esac ;;
sh*-*-netbsdelf*) fmt=elf em=nbsd
sh*-*-netbsd*) fmt=elf em=nbsd
case ${cpu} in
sh*l*) endian=little ;;
*) endian=big ;;
@ -402,7 +402,8 @@ case ${generic_target} in
v850*-*-*) fmt=elf ;;
vax-*-netbsdelf*) fmt=elf em=nbsd ;;
vax-*-netbsdaout) fmt=aout em=nbsd ;;
vax-*-netbsd*) fmt=elf em=nbsd ;;
vax-*-linux-*) fmt=elf em=linux ;;
visium-*-elf) fmt=elf ;;

3383
gas/po/gas.pot

File diff suppressed because it is too large

2
gas/testsuite/gas/arm/blx-bl-convert.d

@ -1,7 +1,7 @@
#name: blx->bl convert under no -march/cpu
#warning_output: blx-bl-convert.l
#objdump: -d
#skip: *-*-pe *-wince-* *-*-vxworks *-*-netbsdelf *-*-nto*
#skip: *-*-pe *-wince-* *-*-vxworks *-*-netbsd* *-*-nto*
.*: file format .*

2
gas/testsuite/gas/arm/blx-local-thumb.d

@ -1,6 +1,6 @@
#name: Local BLX instructions in Thumb mode.
#objdump: -drw --prefix-addresses --show-raw-insn
#skip: *-*-pe *-*-wince *-*nto* *-*netbsdelf*
#skip: *-*-pe *-*-wince *-*nto* *-*netbsd*
#as:
#warning_output: blx-local-thumb.l

2
gas/testsuite/gas/sh/basic.exp

@ -19,7 +19,7 @@
# Written by Cygnus Support.
if {[istarget "sh*-*-linux-*"] || [istarget "sh*l*-*-netbsdelf*"]} then {
if {[istarget "sh*-*-linux-*"] || [istarget "sh*l*-*-netbsd*"]} then {
global ASFLAGS
set ASFLAGS "$ASFLAGS -big"
}

34
gdb/configure.host

@ -13,23 +13,17 @@
# The default is $host_cpu.
case $host in
arm*-*-netbsdelf* | \
i[34567]86-*-netbsdelf* | \
m68*-*-netbsdelf* | \
sparc-*-netbsdelf* | \
vax-*-netbsdelf*)
;;
*-*-irix* | \
*-*-solaris2.[01] | *-*-solaris2.[2-9]* | *-*-solaris2.10* | \
alpha*-*-osf* | \
alpha*-*-freebsd* | \
alpha*-*-kfreebsd*-gnu | \
arm*-*-netbsd* | \
arm*-*-netbsdaout* | \
hppa*-*-hiux* | \
i[34567]86-ncr-* | \
i[34567]86-*-dgux* | \
i[34567]86-*-lynxos* | \
i[34567]86-*-netbsd* | \
i[34567]86-*-netbsdaout* | \
i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3] | \
i[34567]86-*-sco3.2v5* | \
i[34567]86-*-sco3.2v4* | \
@ -41,11 +35,11 @@ case $host in
i[34567]86-*-unixware* | \
i[34567]86-*-sysv* | \
i[34567]86-*-isc* | \
m68*-*-netbsd* | \
sparc-*-netbsd* | \
m68*-*-netbsdaout* | \
sparc-*-netbsdaout* | \
rs6000-*-lynxos* | \
vax-*-bsd* | \
vax-*-netbsd* | \
vax-*-netbsdaout* | \
vax-*-ultrix* | \
hppa*-*-hpux* | \
ia64-*-hpux* | \
@ -88,7 +82,7 @@ aarch64*-*-linux*) gdb_host=linux ;;
aarch64*-*-freebsd*) gdb_host=fbsd ;;
alpha*-*-linux*) gdb_host=alpha-linux ;;
alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu)
alpha*-*-netbsdaout* | alpha*-*-knetbsdaout*-gnu)
gdb_host=nbsd ;;
alpha*-*-openbsd*) gdb_host=nbsd ;;
@ -96,7 +90,7 @@ arc*-*-linux*) gdb_host=linux ;;
arm*-*-freebsd*) gdb_host=fbsd ;;
arm*-*-linux*) gdb_host=linux ;;
arm*-*-netbsdelf* | arm*-*-knetbsd*-gnu)
arm*-*-netbsd* | arm*-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
arm*-*-openbsd*) gdb_host=nbsdelf ;;
@ -106,7 +100,7 @@ hppa*-*-openbsd*) gdb_host=obsd ;;
i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
gdb_host=fbsd ;;
i[34567]86-*-netbsdelf* | i[34567]86-*-knetbsd*-gnu)
i[34567]86-*-netbsd* | i[34567]86-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
i[34567]86-*-go32*) gdb_host=go32 ;;
i[34567]86-*-mingw32*) gdb_host=mingw
@ -124,14 +118,14 @@ i[34567]86-*-cygwin*) gdb_host=cygwin ;;
ia64-*-linux*) gdb_host=linux ;;
m68*-*-linux*) gdb_host=linux ;;
m68*-*-netbsdelf* | m68*-*-knetbsd*-gnu)
m68*-*-netbsd* | m68*-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
m68*-*-openbsd*) gdb_host=obsd ;;
m88*-*-openbsd*) gdb_host=obsd ;;
mips*-*-linux*) gdb_host=linux ;;
mips*-*-netbsd* | mips*-*-knetbsd*-gnu)
mips*-*-netbsdaout* | mips*-*-knetbsd*-gnu)
gdb_host=nbsd ;;
mips*-*-freebsd*) gdb_host=fbsd ;;
mips64*-*-openbsd*) gdb_host=obsd64 ;;
@ -139,7 +133,7 @@ mips64*-*-openbsd*) gdb_host=obsd64 ;;
powerpc-*-aix* | rs6000-*-* | powerpc64-*-aix*)
gdb_host=aix ;;
powerpc*-*-freebsd*) gdb_host=fbsd ;;
powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu)
powerpc-*-netbsdaout* | powerpc-*-knetbsd*-gnu)
gdb_host=nbsd ;;
powerpc-*-openbsd*) gdb_host=obsd ;;
@ -151,7 +145,7 @@ riscv*-*-linux*) gdb_host=linux ;;
s390*-*-linux*) gdb_host=linux ;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
sh*-*-netbsd* | sh*-*-knetbsd*-gnu)
gdb_host=nbsd ;;
sh*-*-openbsd*) gdb_host=nbsd ;;
@ -159,7 +153,7 @@ sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu)
gdb_host=fbsd ;;
sparc-*-linux*) gdb_host=linux ;;
sparc64-*-linux*) gdb_host=linux64 ;;
sparc-*-netbsdelf* | sparc-*-knetbsd*-gnu)
sparc-*-netbsd* | sparc-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu)
gdb_host=nbsd64 ;;
@ -171,7 +165,7 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
tilegx-*-linux*) gdb_host=linux ;;
vax-*-netbsdelf* | vax-*-knetbsd*-gnu)
vax-*-netbsd* | vax-*-knetbsd*-gnu)
gdb_host=nbsdelf ;;
vax-*-openbsd*) gdb_host=obsd ;;

2
gdb/configure.tgt

@ -580,7 +580,7 @@ sh*-*-linux*)
glibc-tdep.o linux-tdep.o"
gdb_sim=../sim/sh/libsim.a
;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
sh*-*-netbsd* | sh*-*-knetbsd*-gnu)
# Target: NetBSD/sh
gdb_target_obs="sh-tdep.o sh-netbsd-tdep.o"
gdb_sim=../sim/sh/libsim.a

6
gdb/testsuite/gdb.asm/asm-source.exp

@ -166,11 +166,7 @@ if { "${asm-arch}" == "" } {
}
# On NetBSD/ELF we need a special NetBSD-identifying note section.
if { [istarget "*-*-netbsdelf*"]
|| [istarget "alpha-*-netbsd*"]
|| [istarget "mips*-*-netbsd*"]
|| [istarget "powerpc-*-netbsd*"]
|| [istarget "x86_64-*-netbsd*"] } then {
if { [istarget "*-*-netbsd*"] && ![istarget "*-*-netbsdaout*"] } then {
set asm-note "netbsd"
}

2
gold/po/gold.pot

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
"POT-Creation-Date: 2021-07-03 15:03+0100\n"
"POT-Creation-Date: 2021-08-11 10:50+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

36
gprof/po/gprof.pot

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
"POT-Creation-Date: 2021-01-09 10:56+0000\n"
"POT-Creation-Date: 2021-08-11 10:49+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -216,7 +216,7 @@ msgstr ""
msgid "%s: unable to parse mapping file %s.\n"
msgstr ""
#: corefile.c:89 corefile.c:523
#: corefile.c:89 corefile.c:524
#, c-format
msgid "%s: could not open %s.\n"
msgstr ""
@ -246,17 +246,17 @@ msgstr ""
msgid "%s: -c not supported on architecture %s\n"
msgstr ""
#: corefile.c:532 corefile.c:637
#: corefile.c:533 corefile.c:638
#, c-format
msgid "%s: file `%s' has no symbols\n"
msgstr ""
#: corefile.c:537
#: corefile.c:538
#, c-format
msgid "%s: file `%s' has too many symbols\n"
msgstr ""
#: corefile.c:904
#: corefile.c:905
#, c-format
msgid "%s: somebody miscounted: ltab.len=%d instead of %ld\n"
msgstr ""
@ -375,56 +375,56 @@ msgstr ""
msgid "Report bugs to %s\n"
msgstr ""
#: gprof.c:254
#: gprof.c:252
#, c-format
msgid "%s: debugging not supported; -d ignored\n"
msgstr ""
#: gprof.c:340
#: gprof.c:338
#, c-format
msgid "%s: unknown file format %s\n"
msgstr ""
#. This output is intended to follow the GNU standards document.
#: gprof.c:428
#: gprof.c:426
#, c-format
msgid "GNU gprof %s\n"
msgstr ""
#: gprof.c:429
#: gprof.c:427
#, c-format
msgid ""
"Based on BSD gprof, copyright 1983 Regents of the University of California.\n"
msgstr ""
#: gprof.c:430
#: gprof.c:428
#, c-format
msgid ""
"This program is free software. This program has absolutely no warranty.\n"
msgstr ""
#: gprof.c:471
#: gprof.c:469
#, c-format
msgid "%s: unknown demangling style `%s'\n"
msgstr ""
#: gprof.c:494
#: gprof.c:492
#, c-format
msgid ""
"%s: Only one of --function-ordering and --file-ordering may be specified.\n"
msgstr ""
#: gprof.c:546
#: gprof.c:544
#, c-format
msgid "%s: sorry, file format `prof' is not yet supported\n"
msgstr ""
#: gprof.c:600
#: gprof.c:598
#, c-format
msgid "%s: gmon.out file is missing histogram\n"
msgstr ""
#: gprof.c:607
#: gprof.c:605
#, c-format
msgid "%s: gmon.out file is missing call-graph data\n"
msgstr ""
@ -535,17 +535,17 @@ msgstr ""
msgid "[find_call] 0x%lx: jalr\n"
msgstr ""
#: source.c:162
#: source.c:166
#, c-format
msgid "%s: could not locate `%s'\n"
msgstr ""
#: source.c:237
#: source.c:244
#, c-format
msgid "*** File %s:\n"
msgstr ""
#: utils.c:103
#: utils.c:105
#, c-format
msgid " <cycle %d>"
msgstr ""

2
intl/configure

@ -6874,7 +6874,7 @@ case "${host}" in
PICFLAG=-fpic
;;
# FIXME: Simplify to sh*-*-netbsd*?
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh-*-netbsd* | shl*-*-netbsd* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
PICFLAG=-fpic
;;

44
ld/configure.tgt

@ -135,10 +135,10 @@ arm*-*-freebsd* | arm-*-kfreebsd*-gnu)
targ_emul=armelf_fbsd
targ_extra_emuls="armelfb_fbsd armelf"
;;
armeb-*-netbsdelf*) targ_emul=armelfb_nbsd;
armeb-*-netbsd*) targ_emul=armelfb_nbsd;
targ_extra_emuls="armelf_nbsd armelf"
;;
arm-*-netbsdelf*) targ_emul=armelf_nbsd;
arm-*-netbsd*) targ_emul=armelf_nbsd;
targ_extra_emuls="armelfb_nbsd armelf"
;;
arm-*-nto*) targ_emul=armnto
@ -340,7 +340,10 @@ i[3-7]86-*-solaris*) targ_emul=elf_i386_ldso
targ_extra_emuls="elf_i386"
targ_extra_libpath=$targ_extra_emuls
;;
i[3-7]86-*-netbsdelf* | \
i[3-7]86-*-netbsdpe*) targ_emul=i386pe
targ_extra_ofiles="deffilep.o pe-dll.o"
;;
i[3-7]86-*-netbsd* | \
i[3-7]86-*-netbsd*-gnu* | \
i[3-7]86-*-knetbsd*-gnu | \
i[3-7]86-*-openbsd*)
@ -443,7 +446,7 @@ m68hc11-*-*|m6811-*-*) targ_emul=m68hc11elf
m68hc12-*-*|m6812-*-*) targ_emul=m68hc12elf
targ_extra_emuls="m68hc12elfb m68hc11elf m68hc11elfb"
;;
m68*-*-netbsdelf*) targ_emul=m68kelfnbsd
m68*-*-netbsd*) targ_emul=m68kelfnbsd
;;
m68*-*-*) targ_emul=m68kelf
;;
@ -809,10 +812,16 @@ sh*eb-*-linux*) targ_emul=shelf_linux
sh*-*-linux*) targ_emul=shlelf_linux
targ_extra_emuls="shlelf_fd"
;;
sh*l*-*-netbsdelf*) targ_emul=shlelf_nbsd
sh*l*-*-netbsdaout*) targ_emul=shl
targ_extra_emuls=sh
;;
sh*-*-netbsdaout*) targ_emul=sh
targ_extra_emuls=shl
;;
sh*l*-*-netbsd*) targ_emul=shlelf_nbsd
targ_extra_emuls=shelf_nbsd
;;
sh*-*-netbsdelf*) targ_emul=shelf_nbsd
sh*-*-netbsd*) targ_emul=shelf_nbsd
targ_extra_emuls=shlelf_nbsd
;;
shle*-*-elf* | sh[1234]*le*-*-elf | shle*-*-kaos*)
@ -913,13 +922,12 @@ tilepro-*-*) targ_emul=elf32tilepro
v850*-*-*) targ_emul=v850_rh850
targ_extra_emuls=v850
;;
vax-*-netbsdelf*) targ_emul=elf32vax
targ_extra_emuls=vaxnbsd
;;
vax-*-netbsdaout* | vax-*-netbsd*)
targ_emul=vaxnbsd
vax-*-netbsdaout*) targ_emul=vaxnbsd
targ_extra_emuls=elf32vax
;;
vax-*-netbsd*) targ_emul=elf32vax
targ_extra_emuls=vaxnbsd
;;
vax-*-linux-*) targ_emul=elf32vax
;;
visium-*-elf) targ_emul=elf32visium
@ -951,19 +959,9 @@ x86_64-*-netbsd* | x86_64-*-openbsd*)
targ_emul=elf_x86_64
targ_extra_emuls="elf_i386 elf_iamcu elf_l1om elf_k1om"
tdir_elf_iamcu=`echo ${targ_alias} | \
sed -e 's/x86_64/i386/'`
case "${tdir_elf_iamcu}" in
*-netbsdelf*) ;;
*) tdir_elf_iamcu=`echo ${tdir_elf_iamcu} | \
sed -e 's/netbsd/netbsdelf/'`;;
esac
sed -e 's/x86_64/i386/' -e 's/aout//'`
tdir_elf_i386=`echo ${targ_alias} | \
sed -e 's/x86_64/i386/'`
case "${tdir_elf_i386}" in
*-netbsdelf*) ;;
*) tdir_elf_i386=`echo ${tdir_elf_i386} | \
sed -e 's/netbsd/netbsdelf/'`;;
esac
sed -e 's/x86_64/i386/' -e 's/aout//'`
;;
x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*)
targ_emul=elf_x86_64

885
ld/po/ld.pot

File diff suppressed because it is too large

4
ld/testsuite/ld-arm/arm-elf.exp

@ -235,7 +235,7 @@ set tmp {
{{readelf -s script-type.sym}}
"script-type"}
}
if ![istarget "arm*-*-netbsdelf"] { append armelftests_common $tmp }
if ![istarget "arm*-*-netbsd*"] { append armelftests_common $tmp }
set tmp {
{"callweak" "-static -T arm.ld" "" "" {callweak.s}
@ -433,7 +433,7 @@ run_dump_test "pie-bind-locally"
# Exclude non-ARM-EABI targets.
if { [istarget "arm*-*-netbsdelf"] } {
if { [istarget "arm*-*-netbsd*"] } {
return
}

2
ld/testsuite/ld-elf/elf.exp

@ -304,7 +304,7 @@ set array_tests_static {
}
# NetBSD ELF systems do not currently support the .*_array sections.
set xfails "*-*-netbsdelf*"
set xfails "*-*-netbsd*"
run_ld_link_exec_tests $array_tests $xfails
if { [istarget *-*-linux*]

4
ld/testsuite/ld-elf/shared.exp

@ -1124,7 +1124,7 @@ set run_tests [list \
]
# NetBSD ELF systems do not currently support the .*_array sections.
run_ld_link_exec_tests $run_tests "*-*-netbsdelf*"
run_ld_link_exec_tests $run_tests "*-*-netbsd*"
# These tests require dlopen support.
set dlopen_run_tests [list \
@ -1182,7 +1182,7 @@ if [check_libdl_available] {
# Disable all sanitizers.
set old_CFLAGS "$CFLAGS"
append CFLAGS " $NOSANITIZE_CFLAGS"
run_ld_link_exec_tests $dlopen_run_tests "*-*-netbsdelf*"
run_ld_link_exec_tests $dlopen_run_tests "*-*-netbsd*"
set CFLAGS "$old_CFLAGS"
}

4
libiberty/configure

@ -5358,9 +5358,7 @@ case "${host}" in
sh-*-linux* | sh[2346lbe]*-*-linux*)
PICFLAG=-fpic
;;
# FIXME: Simplify to sh*-*-netbsd*?
sh-*-netbsdelf* | shl*-*-netbsdelf* | sh5-*-netbsd* | sh5l*-*-netbsd* | \
sh64-*-netbsd* | sh64l*-*-netbsd*)
sh*-*-netbsd*)
PICFLAG=-fpic
;;
# Default to -fPIC unless specified otherwise.

106
opcodes/po/opcodes.pot

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
"POT-Creation-Date: 2021-07-03 15:03+0100\n"
"POT-Creation-Date: 2021-08-11 10:45+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -26,7 +26,7 @@ msgid "specified register cannot be written to"
msgstr ""
#. Invalid option.
#: aarch64-dis.c:94 arc-dis.c:802 arm-dis.c:11652
#: aarch64-dis.c:94 arc-dis.c:802 arm-dis.c:11669
#, c-format
msgid "unrecognised disassembler option: %s"
msgstr ""
@ -591,67 +591,67 @@ msgstr ""
msgid "invalid position, should be one of: 0,4,8,...124."
msgstr ""
#: arm-dis.c:5187
#: arm-dis.c:5204
msgid "Select raw register names"
msgstr ""
#: arm-dis.c:5189
#: arm-dis.c:5206
msgid "Select register names used by GCC"
msgstr ""
#: arm-dis.c:5191
#: arm-dis.c:5208
msgid "Select register names used in ARM's ISA documentation"
msgstr ""
#: arm-dis.c:5193
#: arm-dis.c:5210
msgid "Assume all insns are Thumb insns"
msgstr ""
#: arm-dis.c:5194
#: arm-dis.c:5211
msgid "Examine preceding label to determine an insn's type"
msgstr ""
#: arm-dis.c:5195
#: arm-dis.c:5212
msgid "Select register names used in the APCS"
msgstr ""
#: arm-dis.c:5197
#: arm-dis.c:5214
msgid "Select register names used in the ATPCS"
msgstr ""
#: arm-dis.c:5199
#: arm-dis.c:5216
msgid "Select special register names used in the ATPCS"
msgstr ""
#: arm-dis.c:5201
#: arm-dis.c:5218
msgid "Enable CDE extensions for coprocessor N space"
msgstr ""
#: arm-dis.c:8373
#: arm-dis.c:8390
msgid "<illegal precision>"
msgstr ""
#: arm-dis.c:11613
#: arm-dis.c:11630
#, c-format
msgid "unrecognised register name set: %s"
msgstr ""
#: arm-dis.c:11627
#: arm-dis.c:11644
#, c-format
msgid "cde coprocessor not between 0-7: %s"
msgstr ""
#: arm-dis.c:11633
#: arm-dis.c:11650
#, c-format
msgid "coproc must have an argument: %s"
msgstr ""
#: arm-dis.c:11646
#: arm-dis.c:11663
#, c-format
msgid "coprocN argument takes options \"generic\", \"cde\", or \"CDE\": %s"
msgstr ""
#: arm-dis.c:12357
#: arm-dis.c:12374
#, c-format
msgid ""
"\n"
@ -1055,11 +1055,11 @@ msgstr ""
msgid "Don't understand 0x%x \n"
msgstr ""
#: i386-dis.c:8591
#: i386-dis.c:8642
msgid "<internal disassembler error>"
msgstr ""
#: i386-dis.c:8900
#: i386-dis.c:8952
#, c-format
msgid ""
"\n"
@ -1068,175 +1068,175 @@ msgid ""
"with the -M switch (multiple options should be separated by commas):\n"
msgstr ""
#: i386-dis.c:8904
#: i386-dis.c:8956
#, c-format
msgid " x86-64 Disassemble in 64bit mode\n"
msgstr ""
#: i386-dis.c:8905
#: i386-dis.c:8957
#, c-format
msgid " i386 Disassemble in 32bit mode\n"
msgstr ""
#: i386-dis.c:8906
#: i386-dis.c:8958
#, c-format
msgid " i8086 Disassemble in 16bit mode\n"
msgstr ""
#: i386-dis.c:8907
#: i386-dis.c:8959
#, c-format
msgid " att Display instruction in AT&T syntax\n"
msgstr ""
#: i386-dis.c:8908
#: i386-dis.c:8960
#, c-format
msgid " intel Display instruction in Intel syntax\n"
msgstr ""
#: i386-dis.c:8909
#: i386-dis.c:8961
#, c-format
msgid ""
" att-mnemonic\n"
" Display instruction in AT&T mnemonic\n"
msgstr ""
#: i386-dis.c:8911
#: i386-dis.c:8963
#, c-format
msgid ""
" intel-mnemonic\n"
" Display instruction in Intel mnemonic\n"
msgstr ""
#: i386-dis.c:8913
#: i386-dis.c:8965
#, c-format
msgid " addr64 Assume 64bit address size\n"
msgstr ""
#: i386-dis.c:8914
#: i386-dis.c:8966
#, c-format
msgid " addr32 Assume 32bit address size\n"
msgstr ""
#: i386-dis.c:8915
#: i386-dis.c:8967
#, c-format
msgid " addr16 Assume 16bit address size\n"
msgstr ""
#: i386-dis.c:8916
#: i386-dis.c:8968
#, c-format
msgid " data32 Assume 32bit data size\n"
msgstr ""
#: i386-dis.c:8917
#: i386-dis.c:8969
#, c-format
msgid " data16 Assume 16bit data size\n"
msgstr ""
#: i386-dis.c:8918
#: i386-dis.c:8970
#, c-format
msgid " suffix Always display instruction suffix in AT&T syntax\n"
msgstr ""
#: i386-dis.c:8919
#: i386-dis.c:8971
#, c-format
msgid " amd64 Display instruction in AMD64 ISA\n"
msgstr ""
#: i386-dis.c:8920
#: i386-dis.c:8972
#, c-format
msgid " intel64 Display instruction in Intel64 ISA\n"
msgstr ""
#: i386-dis.c:9484
#: i386-dis.c:9541
msgid "64-bit address is disabled"
msgstr ""
#: i386-gen.c:851
#: i386-gen.c:857
#, c-format
msgid "%s: error: "
msgstr ""
#: i386-gen.c:1007
#: i386-gen.c:1013
#, c-format
msgid "%s: %d: unknown bitfield: %s\n"
msgstr ""
#: i386-gen.c:1009
#: i386-gen.c:1015
#, c-format
msgid "unknown bitfield: %s\n"
msgstr ""
#: i386-gen.c:1072
#: i386-gen.c:1078
#, c-format
msgid "%s: %d: missing `)' in bitfield: %s\n"
msgstr ""
#: i386-gen.c:1173
#: i386-gen.c:1179
#, c-format
msgid "unknown broadcast operand: %s\n"
msgstr ""
#: i386-gen.c:1228
#: i386-gen.c:1234
#, c-format
msgid "%s:%d: Conflicting opcode space specifications\n"
msgstr ""
#: i386-gen.c:1232
#: i386-gen.c:1238
#, c-format
msgid "%s:%d: Warning: redundant opcode space specification\n"
msgstr ""
#: i386-gen.c:1241
#: i386-gen.c:1247
#, c-format
msgid "%s:%d: Conflicting prefix specifications\n"
msgstr ""
#: i386-gen.c:1245
#: i386-gen.c:1251
#, c-format
msgid "%s:%d: Warning: redundant prefix specification\n"
msgstr ""
#: i386-gen.c:1455
#: i386-gen.c:1461
#, c-format
msgid "%s:%d: %s: unrecognized opcode encoding space\n"
msgstr ""
#: i386-gen.c:1461
#: i386-gen.c:1467
#, c-format
msgid "%s:%d: %s: residual opcode (0x%0*llx) too large\n"
msgstr ""
#: i386-gen.c:1883
#: i386-gen.c:1889
#, c-format
msgid "can't find i386-reg.tbl for reading, errno = %s\n"
msgstr ""
#: i386-gen.c:1961
#: i386-gen.c:1967
#, c-format
msgid "can't create i386-init.h, errno = %s\n"
msgstr ""
#: i386-gen.c:2051 ia64-gen.c:2829
#: i386-gen.c:2057 ia64-gen.c:2829
#, c-format
msgid "unable to change directory to \"%s\", errno = %s\n"
msgstr ""
#: i386-gen.c:2065 i386-gen.c:2070
#: i386-gen.c:2071 i386-gen.c:2076
#, c-format
msgid "CpuMax != %d!\n"
msgstr ""
#: i386-gen.c:2074
#: i386-gen.c:2080
#, c-format
msgid "%d unused bits in i386_cpu_flags.\n"
msgstr ""
#: i386-gen.c:2089
#: i386-gen.c:2095
#, c-format
msgid "%d unused bits in i386_operand_type.\n"
msgstr ""
#: i386-gen.c:2103
#: i386-gen.c:2109
#, c-format
msgid "can't create i386-tbl.h, errno = %s\n"
msgstr ""

Loading…
Cancel
Save