Re: [patch/rfc] Eliminate TARGET_BYTE_ORDER_SELECTABLE

Andrew Cagney
2002-01-20T18:33:39Z

>
> Woah! That's neat! I need to remember that :)
>
> And I suppose I of all people shouldn't be griping about allowing more
> endianness choices. I have a patch here to support big-endian
> ARM/Linux. All I did was change TARGET_BYTE_ORDER_*.

Delete it :-) As Michael observed, if the code is written correctly it
works from day one. (Problem is it has taken ~10 years to figure out
how to correctly write the code :-)

Oh, if you think that is neat, just wait until someone adds byte-order
information to ``struct type''. As it is, gdb knows about the byte
order of certain floating-point types. :-)

enjoy,
Andrew