* elf32-i386.c (elf_i386_relocate_section): Tweak last change so

that pcrel correction is applied for R_386_PC32.
This commit is contained in:
Alan Modra 2004-08-25 23:20:37 +00:00
parent 26a78d4a08
commit 3e95eabc2c
2 changed files with 6 additions and 1 deletions

View 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

View 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)