mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
PR27755, powerpc-ld infinite loop
PR 27755 * elf32-ppc.c (ppc_elf_inline_plt): Do increment rel in loop.
This commit is contained in:
parent
5072b52d28
commit
337d0bf887
@ -1,3 +1,8 @@
|
||||
2021-05-03 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 27755
|
||||
* elf32-ppc.c (ppc_elf_inline_plt): Do increment rel in loop.
|
||||
|
||||
2021-05-03 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf32-csky.c (is_mapping_symbol_name): New function.
|
||||
|
@ -4242,7 +4242,7 @@ ppc_elf_inline_plt (struct bfd_link_info *info)
|
||||
return false;
|
||||
|
||||
relend = relstart + sec->reloc_count;
|
||||
for (rel = relstart; rel < relend; )
|
||||
for (rel = relstart; rel < relend; rel++)
|
||||
{
|
||||
enum elf_ppc_reloc_type r_type;
|
||||
unsigned long r_symndx;
|
||||
|
Loading…
Reference in New Issue
Block a user