aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-16 15:13:07 +0930
committerAlan Modra <amodra@gmail.com>2018-04-16 15:13:07 +0930
commit5972ac7375e9b6a6f0c4bdef31d3da574fb1b65e (patch)
treebac695902b3f4858c48e4715122291c3cc1e19a0 /bfd
parentb4b594e304d44458e25e106ddb4824a37aaf556c (diff)
downloadgdb-5972ac7375e9b6a6f0c4bdef31d3da574fb1b65e.zip
gdb-5972ac7375e9b6a6f0c4bdef31d3da574fb1b65e.tar.gz
gdb-5972ac7375e9b6a6f0c4bdef31d3da574fb1b65e.tar.bz2
Remove sony newsos3 support
include/ * aout/host.h: Remove newsos3 support. bfd/ * Makefile.am: Remove newsos3 support. * aoutx.h: Likewise. * config.bfd: Likewise. * configure.ac: Likewise. * targets.c: Likewise. * newsos3.c: Delete. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * testsuite/binutils-all/copy-2.d: Remove newsos3 support. * testsuite/binutils-all/nm.exp: Likewise. ld/ * Makefile.am: Remove newsos3 support. * configure.tgt: Likewise. * emulparams/news.sh: Delete. * Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog12
-rw-r--r--bfd/Makefile.am2
-rw-r--r--bfd/Makefile.in3
-rw-r--r--bfd/aoutx.h3
-rw-r--r--bfd/config.bfd7
-rwxr-xr-xbfd/configure9
-rw-r--r--bfd/configure.ac9
-rw-r--r--bfd/newsos3.c43
-rw-r--r--bfd/po/SRC-POTFILES.in1
-rw-r--r--bfd/targets.c2
10 files changed, 14 insertions, 77 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9e26d90..f17bcc7 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,17 @@
2018-04-16 Alan Modra <amodra@gmail.com>
+ * Makefile.am: Remove newsos3 support.
+ * aoutx.h: Likewise.
+ * config.bfd: Likewise.
+ * configure.ac: Likewise.
+ * targets.c: Likewise.
+ * newsos3.c: Delete.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * po/SRC-POTFILES.in: Regenerate.
+
+2018-04-16 Alan Modra <amodra@gmail.com>
+
* Makefile.am: Remove netware support.
* bfd-in.h: Likewise.
* bfd.c: Likewise.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 0ed96c9..88cd960 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -410,7 +410,6 @@ BFD32_BACKENDS = \
mach-o-i386.lo \
mach-o-arm.lo \
mipsbsd.lo \
- newsos3.lo \
ns32knetbsd.lo \
oasys.lo \
pc532-mach.lo \
@@ -596,7 +595,6 @@ BFD32_BACKENDS_CFILES = \
mach-o-i386.c \
mach-o-arm.c \
mipsbsd.c \
- newsos3.c \
ns32knetbsd.c \
oasys.c \
pc532-mach.c \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 91614ce..0a9167c 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -744,7 +744,6 @@ BFD32_BACKENDS = \
mach-o-i386.lo \
mach-o-arm.lo \
mipsbsd.lo \
- newsos3.lo \
ns32knetbsd.lo \
oasys.lo \
pc532-mach.lo \
@@ -930,7 +929,6 @@ BFD32_BACKENDS_CFILES = \
mach-o-i386.c \
mach-o-arm.c \
mipsbsd.c \
- newsos3.c \
ns32knetbsd.c \
oasys.c \
pc532-mach.c \
@@ -1579,7 +1577,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mipsbsd.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mmo.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netbsd-core.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/newsos3.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ns32knetbsd.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/oasys.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/opncls.Plo@am__quote@
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7809fac..fb1ac7d 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -39,8 +39,7 @@ DESCRIPTION
This information is further split out into more specific files
for each machine, including @file{sunos.c} for sun3 and sun4,
- @file{newsos3.c} for the Sony NEWS, and @file{demo64.c} for a
- demonstration of a 64 bit a.out format.
+ and @file{demo64.c} for a demonstration of a 64 bit a.out format.
The base file @file{aoutx.h} defines general mechanisms for
reading and writing records to and from disk and various
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 4f6fb94..02c3188 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -110,7 +110,6 @@ case $targ in
we32k-*-* | \
w65-*-* | \
*-*-ieee* | \
- *-sony-* | \
*-tandem-* | \
i370-* | \
sh5*-*-* | sh64*-*-* | \
@@ -127,6 +126,7 @@ esac
case $targ in
*-adobe-* | \
*-go32-rtems* | \
+ *-sony-* | \
*-*-netware* | \
*-*-rtemsaout* | \
*-*-rtemscoff* | \
@@ -1797,11 +1797,6 @@ case "${targ}" in
targ_defvec=ieee_vec
;;
- *-sony-*)
- targ_defvec=m68k_aout_newsos3_vec
- targ_underscore=yes
- ;;
-
*-tandem-*)
targ_defvec=m68k_coff_vec
targ_selvecs=ieee_vec
diff --git a/bfd/configure b/bfd/configure
index 81befe3..d3d05b4 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -14454,7 +14454,6 @@ do
m68k_aout_hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
m68k_aout_linux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
m68k_aout_nbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
- m68k_aout_newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
m68k_coff_vec) tb="$tb coff-m68k.lo $coff" ;;
m68k_coff_apollo_vec) tb="$tb coff-apollo.lo $coffgen" ;;
m68k_coff_aux_vec) tb="$tb coff-aux.lo coff-m68k.lo $coff" ;;
@@ -14892,10 +14891,6 @@ if test "${target}" = "${host}"; then
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/riscos.h"'
;;
- mips-sony-bsd*)
- COREFILE=trad-core.lo
- TRAD_HEADER='"hosts/news-mips.h"'
- ;;
m68*-bull*-sysv*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/dpx2.h"'
@@ -14913,10 +14908,6 @@ if test "${target}" = "${host}"; then
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/delta68.h"'
;;
- m68*-sony-*)
- COREFILE=trad-core.lo
- TRAD_HEADER='"hosts/news.h"'
- ;;
m68*-*-netbsd* | m68*-*-openbsd*)
COREFILE=netbsd-core.lo
;;
diff --git a/bfd/configure.ac b/bfd/configure.ac
index e8250ad..77edd1b 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -531,7 +531,6 @@ do
m68k_aout_hp300hpux_vec) tb="$tb hp300hpux.lo aout32.lo" ;;
m68k_aout_linux_vec) tb="$tb m68klinux.lo aout32.lo" ;;
m68k_aout_nbsd_vec) tb="$tb m68knetbsd.lo aout32.lo" ;;
- m68k_aout_newsos3_vec) tb="$tb newsos3.lo aout32.lo" ;;
m68k_coff_vec) tb="$tb coff-m68k.lo $coff" ;;
m68k_coff_apollo_vec) tb="$tb coff-apollo.lo $coffgen" ;;
m68k_coff_aux_vec) tb="$tb coff-aux.lo coff-m68k.lo $coff" ;;
@@ -978,10 +977,6 @@ changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/riscos.h"'
;;
- mips-sony-bsd*)
- COREFILE=trad-core.lo
- TRAD_HEADER='"hosts/news-mips.h"'
- ;;
m68*-bull*-sysv*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/dpx2.h"'
@@ -999,10 +994,6 @@ changequote([,])dnl
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/delta68.h"'
;;
- m68*-sony-*)
- COREFILE=trad-core.lo
- TRAD_HEADER='"hosts/news.h"'
- ;;
m68*-*-netbsd* | m68*-*-openbsd*)
COREFILE=netbsd-core.lo
;;
diff --git a/bfd/newsos3.c b/bfd/newsos3.c
deleted file mode 100644
index 7ca0ea7..0000000
--- a/bfd/newsos3.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* BFD back-end for NewsOS3 (Sony, 68k) binaries.
- Copyright (C) 1990-2018 Free Software Foundation, Inc.
-
- This file is part of BFD, the Binary File Descriptor library.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
- MA 02110-1301, USA. */
-
-#define TARGET_PAGE_SIZE 4096
-#define SEGMENT_SIZE TARGET_PAGE_SIZE
-#define TEXT_START_ADDR 0
-
-/* Do not "beautify" the CONCAT* macro args. Traditional C will not
- remove whitespace added here, and thus will fail to concatenate
- the tokens. */
-#define MY(OP) CONCAT2 (m68k_aout_newsos3_,OP)
-#define TARGETNAME "a.out-newsos3"
-#define ENTRY_CAN_BE_ZERO
-#define DEFAULT_ARCH bfd_arch_m68k
-#define TARGET_IS_BIG_ENDIAN_P
-#define N_HEADER_IN_TEXT(x) 0
-
-#include "sysdep.h"
-#include "bfd.h"
-#include "libbfd.h"
-#include "aout/aout64.h"
-#include "aout/stab_gnu.h"
-#include "aout/ar.h"
-#include "libaout.h" /* BFD a.out internal data structures */
-
-#include "aout-target.h"
diff --git a/bfd/po/SRC-POTFILES.in b/bfd/po/SRC-POTFILES.in
index 7604f72..76aad8a 100644
--- a/bfd/po/SRC-POTFILES.in
+++ b/bfd/po/SRC-POTFILES.in
@@ -309,7 +309,6 @@ mipsbsd.c
mmo.c
netbsd-core.c
netbsd.h
-newsos3.c
ns32k.h
ns32knetbsd.c
oasys.c
diff --git a/bfd/targets.c b/bfd/targets.c
index c5ebcd6..4951d02 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -710,7 +710,6 @@ extern const bfd_target m68k_aout_hp300bsd_vec;
extern const bfd_target m68k_aout_hp300hpux_vec;
extern const bfd_target m68k_aout_linux_vec;
extern const bfd_target m68k_aout_nbsd_vec;
-extern const bfd_target m68k_aout_newsos3_vec;
extern const bfd_target m68k_coff_vec;
extern const bfd_target m68k_coff_apollo_vec;
extern const bfd_target m68k_coff_aux_vec;
@@ -1158,7 +1157,6 @@ static const bfd_target * const _bfd_target_vector[] =
&m68k_aout_linux_vec,
#endif
&m68k_aout_nbsd_vec,
- &m68k_aout_newsos3_vec,
&m68k_coff_vec,
#if 0
&m68k_coff_apollo_vec,