r227088 - For NetBSD/ARM-EB, link with --be8. Support for the older BE32 is

Tim Northover t.p.northover at gmail.com
Mon Jan 26 15:16:31 PST 2015


> Well, my optimistic assumption is/was that all systems that care are
> already supported NetBSD was just missing. So (a) which systems run on
> ARM-EB at all (b) do they care about BE8 vs BE32 (c) what link flags do
> they need.

I think it affects anyone using ld.bfd for big-endian ARM code. The
ideal behaviour is probably:

1. >=v7 (& v6m) code must pass --be8  (CPU only understands BE8 output)
2. <=v5 code mustn't pass --be8 (CPU does not understand BE8 output)
3. v6 code may or may not. (it's configurable in SCTLR) It probably
should for neatness, but unfortunately compatibility with GCC probably
requires us not to.

Cheers.

Tim.



More information about the cfe-commits mailing list