immortalwrt/toolchain/gcc
Stijn Tintel 48debfcb5d 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-24 11:26:43 +08:00
..
files update source 2017-09-06 19:19:45 +08:00
final toolchain/gcc: update 2019-11-19 23:59:47 +08:00
initial update source 2017-09-06 19:19:45 +08:00
minimal update source 2017-09-06 19:19:45 +08:00
patches toolchain/gcc: revert a faulty upstream commit that caused miscompiled code 2021-11-19 23:58:34 +08:00
common.mk toolchain/gcc: use ELFv2 ABI on ppc64 with musl 2021-12-24 11:26:43 +08:00
Config.in toolchain: add gcc 11 version 2021-07-18 12:09:37 +08:00
Config.version toolchain/gcc: bump gcc 11 to 11.2 2021-08-09 12:11:42 +08:00
exclude-testsuite update source 2017-09-06 19:19:45 +08:00