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

--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
Created attachment 9724
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9724&action=edit
lightly tested fix

It is a bug in optimisation of sequences loading addresses from the GOT.  You
can't convert a GOT indirect load to GOT relative when the relative offset is
outside the range of possible sethi, xor values.  This happens with
-Ttext=0x100000000 which results in your gld testcase having
_GLOBAL_OFFSET_TABLE_ = 0x100100a10.  The relative offset to zero, the proper
value for the undefined weak symbol, is too large.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to