bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20989] Every 64-bit Solaris 12/SPARC executable dies with SIGILL


From: amodra at gmail dot com
Subject: [Bug ld/20989] Every 64-bit Solaris 12/SPARC executable dies with SIGILL
Date: Mon, 26 Dec 2016 13:11:59 +0000

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.


reply via email to

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