diff options
author | Alan Modra <amodra@gmail.com> | 2008-01-21 03:53:07 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-01-21 03:53:07 +0000 |
commit | 297d8443d0808af8481160aa1c5e20b00cc19234 (patch) | |
tree | 6c06c9bda2c9f517076b3ff549b6c57edfc7d355 /bfd/elflink.c | |
parent | 66cd82b52e17203d61af21f50593aa8b33baaf56 (diff) | |
download | gdb-297d8443d0808af8481160aa1c5e20b00cc19234.zip gdb-297d8443d0808af8481160aa1c5e20b00cc19234.tar.gz gdb-297d8443d0808af8481160aa1c5e20b00cc19234.tar.bz2 |
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index ed69181..c658b14 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -2321,7 +2321,7 @@ _bfd_elf_link_output_relocs (bfd *output_bfd, (*_bfd_error_handler) (_("%B: relocation size mismatch in %B section %A"), output_bfd, input_section->owner, input_section); - bfd_set_error (bfd_error_wrong_object_format); + bfd_set_error (bfd_error_wrong_format); return FALSE; } |