diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-05-21 16:21:17 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-05-21 16:21:17 +0000 |
commit | 87bcc520989beec4df6125475c5c3ae6c7c85bf4 (patch) | |
tree | 773c3c776f4dbc5d2c0f12a822657967c564237f /bfd | |
parent | 3194b2eec750aeec228f22e84dd4c338dcb8abd5 (diff) | |
download | gdb-87bcc520989beec4df6125475c5c3ae6c7c85bf4.tar.gz |
* 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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/bfd.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ccb0bb1685b..db0f945fff2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + * bfd/bfd.c (bfd_get_arch_size): Remove bfd_set_error call for + non-ELF targets. + +2002-05-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + * elf-bfd.h (elf_backend_emit_relocs): Change prototype to return an error value. * elflink.h (elf_link_output_relocs): Likewise. Improve error message. diff --git a/bfd/bfd.c b/bfd/bfd.c index 9de4d53d4d1..0e72b0ba99f 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; } |