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

2024-02-17 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27597

--- Comment #6 from Alan Modra  ---
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.


[Bug gas/31396] Symbols referenced from ".if"/"==" end up in the symbol table

2024-02-17 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31396

--- Comment #1 from Andreas Schwab  ---
There is nothing special about .if or '=='.  The expression evaluator will
enter any identifier into the symbol table that is part of an expression, see
symbol_find_or_make.

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