diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2020-09-22 14:02:58 +0300 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2021-12-21 21:35:29 +0200 |
commit | 6e2556963d523ecef9a2a6130c899d146a3b7333 (patch) | |
tree | 0e4e8b8495bda879eeb55f8de4a974cc6c557911 /include/trusted-firmware-a.mk | |
parent | 527d81325b838d06c1c11cbbecd0c978fdabb250 (diff) | |
download | upstream-6e2556963d523ecef9a2a6130c899d146a3b7333.tar.gz upstream-6e2556963d523ecef9a2a6130c899d146a3b7333.tar.bz2 upstream-6e2556963d523ecef9a2a6130c899d146a3b7333.zip |
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>
Diffstat (limited to 'include/trusted-firmware-a.mk')
0 files changed, 0 insertions, 0 deletions