[LLVMdev] llvm-mc and endianess.
Kuba Ober
kuba at mareimbrium.org
Thu Mar 6 07:37:39 PST 2014
>> Could somebody confirm my understanding and give me some tips about
>> endianess in llvm-mc?
>
> At the MC level you need to make your *AsmInfo constructor set:
>
> IsLittleEndian = false;
>
> Also make sure you pass false to the third argument to createELFObjectWriter().
>
> FWIW there are several in-tree targets that support big-endian,
> such as ARM, MIPS and PowerPC. SystemZ is big-endian only.
> It might help to compare with one of those.
Thanks Richard, it’s also exactly the information I needed. — Kuba
More information about the llvm-dev
mailing list