[PATCH] [lld][ELF] Add explictly exported atoms and export R_*_COPY'ed atoms.

Shankar Easwaran shankare at codeaurora.org
Tue Oct 1 19:47:55 PDT 2013


On 10/1/2013 6:40 PM, Nick Kledzik wrote:
>
> On Oct 1, 2013, at 2:22 PM, Shankar Kalpathi Easwaran 
> <shankarke at gmail.com <mailto:shankarke at gmail.com>> wrote:
>>
>>  Could we add visibility to the atom attributes ?
>>
>> http://llvm-reviews.chandlerc.com/D1799
>
> We already model this as:
>
> STV_DEFAULT  => scopeGlobal and interposeYes
> STV_PROTECTED   => scopeGlobal and interposeNo
> STV_HIDDEN       => scopeLinkageUnit
>
> -Nick
>
>
I think ELF should use this to set exports in the dynsym table. The 
writer could construct the export list from the attributes that are set 
by the reader.

Michael, What do you think ?

Thanks

Shankar Easwaran

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131001/8cf83eb0/attachment.html>


More information about the llvm-commits mailing list