* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
authorAlan Modra <amodra@gmail.com>
Wed, 25 Aug 2004 23:20:37 +0000 (23:20 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 25 Aug 2004 23:20:37 +0000 (23:20 +0000)
that pcrel correction is applied for R_386_PC32.

bfd/ChangeLog
bfd/elf32-i386.c

index dbe1df9..64ac064 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_relocate_section): Tweak last change so
+       that pcrel correction is applied for R_386_PC32.
+
 2004-08-25  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-i386.c (elf_i386_relocate_section): Zero section contents
index 855b985..f689bee 100644 (file)
@@ -2328,7 +2328,7 @@ elf_i386_relocate_section (bfd *output_bfd,
                 This is a hint to unwinders and other consumers of
                 exception handling info that the FDE is invalid.  */
              bfd_put_32 (input_bfd, 0, contents + rel->r_offset);
-             continue;
+             break;
            }
 
          if ((input_section->flags & SEC_ALLOC) == 0)