[PATCH] FreeBSD: Set the ARM EABI version when using an external assembler

Andrew Turner andrew at fubar.geek.nz
Sun Mar 17 12:10:25 PDT 2013


On Sun, 17 Mar 2013 11:55:20 +0000
Renato Golin <renato.golin at linaro.org> wrote:
> You're changing both EABI and GNUEABI but only testing one of them.
I can add a test for EABI but only GNUEABI will be supported on FreeBSD.
> 
> I can't see any problem arising from this change, but I'm still
> curious as to why this is needed. I may be wrong, but I think that
> "version 0" is assumed to be the current version. So, the only real
> need to set an ABI version would be if there was a new one that would
> break this one (which is very unlikely).
Without this patch gcc fails to link with objects and libraries
generated by clang.

> Being that the case, I think we shouldn't force ABI version 5 on all
> EABI binaries produced from clang. And since you can do that via
> command line, there's no rush in getting it in either.

How? When using an external assembler the the ABI version is sever
passed to it so will be 0.

Andrew



More information about the cfe-commits mailing list