Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/external/gpl3/binutils/dist/bfd Pull up following revisio...
details: https://anonhg.NetBSD.org/src/rev/e2d903857dc3
branches: netbsd-9
changeset: 1002257:e2d903857dc3
user: martin <martin%NetBSD.org@localhost>
date: Mon May 03 09:01:44 2021 +0000
description:
Pull up following revision(s) (requested by rin in ticket #1266):
external/gpl3/binutils/dist/bfd/elf32-ppc.c: revision 1.16
external/gpl3/binutils/dist/bfd/elf64-ppc.c: revision 1.16
Fix regression where ld(1) is trapped into infinite loop when
linking binary whose text does not fit within R_PPC_REL24.
Reported upstream as Bug 27755:
https://sourceware.org/bugzilla/show_bug.cgi?id=27755
This problem was introduced to binutils-2-31-1 for our tree.
netbsd-9 is affected, while netbsd-8 is not.
diffstat:
external/gpl3/binutils/dist/bfd/elf32-ppc.c | 2 +-
external/gpl3/binutils/dist/bfd/elf64-ppc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r cdea479346dc -r e2d903857dc3 external/gpl3/binutils/dist/bfd/elf32-ppc.c
--- a/external/gpl3/binutils/dist/bfd/elf32-ppc.c Sun May 02 10:44:31 2021 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf32-ppc.c Mon May 03 09:01:44 2021 +0000
@@ -5392,7 +5392,7 @@
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;
diff -r cdea479346dc -r e2d903857dc3 external/gpl3/binutils/dist/bfd/elf64-ppc.c
--- a/external/gpl3/binutils/dist/bfd/elf64-ppc.c Sun May 02 10:44:31 2021 +0000
+++ b/external/gpl3/binutils/dist/bfd/elf64-ppc.c Mon May 03 09:01:44 2021 +0000
@@ -8391,7 +8391,7 @@
return FALSE;
relend = relstart + sec->reloc_count;
- for (rel = relstart; rel < relend; )
+ for (rel = relstart; rel < relend; rel++)
{
enum elf_ppc64_reloc_type r_type;
unsigned long r_symndx;
Home |
Main Index |
Thread Index |
Old Index