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

Rui Ueyama ruiu at google.com
Tue Nov 11 14:10:41 PST 2014


On Tue, Nov 11, 2014 at 12: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.
>

Sounds good.


>
> --
> Simon Atanasyan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141111/26957790/attachment.html>


More information about the llvm-dev mailing list