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

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jan 28 14:59:47 PST 2015


On Wed, Jan 28, 2015 at 02:37:49PM -0800, Tim Northover wrote:
> > (a) getSubArch would decouple it from -march, which IMO makes sense to
> > also recognize. If you request ARMv7 or ARMv8 as codegen target, it
> > doesn't make sense to produce a binary that can't run on it.
> 
> Fair point. Please add a test for -march too then, so no overzealous
> refactorer like me can come along in future and break it.
> 
> > As I said, I don't know what Linux wants, so hooking it up has to be
> > done by someone who at least can test the correctness.
> 
> And as I've said, I've investigated Linux behaviour and think it's
> what's been implemented here. I'm confident we want this behaviour for
> the Linux operating system and pure -eabi triples. I think both of
> those will be accomplished by adding it to gnutools::Link.

Attached version includes both. Do we have any tests for pure eabi
somewhere?

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-eb.diff
Type: text/x-diff
Size: 4954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150128/26726445/attachment.diff>


More information about the cfe-commits mailing list