https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91886

--- Comment #34 from Rich Felker <bugdal at aerifal dot cx> ---
> Does musl not support BE?  There is nothing about this that is LE-only
> as far as I can see.

For powerpc64, musl supports both BE and LE, and uses "elfv2" ABI for both
(since it was not present as a target for musl before the new ABI existed). Per
the IBM docs, LE/elfv2 (which they confusingly equate) "require" power8+, but
there are not actually any constraints in the ABI that impose such a
requirement (e.g. argument-passing in registers that previous ISA levels didn't
have), and we don't impose it. I believe there are people using musl on
pre-power8 powerpc64 systems, at least in BE mode and possibly also in LE mode.

Reply via email to