mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2015-08-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elf32-i386.c (elf_i386_relocate_section): Properly skip IFUNC
|
||||||
|
relocations in debug sections.
|
||||||
|
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
|
||||||
|
|
||||||
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
2015-08-11 Jiong Wang <jiong.wang@arm.com>
|
||||||
|
|
||||||
* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Improve warning
|
* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Improve warning
|
||||||
|
@ -3509,7 +3509,7 @@ elf_i386_relocate_section (bfd *output_bfd,
|
|||||||
sections because such sections are not SEC_ALLOC and
|
sections because such sections are not SEC_ALLOC and
|
||||||
thus ld.so will not process them. */
|
thus ld.so will not process them. */
|
||||||
if ((input_section->flags & SEC_DEBUGGING) != 0)
|
if ((input_section->flags & SEC_DEBUGGING) != 0)
|
||||||
break;
|
continue;
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
else if (h->plt.offset == (bfd_vma) -1)
|
else if (h->plt.offset == (bfd_vma) -1)
|
||||||
|
@ -3792,7 +3792,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
|
|||||||
sections because such sections are not SEC_ALLOC and
|
sections because such sections are not SEC_ALLOC and
|
||||||
thus ld.so will not process them. */
|
thus ld.so will not process them. */
|
||||||
if ((input_section->flags & SEC_DEBUGGING) != 0)
|
if ((input_section->flags & SEC_DEBUGGING) != 0)
|
||||||
break;
|
continue;
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
else if (h->plt.offset == (bfd_vma) -1)
|
else if (h->plt.offset == (bfd_vma) -1)
|
||||||
|
Reference in New Issue
Block a user