This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] testsuite: Introduce be/le selectors
On Fri, May 25, 2018 at 10:30:58AM +0100, Richard Earnshaw (lists) wrote:
> On 24/05/18 18:28, Segher Boessenkool wrote:
> > 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 <segher@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).
>
> I beg to differ. Big endian is the confusing one... :-)
I thought you said -EL is perverse. Maybe I misunderstood!
(Sorry sorry).
Segher