bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/27597] nios: assertion fail in nios2_elf32_install_imm16


From: amodra at gmail dot com
Subject: [Bug ld/27597] nios: assertion fail in nios2_elf32_install_imm16
Date: Sat, 17 Feb 2024 09:29:21 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27597

--- Comment #6 from Alan Modra <amodra at gmail dot com> ---
Incidentally the testcase in comment #2 doesn't reproduce the assertion fail,
but is enough to verify I had the calculations correct in my patch, and
generates plenty of bogus PLT resolver stubs.  To see the assertion on an
unpatched linker you need to extend it to over 10920 calls.

int main (void)
{
  x1000(0);
  x1000(1);
  x1000(2);
  x1000(3);
  x1000(4);
  x1000(5);
  x1000(6);
  x1000(7);
  x1000(8);
  x1000(9);
  x1000(10);
  return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]