[ELF2] target specific section order

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 14:45:51 PDT 2015


You should be able to model that after getPPC64SectionRank. See Writer.cpp.
Don't use virtual function override.

Please send your patch for a pre-commit review and get LGTM from me before
submitting.

On Tue, Oct 13, 2015 at 2:42 PM, Easwaran, Shankar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> This is for the ELF2 linker variant.
>
>
> On 10/13/2015 4:32 PM, Easwaran, Shankar wrote:
>
>> Hi,
>>
>> Architectures like Hexagon needs specific placements of sections as
>> required by the ABI. Examples of such sections are small data, and section
>> .start that need to be at the very beginning ?
>>
>> Can I add a function to override  the Default Section order to the one
>> that the target can override with ?
>>
>> Shankar Easwaran
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151013/c1fc3a23/attachment.html>


More information about the llvm-commits mailing list