aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-05-21 16:21:18 +0000
committerThiemo Seufer <ths@networkno.de>2002-05-21 16:21:18 +0000
commit21611032e14f407e8baf21ce190ea2b27c416917 (patch)
tree72803646a37c3c97281a6315c8eebbf41d36cea2 /bfd/bfd.c
parent41241523bf023fabf97f1df7b02940347e45cd2f (diff)
downloadgdb-21611032e14f407e8baf21ce190ea2b27c416917.zip
gdb-21611032e14f407e8baf21ce190ea2b27c416917.tar.gz
gdb-21611032e14f407e8baf21ce190ea2b27c416917.tar.bz2
* objdump.c (dump_headers): Fix output formatting for ELF32
architectures in a BFD64 enabled toolchain. * bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for non-ELF targets.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 9de4d53..0e72b0b 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -749,7 +749,6 @@ bfd_get_arch_size (abfd)
if (abfd->xvec->flavour == bfd_target_elf_flavour)
return (get_elf_backend_data (abfd))->s->arch_size;
- bfd_set_error (bfd_error_wrong_format);
return -1;
}