diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-25 23:20:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-25 23:20:37 +0000 |
commit | 3e95eabc2c04c4a0a2a8544fd822597bfd5688a7 (patch) | |
tree | 2404b45d06de30b7dee893239b4bc1cf3f56849f /bfd | |
parent | 26a78d4a08b55e466703d34f713a689b84ffe5e8 (diff) | |
download | gdb-3e95eabc2c04c4a0a2a8544fd822597bfd5688a7.zip gdb-3e95eabc2c04c4a0a2a8544fd822597bfd5688a7.tar.gz gdb-3e95eabc2c04c4a0a2a8544fd822597bfd5688a7.tar.bz2 |
* 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 dbe1df9..64ac064 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 855b985..f689bee 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) |