openwrt/toolchain/gcc
Stijn Tintel 6e2556963d toolchain/gcc: use ELFv2 ABI on ppc64 with musl
At configuration time, gcc assumes that ppc64be targets use the ELFv1
ABI, and ppc64le targets use the ELFv2 ABI. However, musl libc does not
support the ELFv1 ABI on ppc64 at all, regardless of the endianness.

Therefore, when building for a ppc64 arch and with musl libc, instruct
gcc to use the ELFv2 ABI.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93157 for more info.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Reviewed-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-12-21 21:35:29 +02:00
..
files
final toolchain: gcc: enable sanitizers for glibc toolchain 2019-10-24 11:40:00 +00:00
initial
minimal
patches toolchain/gcc: refresh gcc-11.2.0 patch 2021-12-17 15:10:22 +01:00
common.mk toolchain/gcc: use ELFv2 ABI on ppc64 with musl 2021-12-21 21:35:29 +02:00
Config.in toolchain/gcc: switch to version 11 by default 2021-09-21 22:07:36 -10:00
Config.version toolchain/gcc: switch to version 11 by default 2021-09-21 22:07:36 -10:00
exclude-testsuite