[LLVMdev] [lld] ELF needs type for SharedLibraryAtom.
Joerg Sonnenberger
joerg at britannica.bec.de
Tue Sep 24 09:13:21 PDT 2013
On Tue, Sep 24, 2013 at 10:49:36AM -0500, Shankar Easwaran wrote:
> Not sure why this is being done for a long time with the GNU linker.
Because the main program is not PIC, it will only use absolute
references to global symbols. For functions, you can create a PLT
record, but for data access, you have to hide the real symbol and copy
the content over to the equivalent in the main binary.
Joerg
More information about the llvm-dev
mailing list