The -EB/-EL options already exist, but effect only the MIPS backend (they are silently ignored for ARM target). This patch introduces -mbig-endian/-mlittle-endian as aliases for them. The options are:
[this is really just a restatement of what Tim said earlier] 1. leave it as it is (possibly removing the tests for -EB/-EL from ARM targets) 2. invert the aliasing (but that would mean otherwise needless changes to the MIPS targets) 3. explicitly fault use of -EL/-EB for ARM targets (doesn't seem worthwhile) Personally I vote for 1 with the -EB/-EL tests removed (or left in). http://llvm-reviews.chandlerc.com/D3215 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
