[llvm-dev] [LLD] Incorrect comparision of pointers to function defined in DSO

Simon Atanasyan via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 8 23:53:15 PST 2016


On Tue, Feb 9, 2016 at 1:52 AM, Sean Silva <chisophugis at gmail.com> wrote:
> Sounds like it is related to this:
>
> http://www.airs.com/blog/archives/42

Thanks for the explanation. For some reasons I was sure that this
functionality has been implemented in LLD2. Probably I mixed up LLD
and LLD2.

It is interesting that as usual MIPS requires some additional work. In
particular we need to set up STO_MIPS_PLT bit in the st_other filed of
the symbol which points to PLT.

"Function addresses" chapter in the
https://sourceware.org/ml/binutils/2008-07/txt00000.txt

-- 
Simon Atanasyan


More information about the llvm-dev mailing list