From 3e95eabc2c04c4a0a2a8544fd822597bfd5688a7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 25 Aug 2004 23:20:37 +0000 Subject: [PATCH] * elf32-i386.c (elf_i386_relocate_section): Tweak last change so that pcrel correction is applied for R_386_PC32. --- bfd/ChangeLog | 5 +++++ bfd/elf32-i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * 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 * 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) -- 2.30.2