]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elflink.c (_bfd_elf_link_output_relocs): Correct error return.
authorAlan Modra <amodra@gmail.com>
Mon, 21 Jan 2008 03:53:07 +0000 (03:53 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 21 Jan 2008 03:53:07 +0000 (03:53 +0000)
bfd/ChangeLog
bfd/elflink.c

index 59f8347dd58bbb59083b387db35ad5b8fb3fe7da..62d485b92c7e4e47e6eb09d85bab57628e2566a7 100644 (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.
index ed691818c65fe6f4e9006d32f850a2fb7082e65d..c658b140d7ba740e635a773c6f5bee8ef12123de 100644 (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;
     }