aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-18 03:51:51 +0000
committerAlan Modra <amodra@gmail.com>2005-08-18 03:51:51 +0000
commitc17ae8a24ed279ed7e58af6fe08ead6e0600a74a (patch)
tree220fffa12f57b6549e7540f80cde55391f3bdbb5 /bfd
parent909272ee76c4915692763a3dde6b4b1dc21fc166 (diff)
downloadgdb-c17ae8a24ed279ed7e58af6fe08ead6e0600a74a.zip
gdb-c17ae8a24ed279ed7e58af6fe08ead6e0600a74a.tar.gz
gdb-c17ae8a24ed279ed7e58af6fe08ead6e0600a74a.tar.bz2
Remove a29k support.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog19
-rw-r--r--bfd/Makefile.am8
-rw-r--r--bfd/Makefile.in8
-rw-r--r--bfd/aoutf1.h9
-rw-r--r--bfd/aoutx.h6
-rw-r--r--bfd/archures.c4
-rw-r--r--bfd/bfd-in2.h2
-rw-r--r--bfd/coffcode.h32
-rw-r--r--bfd/config.bfd17
-rwxr-xr-xbfd/configure1
-rw-r--r--bfd/configure.in1
-rw-r--r--bfd/ieee.c5
-rw-r--r--bfd/mipsbsd.c4
-rw-r--r--bfd/pdp11.c4
-rw-r--r--bfd/po/SRC-POTFILES.in2
-rw-r--r--bfd/sparclynx.c9
-rw-r--r--bfd/targets.c2
17 files changed, 20 insertions, 113 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 27b6231..4a168c8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,24 @@
2005-08-18 Alan Modra <amodra@bigpond.net.au>
+ * Makefile.am: Remove mention of a29k files.
+ * aoutf1.h: Remove a29k support.
+ * aoutx.h: Likewise.
+ * archures.c: Likewise.
+ * coffcode.h: Likewise.
+ * config.bfd: Likewise.
+ * configure.in: Likewise.
+ * ieee.c: Likewise.
+ * mipsbsd.c: Likewise.
+ * pdp11.c: Likewise.
+ * sparclynx.c: Likewise.
+ * targets.c: Likewise.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * po/SRC-POTFILES.in: Regenerate.
+
+2005-08-18 Alan Modra <amodra@bigpond.net.au>
+
* elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Warn on
zero size dynamic variables.
* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index c038e86..a4fcc64 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -54,7 +54,6 @@ BFD64_LIBS_CFILES = archive64.c
# This list is alphabetized to make it easier to keep in sync
# with the decls and initializer in archures.c.
ALL_MACHINES = \
- cpu-a29k.lo \
cpu-alpha.lo \
cpu-arc.lo \
cpu-arm.lo \
@@ -114,7 +113,6 @@ ALL_MACHINES = \
cpu-z8k.lo
ALL_MACHINES_CFILES = \
- cpu-a29k.c \
cpu-alpha.c \
cpu-arc.c \
cpu-arm.c \
@@ -188,7 +186,6 @@ BFD32_BACKENDS = \
bout.lo \
cf-i386lynx.lo \
cf-sparclynx.lo \
- coff-a29k.lo \
coff-apollo.lo \
coff-arm.lo \
coff-aux.lo \
@@ -358,7 +355,6 @@ BFD32_BACKENDS_CFILES = \
bout.c \
cf-i386lynx.c \
cf-sparclynx.c \
- coff-a29k.c \
coff-apollo.c \
coff-arm.c \
coff-aux.c \
@@ -961,7 +957,6 @@ simple.lo: simple.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
$(INCDIR)/bfdlink.h
archive64.lo: archive64.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
$(INCDIR)/aout/ar.h
-cpu-a29k.lo: cpu-a29k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-alpha.lo: cpu-alpha.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-arc.lo: cpu-arc.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-arm.lo: cpu-arm.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
@@ -1074,9 +1069,6 @@ cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/filenames.h \
$(INCDIR)/hashtab.h $(INCDIR)/coff/sparc.h $(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
coffcode.h coffswap.h
-coff-a29k.lo: coff-a29k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
- $(INCDIR)/coff/a29k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
- libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
coff-apollo.lo: coff-apollo.c $(INCDIR)/filenames.h \
$(INCDIR)/hashtab.h $(INCDIR)/coff/apollo.h $(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 5d8043c..ff66e3c 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -291,7 +291,6 @@ BFD64_LIBS_CFILES = archive64.c
# This list is alphabetized to make it easier to keep in sync
# with the decls and initializer in archures.c.
ALL_MACHINES = \
- cpu-a29k.lo \
cpu-alpha.lo \
cpu-arc.lo \
cpu-arm.lo \
@@ -351,7 +350,6 @@ ALL_MACHINES = \
cpu-z8k.lo
ALL_MACHINES_CFILES = \
- cpu-a29k.c \
cpu-alpha.c \
cpu-arc.c \
cpu-arm.c \
@@ -426,7 +424,6 @@ BFD32_BACKENDS = \
bout.lo \
cf-i386lynx.lo \
cf-sparclynx.lo \
- coff-a29k.lo \
coff-apollo.lo \
coff-arm.lo \
coff-aux.lo \
@@ -596,7 +593,6 @@ BFD32_BACKENDS_CFILES = \
bout.c \
cf-i386lynx.c \
cf-sparclynx.c \
- coff-a29k.c \
coff-apollo.c \
coff-arm.c \
coff-aux.c \
@@ -1528,7 +1524,6 @@ simple.lo: simple.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
$(INCDIR)/bfdlink.h
archive64.lo: archive64.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
$(INCDIR)/aout/ar.h
-cpu-a29k.lo: cpu-a29k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-alpha.lo: cpu-alpha.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-arc.lo: cpu-arc.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
cpu-arm.lo: cpu-arm.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
@@ -1641,9 +1636,6 @@ cf-sparclynx.lo: cf-sparclynx.c coff-sparc.c $(INCDIR)/filenames.h \
$(INCDIR)/hashtab.h $(INCDIR)/coff/sparc.h $(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
coffcode.h coffswap.h
-coff-a29k.lo: coff-a29k.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
- $(INCDIR)/coff/a29k.h $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
- libcoff.h $(INCDIR)/bfdlink.h coffcode.h coffswap.h
coff-apollo.lo: coff-apollo.c $(INCDIR)/filenames.h \
$(INCDIR)/hashtab.h $(INCDIR)/coff/apollo.h $(INCDIR)/coff/external.h \
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h \
diff --git a/bfd/aoutf1.h b/bfd/aoutf1.h
index 36d8a79..cff7b3c 100644
--- a/bfd/aoutf1.h
+++ b/bfd/aoutf1.h
@@ -143,11 +143,6 @@ sunos_set_arch_mach (bfd *abfd, enum machine_type machtype)
machine = 0;
break;
- case M_29K:
- arch = bfd_arch_a29k;
- machine = 0;
- break;
-
case M_HPUX:
arch = bfd_arch_m68k;
machine = 0;
@@ -173,7 +168,6 @@ choose_reloc_size (bfd *abfd)
switch (bfd_get_arch (abfd))
{
case bfd_arch_sparc:
- case bfd_arch_a29k:
obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;
break;
default:
@@ -229,9 +223,6 @@ sunos_write_object_contents (bfd *abfd)
case bfd_arch_i386:
N_SET_MACHTYPE (*execp, M_386);
break;
- case bfd_arch_a29k:
- N_SET_MACHTYPE (*execp, M_29K);
- break;
default:
N_SET_MACHTYPE (*execp, M_UNKNOWN);
}
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index cb577b2..4079147 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -730,11 +730,6 @@ NAME (aout, machine_type) (enum bfd_architecture arch,
arch_flags = M_386;
break;
- case bfd_arch_a29k:
- if (machine == 0)
- arch_flags = M_29K;
- break;
-
case bfd_arch_arm:
if (machine == 0)
arch_flags = M_ARM;
@@ -848,7 +843,6 @@ NAME (aout, set_arch_mach) (bfd *abfd,
switch (arch)
{
case bfd_arch_sparc:
- case bfd_arch_a29k:
case bfd_arch_mips:
obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;
break;
diff --git a/bfd/archures.c b/bfd/archures.c
index eca4601..a6d9654 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -111,7 +111,6 @@ DESCRIPTION
.
. bfd_arch_or32, {* OpenRISC 32 *}
.
-. bfd_arch_a29k, {* AMD 29000 *}
. bfd_arch_sparc, {* SPARC *}
.#define bfd_mach_sparc 1
.{* The difference between v8plus and v9 is that v9 is a true 64 bit env. *}
@@ -170,7 +169,6 @@ DESCRIPTION
. bfd_arch_i860, {* Intel 860 *}
. bfd_arch_i370, {* IBM 360/370 Mainframes *}
. bfd_arch_romp, {* IBM ROMP PC/RT *}
-. bfd_arch_alliant, {* Alliant *}
. bfd_arch_convex, {* Convex *}
. bfd_arch_m88k, {* Motorola 88xxx *}
. bfd_arch_m98k, {* Motorola 98xxx *}
@@ -403,7 +401,6 @@ DESCRIPTION
.
*/
-extern const bfd_arch_info_type bfd_a29k_arch;
extern const bfd_arch_info_type bfd_alpha_arch;
extern const bfd_arch_info_type bfd_arc_arch;
extern const bfd_arch_info_type bfd_arm_arch;
@@ -468,7 +465,6 @@ static const bfd_arch_info_type * const bfd_archures_list[] =
#ifdef SELECT_ARCHITECTURES
SELECT_ARCHITECTURES,
#else
- &bfd_a29k_arch,
&bfd_alpha_arch,
&bfd_arc_arch,
&bfd_arm_arch,
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 139627a..2014c54 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1695,7 +1695,6 @@ enum bfd_architecture
bfd_arch_or32, /* OpenRISC 32 */
- bfd_arch_a29k, /* AMD 29000 */
bfd_arch_sparc, /* SPARC */
#define bfd_mach_sparc 1
/* The difference between v8plus and v9 is that v9 is a true 64 bit env. */
@@ -1754,7 +1753,6 @@ enum bfd_architecture
bfd_arch_i860, /* Intel 860 */
bfd_arch_i370, /* IBM 360/370 Mainframes */
bfd_arch_romp, /* IBM ROMP PC/RT */
- bfd_arch_alliant, /* Alliant */
bfd_arch_convex, /* Convex */
bfd_arch_m88k, /* Motorola 88xxx */
bfd_arch_m98k, /* Motorola 98xxx */
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 8b01f9e..3b94dff 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -1888,12 +1888,6 @@ coff_set_arch_mach_hook (bfd *abfd, void * filehdr)
arch = bfd_arch_ia64;
break;
#endif
-#ifdef A29K_MAGIC_BIG
- case A29K_MAGIC_BIG:
- case A29K_MAGIC_LITTLE:
- arch = bfd_arch_a29k;
- break;
-#endif
#ifdef ARMMAGIC
case ARMMAGIC:
case ARMPEMAGIC:
@@ -2781,15 +2775,6 @@ coff_set_flags (bfd * abfd,
break;
#endif
-#ifdef A29K_MAGIC_BIG
- case bfd_arch_a29k:
- if (bfd_big_endian (abfd))
- *magicp = A29K_MAGIC_BIG;
- else
- *magicp = A29K_MAGIC_LITTLE;
- return TRUE;
-#endif
-
#ifdef WE32KMAGIC
case bfd_arch_we32k:
*magicp = WE32KMAGIC;
@@ -3771,18 +3756,6 @@ coff_write_object_contents (bfd * abfd)
internal_f.f_flags |= flags;
/* ...and the "opt"hdr... */
-#ifdef A29K
-#ifdef ULTRA3 /* NYU's machine */
- /* FIXME: This is a bogus check. I really want to see if there
- is a .shbss or a .shdata section, if so then set the magic
- number to indicate a shared data executable. */
- if (internal_f.f_nscns >= 7)
- internal_a.magic = SHMAGIC; /* Shared magic. */
- else
-#endif /* ULTRA3 */
- internal_a.magic = NMAGIC; /* Assume separate i/d. */
-#define __A_MAGIC_SET__
-#endif /* A29K */
#ifdef TICOFF_AOUT_MAGIC
internal_a.magic = TICOFF_AOUT_MAGIC;
#define __A_MAGIC_SET__
@@ -4481,11 +4454,6 @@ coff_slurp_symbol_table (bfd * abfd)
case C_MOS: /* Member of structure. */
case C_EOS: /* End of structure. */
-#ifdef NOTDEF /* C_AUTOARG has the same value. */
-#ifdef C_GLBLREG
- case C_GLBLREG: /* A29k-specific storage class. */
-#endif
-#endif
case C_REGPARM: /* Register parameter. */
case C_REG: /* register variable. */
/* C_AUTOARG conflicts with TI COFF C_UEXT. */
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 2fe741b..180e895 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -53,7 +53,7 @@ case $targ in
vax-*-vms* | \
arm-*-oabi | \
thumb-*-oabi | \
- a29k-*rtems* | \
+ a29k-* | \
hppa*-*-rtems* | \
*-go32-rtems* | \
i[3-7]86*-*-rtemscoff* | \
@@ -305,17 +305,6 @@ case "${targ}" in
targ_underscore=yes
;;
- a29k-*-ebmon* | a29k-*-udi* | a29k-*-coff* | a29k-*-sym1* | \
- a29k-*-vxworks* | a29k-*-sysv*)
- targ_defvec=a29kcoff_big_vec
- targ_selvecs=sunos_big_vec
- targ_underscore=yes
- ;;
- a29k-*-aout* | a29k-*-bsd* | a29k-*-vsta*)
- targ_defvec=sunos_big_vec
- targ_underscore=yes
- ;;
-
avr-*-*)
targ_defvec=bfd_elf32_avr_vec
;;
@@ -1243,10 +1232,6 @@ case "${targ}" in
targ_defvec=bfd_elf32_sparc_vec
targ_selvecs="sparclinux_vec bfd_elf64_sparc_vec sunos_big_vec"
;;
- sparc-*-lynxos*)
- targ_defvec=sparclynx_coff_vec
- targ_selvecs=sparclynx_aout_vec
- ;;
sparc-*-netbsdelf*)
targ_defvec=bfd_elf32_sparc_vec
targ_selvecs=sparcnetbsd_vec
diff --git a/bfd/configure b/bfd/configure
index c5296ad..bffdfb0 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -12939,7 +12939,6 @@ do
# This list is alphabetized to make it easy to compare
# with the two vector lists in targets.c. For the same reason,
# use one entry per line, even though this leads to long lines.
- a29kcoff_big_vec) tb="$tb coff-a29k.lo cofflink.lo" ;;
a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
diff --git a/bfd/configure.in b/bfd/configure.in
index 15d9798..7876cd4 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -560,7 +560,6 @@ do
# This list is alphabetized to make it easy to compare
# with the two vector lists in targets.c. For the same reason,
# use one entry per line, even though this leads to long lines.
- a29kcoff_big_vec) tb="$tb coff-a29k.lo cofflink.lo" ;;
a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;;
aix5coff64_vec) tb="$tb coff64-rs6000.lo xcofflink.lo aix5ppc-core.lo"; target_size=64 ;;
aout0_big_vec) tb="$tb aout0.lo aout32.lo" ;;
diff --git a/bfd/ieee.c b/bfd/ieee.c
index b517c02..3dca9b3 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -3412,11 +3412,6 @@ ieee_write_processor (bfd *abfd)
return FALSE;
break;
- case bfd_arch_a29k:
- if (! ieee_write_id (abfd, "29000"))
- return FALSE;
- break;
-
case bfd_arch_h8300:
if (! ieee_write_id (abfd, "H8/300"))
return FALSE;
diff --git a/bfd/mipsbsd.c b/bfd/mipsbsd.c
index c38df54..b8621e4 100644
--- a/bfd/mipsbsd.c
+++ b/bfd/mipsbsd.c
@@ -115,7 +115,6 @@ MY (choose_reloc_size) (abfd)
switch (bfd_get_arch (abfd))
{
case bfd_arch_sparc:
- case bfd_arch_a29k:
case bfd_arch_mips:
obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;
break;
@@ -157,9 +156,6 @@ MY (write_object_contents) (abfd)
case bfd_arch_i386:
N_SET_MACHTYPE (*execp, M_386);
break;
- case bfd_arch_a29k:
- N_SET_MACHTYPE (*execp, M_29K);
- break;
case bfd_arch_mips:
switch (bfd_get_mach (abfd))
{
diff --git a/bfd/pdp11.c b/bfd/pdp11.c
index f548e98..83029c4 100644
--- a/bfd/pdp11.c
+++ b/bfd/pdp11.c
@@ -719,10 +719,6 @@ NAME (aout, machine_type) (enum bfd_architecture arch,
arch_flags = M_386;
break;
- case bfd_arch_a29k:
- if (machine == 0) arch_flags = M_29K;
- break;
-
case bfd_arch_arm:
if (machine == 0) arch_flags = M_ARM;
break;
diff --git a/bfd/po/SRC-POTFILES.in b/bfd/po/SRC-POTFILES.in
index dc3dc38..332782d 100644
--- a/bfd/po/SRC-POTFILES.in
+++ b/bfd/po/SRC-POTFILES.in
@@ -26,7 +26,6 @@ cf-i386lynx.c
cf-sparclynx.c
cisco-core.c
coff64-rs6000.c
-coff-a29k.c
coff-alpha.c
coff-apollo.c
coff-arm.c
@@ -60,7 +59,6 @@ coff-w65.c
coff-we32k.c
coff-z8k.c
corefile.c
-cpu-a29k.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c
diff --git a/bfd/sparclynx.c b/bfd/sparclynx.c
index 29a9dba..81aa554 100644
--- a/bfd/sparclynx.c
+++ b/bfd/sparclynx.c
@@ -108,11 +108,6 @@ NAME(lynx,set_arch_mach) (abfd, machtype)
machine = 0;
break;
- case M_29K:
- arch = bfd_arch_a29k;
- machine = 0;
- break;
-
case M_HPUX:
arch = bfd_arch_m68k;
machine = 0;
@@ -139,7 +134,6 @@ choose_reloc_size (abfd)
switch (bfd_get_arch (abfd))
{
case bfd_arch_sparc:
- case bfd_arch_a29k:
obj_reloc_entry_size (abfd) = RELOC_EXT_SIZE;
break;
default:
@@ -180,9 +174,6 @@ NAME(aout,sparclynx_write_object_contents) (abfd)
case bfd_arch_i386:
N_SET_MACHTYPE (*execp, M_386);
break;
- case bfd_arch_a29k:
- N_SET_MACHTYPE (*execp, M_29K);
- break;
default:
N_SET_MACHTYPE (*execp, M_UNKNOWN);
}
diff --git a/bfd/targets.c b/bfd/targets.c
index 3395186..009f906 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -522,7 +522,6 @@ to find an alternative output format that is suitable.
Alphabetized for easy reference.
They are listed a second time below, since
we can't intermix extern's and initializers. */
-extern const bfd_target a29kcoff_big_vec;
extern const bfd_target a_out_adobe_vec;
extern const bfd_target aix5coff64_vec;
extern const bfd_target aout0_big_vec;
@@ -808,7 +807,6 @@ static const bfd_target * const _bfd_target_vector[] = {
Vectors that don't compile on all systems, or aren't finished,
should have an entry here with #if 0 around it, to show that
it wasn't omitted by mistake. */
- &a29kcoff_big_vec,
&a_out_adobe_vec,
#ifdef BFD64
&aix5coff64_vec,