On Wed, May 23, 2018 at 10:07:18AM +0100, Richard Earnshaw (lists) wrote: > On 22/05/18 22:21, Jeff Law wrote: > > On 05/21/2018 03:46 PM, Segher Boessenkool wrote: > >> This patch creates "be" and "le" selectors, which can be used by all > >> architectures, similar to ilp32 and lp64.
> >> 2017-05-21 Segher Boessenkool <seg...@kernel.crashing.org> > >> > >> gcc/testsuite/ > >> * lib/target-supports.exp (check_effective_target_be): New. > >> (check_effective_target_le): New. > > I think this is fine. "be" "le" are used all over the place in gcc and > > the kernel to denote big/little endian. > > except when el and eb are used for perversity... :-) It should have been -BE and -EL, because that is what it means. That also avoids the -l/-L problem -le and -LE would have ;-) (Confusing? Yes, little-endian is confusing). Segher