[LLVMdev] [lld][ELF] How to transfer st_other field value from input to output file
Simon Atanasyan
simon at atanasyan.com
Tue Nov 11 12:51:28 PST 2014
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.
--
Simon Atanasyan
More information about the llvm-dev
mailing list