projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5072b52
)
PR27755, powerpc-ld infinite loop
author
Alan Modra
<amodra@gmail.com>
Mon, 3 May 2021 04:07:00 +0000
(13:37 +0930)
committer
Alan Modra
<amodra@gmail.com>
Mon, 3 May 2021 06:04:17 +0000
(15:34 +0930)
PR 27755
* elf32-ppc.c (ppc_elf_inline_plt): Do increment rel in loop.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf32-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 3a23a18bb9ef806e9af124d7076d43239795dba6..fc7a1b89772ecfa224313af4cbac81d4560b92f2 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
diff --git
a/bfd/elf32-ppc.c
b/bfd/elf32-ppc.c
index d6ed501245cd537a4ddb2137c6163cf827bf6a50..830c9200b0cc3b32152264ff9f30c8ce461bc6ca 100644
(file)
--- a/
bfd/elf32-ppc.c
+++ b/
bfd/elf32-ppc.c
@@
-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;