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

Renato Golin renato.golin at linaro.org
Sun Mar 17 05:41:51 PDT 2013

On 17 March 2013 12:28, Anton Korobeynikov <anton at korobeynikov.info> wrote:

> Are you sure? I saw cross-gcc forcing eabi value to 4 or 5 many times.
> I do not recall why it was so (e.g. whether the compiler was
> explicitly configured to do so).

Ok, that's odd...

$ arm-linux-gnueabihf-gcc -c foo.c
$ arm-linux-gnueabihf-readelf -h foo.o
ELF Header:
  ABI Version:                       0
  Flags:                             0x5000000, Version5 EABI

Either readelf is being misled or that "ABI Version" field is just wrong...

As I said before, I think this change is harmless for now, just make sure
you test EABI, too (or stick to GNUEABI only).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130317/37082f49/attachment.html>

More information about the cfe-commits mailing list