diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-11 19:04:38 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-11 19:04:38 -0700 |
commit | 0eace2105dc6c005fdc908414ad564d318b71540 (patch) | |
tree | c6392a7f1e3ec0acb05d0902917e033b36472efc /bfd/elf32-i386.c | |
parent | f63d6d96502c4448357a0b826489ac36f73c1330 (diff) | |
download | binutils-gdb-0eace2105dc6c005fdc908414ad564d318b71540.tar.gz |
Properly skip IFUNC relocations in debug sections
Use "continue" instead of "break" to skip IFUNC relocations in debug
sections.
* elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
relocations in debug sections.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd/elf32-i386.c')
-rw-r--r-- | bfd/elf32-i386.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index fb874215aec..98902ac6186 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -3509,7 +3509,7 @@ elf_i386_relocate_section (bfd *output_bfd, sections because such sections are not SEC_ALLOC and thus ld.so will not process them. */ if ((input_section->flags & SEC_DEBUGGING) != 0) - break; + continue; abort (); } else if (h->plt.offset == (bfd_vma) -1) |