diff options
author | Alan Modra <amodra@bigpond.net.au> | 2004-08-25 23:20:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2004-08-25 23:20:37 +0000 |
commit | df9c96d52e3616a03afa7abd81dde717d0976ea0 (patch) | |
tree | f2a8fef48100b21ec307d71e651f8d28f9e03373 /bfd | |
parent | e6f83334471eac3213866db3dbee6293d47a87eb (diff) | |
download | gdb-df9c96d52e3616a03afa7abd81dde717d0976ea0.tar.gz |
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
that pcrel correction is applied for R_386_PC32.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index dbe1df945ce..64ac064818b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 855b9851168..f689bee56be 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -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) |