Files
poky/meta/conf/machine/include/powerpc
Serhey Popovych 2468becd4b arch-powerpc64.inc: Use elfv2 ABI when building with musl
Historically first PowerPC ABI was big-endian only (elfv1 currently). It
is standard ABI for both 32-bit ppc and 64-bit ppc64 architectures.

With PowerPC little-endian support new ABI was introduced (elfv2) and it
is used primarily with ppc64le target only. While it has support for
big-endian it is not commonly used and elfv1 still preferred.

Musl does support only elfv2 ABI for both LE and BE and does not have
any plans to support elfv1.

Since then to build for powerpc64 with musl new ABI should be used. As
expected it is not compatible with elfv1 but that isn't problem as long
as there is no binary distributed software or assembly code written for
elfv1 ABI.

(From OE-Core rev: 68c9641855199f34aabe1050e863c21830116fe1)

Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-12-15 17:10:52 +00:00
..

2012/03/30 - Mark Hatle mark.hatle@windriver.com

  • Initial revision

There are 4 primary PowerPC ABIs.

*) Hard/Soft Floating Point

*) 32-bit/64-bit

TUNE_ARCH is defined as either "powerpc" or "powerpc64" based on the m32 or m64 feature.

May of the PowerPC package archictures are based on legacy Linux names. However, a general naming scheme should be similar to: ppc[64][][-nf]. (Note: the default package architectures are "powerpc" and "powerpc64".)

TUNE_PKGARCH is defined as TUNE_PKGARCH_tune-${DEFAULTTUNE}. All PowerPC tunings are required to define TUNE_PKGARCH_tune-.