[PATCH] AArch64: Add command line option to select big or little endian

Tim Northover t.p.northover at gmail.com
Sun Mar 30 06:04:05 PDT 2014


  Hi Chrisitan,

  I'm not entirely convinced by the -EB/-EL version. It seems to be completely MIPS-specific in the GCC documentation, but -mbig-endian & -mlittle-endian apply to a few more (including ARM).

  On the other hand, making it an alias does seem like rather a lot of sense implementation-wise. Perhaps make EB the alias for mbig--endian instead and drop the -EB tests? (On the grounds that it's not supported, but it's not really a big enough problem to bother with an error for).

  Cheers.

  Tim.

http://llvm-reviews.chandlerc.com/D3215



More information about the cfe-commits mailing list