[cfarm-users] PowerPC 32 bit abi on gcc110.fsffrance.org

Segher Boessenkool segher at kernel.crashing.org
Tue Sep 10 00:41:11 CEST 2019


On Tue, Sep 10, 2019 at 12:14:13AM +0200, Bruno Haible wrote:
>  Boessenkool wrote:
> > > not on powerpc64-elfv2-linux!).
> > 
> > I think you mean powerpc64le-linux?
> 
> Yes, this is the same thing. The ABI indicator for this ABI is the
> preprocessor define _CALL_ELF=2; it is used on the distros named
> powerpc64le-linux.

$ sh config.sub powerpc64-elfv2-linux
powerpc64-elfv2-linux-gnu

No, that is not the same thing.  It is BE, and it uses ELFv1!


$ :|powerpc64-elfv2-linux-gcc -dM -E -|grep BYTE_ORDER
#define __BYTE_ORDER__ __ORDER_BIG_ENDIAN__

$ :|powerpc64-elfv2-linux-gcc -dM -E -|grep CALL
#define _CALL_AIXDESC 1
#define _CALL_LINUX 1
#define _CALL_AIX 1
#define _CALL_ELF 1


Segher


More information about the cfarm-users mailing list