[LLVMdev] [lld][ELF] How to transfer st_other field value from input to output file

Simon Atanasyan simon at atanasyan.com
Wed Nov 12 14:25:01 PST 2014


On Tue, Nov 11, 2014 at 11:51 PM, Simon Atanasyan <simon at atanasyan.com> wrote:
> On Tue, Nov 11, 2014 at 11:31 PM, Nick Kledzik <kledzik at apple.com> wrote:
>> That said, the ability to handle thumb and arm within a function is probably
>> over engineering.  I’d be fine with adding to DefinedAtom something like:
>>
>>   enum CodeModel {
>>      // Note: all these values need word smithing
>>     codeNA,
>>     codeMIPS_PIC,
>>     codeMIPS_micro,
>>     codeMIPS_16,
>>     codeARM_16,
>>     codeARM_32,
>>  };
>>
>> virtual CodeModel codeModel() { return codeNA; }
>
> Looks good. Let's go this way. I will try to implement the ELF/MIPS
> side keeping in mind Mach-O requirements and send the patch to review.

Please review the patch: http://reviews.llvm.org/D6236

-- 
Simon Atanasyan




More information about the llvm-dev mailing list