* elflink.c (_bfd_elf_link_output_relocs): Correct error return.

This commit is contained in:
Alan Modra 2008-01-21 03:53:07 +00:00
parent 66cd82b52e
commit 297d8443d0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-01-21 Alan Modra <amodra@bigpond.net.au>
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.
2008-01-21 Alan Modra <amodra@bigpond.net.au>
* ecoff.c (_bfd_ecoff_archive_p): Delete.

View File

@ -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;
}