aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1994-11-25 02:14:11 +0000
committerMichael Tiemann <tiemann@cygnus>1994-11-25 02:14:11 +0000
commitca43dedd356c5463a80ea9f2924ff59015ff8a30 (patch)
tree4c787f5b2cc07cd1969bfe8cffd3105c624adbd0 /bfd
parentff030c982785b7ceeaa02c544c92227b09f8be68 (diff)
downloadgdb-ca43dedd356c5463a80ea9f2924ff59015ff8a30.zip
gdb-ca43dedd356c5463a80ea9f2924ff59015ff8a30.tar.gz
gdb-ca43dedd356c5463a80ea9f2924ff59015ff8a30.tar.bz2
Clean up bitrot (such as interfaces that have changed since these
patches were last used).
Diffstat (limited to 'bfd')
-rw-r--r--bfd/.Sanitize2
-rw-r--r--bfd/aout-rce.c8
-rw-r--r--bfd/bfd-in2.h3
-rw-r--r--bfd/cpu-rce.c2
4 files changed, 9 insertions, 6 deletions
diff --git a/bfd/.Sanitize b/bfd/.Sanitize
index f3d944f..c5a8fe4 100644
--- a/bfd/.Sanitize
+++ b/bfd/.Sanitize
@@ -263,7 +263,7 @@ else
done
fi
-rce_files="ChangeLog archures.c config.bfd configure.in targets.c"
+rce_files="ChangeLog archures.c bfd-in2.h config.bfd configure.in targets.c"
if ( echo $* | grep keep\-rce > /dev/null ) ; then
for i in $rce_files ; do
if test ! -d $i && (grep sanitize-rce $i > /dev/null) ; then
diff --git a/bfd/aout-rce.c b/bfd/aout-rce.c
index a89f140..6fa3f52 100644
--- a/bfd/aout-rce.c
+++ b/bfd/aout-rce.c
@@ -1,4 +1,4 @@
-/* BFD back-end for SOP a.out binaries.
+/* BFD back-end for RCE a.out binaries.
Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -32,7 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "aout/stab_gnu.h"
#include "aout/ar.h"
#include "libaout.h"
-#define DEFAULT_ARCH bfd_arch_sop
-#define MY(OP) CAT(sop_aout_,OP)
-#define TARGETNAME "a.out-sop"
+#define DEFAULT_ARCH bfd_arch_rce
+#define MY(OP) CAT(rce_aout_,OP)
+#define TARGETNAME "a.out-rce"
#include "aout-target.h"
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 9beb971..ae32bae 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1027,6 +1027,9 @@ enum bfd_architecture
bfd_arch_alpha, /* Dec Alpha */
bfd_arch_arm, /* Advanced Risc Machines ARM */
bfd_arch_ns32k, /* National Semiconductors ns32000 */
+ /* start-sanitize-rce */
+ bfd_arch_rce, /* Experimental Motorola RCE */
+ /* end-sanitize-rce */
bfd_arch_last
};
diff --git a/bfd/cpu-rce.c b/bfd/cpu-rce.c
index 3300b0a..57b44ba 100644
--- a/bfd/cpu-rce.c
+++ b/bfd/cpu-rce.c
@@ -72,7 +72,7 @@ static bfd_arch_info_type arch_info_struct[] =
void
-DEFUN_VOID(bfd_sop_arch)
+DEFUN_VOID(bfd_rce_arch)
{
bfd_arch_linkin(&arch_info_struct[0]);
}