bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/23854] 16-bit GOT access is incorrectly optimized


From: hjl.tools at gmail dot com
Subject: [Bug gas/23854] 16-bit GOT access is incorrectly optimized
Date: Mon, 05 Nov 2018 19:11:42 +0000

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

--- Comment #17 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Stas Sergeev from comment #16)
> > H.J. Lu <hjl.tools at gmail dot com> changed:
> > Please try:
> > 
> > https://sourceware.org/ml/binutils/2018-11/msg00021.html
> > 
> > You need to compile with the new assembler.
> Building your git now...
> However. Are there really no hopes to link
> these already existing objects properly?
> gold have no problems with those, and if you

Old binutils also didn't have this issue.

> consider them "broken" to the point that it
> isn't worth an efforts, then maybe at least
> ld can detect the problem and error out?
> Because its exactly ld that corrupted the
> instructions, and I really am surprised you
> didn't even put any small band-aid to stop
> it from ever doing so.

Your code doesn't conform to i386 psABI, which doesn't
support only using lower 16 bits of GOT entries.

-- 
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]