aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-03-25 19:00:21 +0000
committerIan Lance Taylor <ian@airs.com>1998-03-25 19:00:21 +0000
commitb35711c4d84befa3e743addb26163c42c5c17296 (patch)
tree5f8eacc6589f9340a68bfaa7e1602e305e1ff873 /bfd
parent883f72a204ec086eb4db63715c9e5b620cfa2c91 (diff)
downloadgdb-b35711c4d84befa3e743addb26163c42c5c17296.zip
gdb-b35711c4d84befa3e743addb26163c42c5c17296.tar.gz
gdb-b35711c4d84befa3e743addb26163c42c5c17296.tar.bz2
Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha and call bfd_default_set_arch_mach to do the real work. Wed Mar 25 13:59:05 1998 Ian Lance Taylor <ian@cygnus.com> * evax-alpha.c (evax_close_and_cleanup): Remove unused local variables er and er1.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/evax-alpha.c9
2 files changed, 13 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 31735fd..a7be9f9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Wed Mar 25 13:59:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
+
+ * evax-alpha.c (evax_set_arch_mach): Only accept bfd_arch_alpha
+ and call bfd_default_set_arch_mach to do the real work.
+
Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com>
* bout.c (BALX): Include return register g14 as part of the insn.
@@ -6,6 +11,9 @@ Wed Mar 25 10:41:35 1998 Richard Henderson <rth@cygnus.com>
Wed Mar 25 11:19:28 1998 Ian Lance Taylor <ian@cygnus.com>
+ * evax-alpha.c (evax_close_and_cleanup): Remove unused local
+ variables er and er1.
+
* cpu-v850.c: Include <ctype.h>.
(scan): Case isdigit argument to unsigned char.
diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c
index 8c8a045..542901f 100644
--- a/bfd/evax-alpha.c
+++ b/bfd/evax-alpha.c
@@ -1,5 +1,5 @@
/* evax-alpha.c -- BFD back-end for ALPHA EVAX (openVMS/Alpha) files.
- Copyright 1996, 1997 Free Software Foundation, Inc.
+ Copyright 1996, 1997, 1998 Free Software Foundation, Inc.
Written by Klaus K"ampf (kkaempf@progis.de)
of proGIS Softwareentwicklung, Aachen, Germany
@@ -513,7 +513,6 @@ evax_close_and_cleanup (abfd)
{
asection *sec;
evax_section *es, *es1;
- evax_reloc *er, *er1;
int i;
#if EVAX_DEBUG
@@ -1574,9 +1573,11 @@ evax_set_arch_mach (abfd, arch, mach)
#if EVAX_DEBUG
evax_debug (1, "evax_set_arch_mach(%p, %d, %ld)\n", abfd, arch, mach);
#endif
- abfd->arch_info = bfd_scan_arch("alpha");
+ if (arch != bfd_arch_alpha
+ && arch != bfd_arch_unknown)
+ return false;
- return true;
+ return bfd_default_set_arch_mach (abfd, arch, mach);
}