Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils.old/dist/bfd Apply this fix also for ...
details: https://anonhg.NetBSD.org/src/rev/e715667614f4
branches: trunk
changeset: 378667:e715667614f4
user: rin <rin%NetBSD.org@localhost>
date: Thu Apr 22 01:14:18 2021 +0000
description:
Apply this fix also for binutils.old.
http://www.nerv.org/netbsd/?q=id:20210422T010948Z.f87d2246188cfedb66a0d5a012c107b6a2b9f395
> 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.old/dist/bfd/elf32-ppc.c | 2 +-
external/gpl3/binutils.old/dist/bfd/elf64-ppc.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 8bafcc27d68d -r e715667614f4 external/gpl3/binutils.old/dist/bfd/elf32-ppc.c
--- a/external/gpl3/binutils.old/dist/bfd/elf32-ppc.c Thu Apr 22 01:09:48 2021 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/elf32-ppc.c Thu Apr 22 01:14:18 2021 +0000
@@ -5392,7 +5392,7 @@ ppc_elf_inline_plt (struct bfd_link_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;
diff -r 8bafcc27d68d -r e715667614f4 external/gpl3/binutils.old/dist/bfd/elf64-ppc.c
--- a/external/gpl3/binutils.old/dist/bfd/elf64-ppc.c Thu Apr 22 01:09:48 2021 +0000
+++ b/external/gpl3/binutils.old/dist/bfd/elf64-ppc.c Thu Apr 22 01:14:18 2021 +0000
@@ -8391,7 +8391,7 @@ ppc64_elf_inline_plt (struct bfd_link_in
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