On Sun, 17 Mar 2013 12:41:51 +0000
Renato Golin <[email protected]> wrote:

> On 17 March 2013 12:28, Anton Korobeynikov <[email protected]>
> 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).

The ABI Version field is different. The patch is to set the Version5
EABI flag in the Flags field.

Andrew
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to