[LLVMdev] Is the llvm ARM support big endian elf/obj output?
t.p.northover at gmail.com
Mon Apr 22 23:50:18 PDT 2013
> I guess he need to change the data layout string in
> ARMTargetMachine::ARMTargetMachine (ARMTargetMachine.cpp)
> from "e" to "E" to get big endian output?
That would be a start, but I'd expect a significant number of bugs
where the backend writers have assumed ARM was little-endian
(lib/Target/Mips, which *does* support both, has many more endian
checks in the code than ARM).
More information about the llvm-dev