zig/lib/libc/include
Andrew Kelley 5b6d26e97b glibc: fix inconsistency of mips ABI mapping
Before this commit, glibc headers did the following mapping:

 * (zig) mipsel-linux-gnu      => (glibc) mipsel-linux-gnu
 * (zig) mipsel-linux-gnu-soft => (glibc) (none)
 * (zig) mips-linux-gnu        => (glibc) mips-linux-gnu
 * (zig) mips-linux-gnu-soft   => (glibc) (none)

While the glibc ABI stubs used the (zig) gnueabi and gnueabihf ABIs,
and the stage2 available_libcs array listed:

 * (zig) mipsel-linux-gnu
 * (zig) mips-linux-gnu

The problem is the mismatch between the ABI component of the headers and
the stubs.

This commit makes the following clarifications:

 * (zig) mips-linux-gnueabi     means soft-float
 * (zig) mipsel-linux-gnueabi   means soft-float
 * (zig) mips-linux-gnueabihf   means hard-float
 * (zig) mipsel-linux-gnueabihf means hard-float

Consequently, the glibc headers now do this mapping:

 * (zig) mips-linux-gnueabihf   => (glibc) mips-linux-gnu
 * (zig) mipsel-linux-gnueabihf => (glibc) mipsel-linux-gnu
 * (zig) mips-linux-gnueabi     => (glibc) mips-linux-gnu-soft
 * (zig) mipsel-linux-gnueabi   => (glibc) mipsel-linux-gnu-soft

The glibc ABI stubs are unchanged, and the stage2 available_libcs
array's 2 entries are modified and it gains 2 more:

 * (zig) mipsel-linux-gnueabi
 * (zig) mipsel-linux-gnueabihf
 * (zig) mips-linux-gnueabi
 * (zig) mips-linux-gnueabihf

Now everything is consistent. Zig no longer recognizes a `mips-linux-gnu`
triple; one must use `mips-linux-gnueabi` (soft float) or
`mips-linux-gnueabihf` (hard float).
2021-12-15 19:09:50 -07:00
..
aarch64_be-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
aarch64-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
aarch64-linux-musl/bits
aarch64-macos.11-gnu Add missing macOS libc headers 2021-11-27 12:12:01 -08:00
aarch64-macos.12-gnu add libc headers for all supported macOS versions 2021-11-25 12:19:16 +01:00
any-linux-any remove linux header files that have case conflicts 2021-11-30 14:29:11 -07:00
any-macos-any Add missing macOS libc headers 2021-11-27 12:12:01 -08:00
any-macos.11-any Add missing macOS libc headers 2021-11-27 12:12:01 -08:00
any-macos.12-any add libc headers for all supported macOS versions 2021-11-25 12:19:16 +01:00
any-windows-any
arc-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
arm64-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
arm-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
arm-linux-gnueabi glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
arm-linux-gnueabihf glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
arm-linux-musl/bits
armeb-linux-gnueabi glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
armeb-linux-gnueabihf glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
csky-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
csky-linux-gnueabi glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
csky-linux-gnueabihf glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
generic-glibc glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
generic-musl
hexagon-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
i386-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
i386-linux-musl/bits
m68k-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
m68k-linux-gnu glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
m68k-linux-musl/bits
mips64-linux-gnuabi64 glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips64-linux-gnuabin32 glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips64-linux-musl/bits
mips64el-linux-gnuabi64 glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips64el-linux-gnuabin32 glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
mips-linux-gnueabi glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips-linux-gnueabihf glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mips-linux-musl/bits
mipsel-linux-gnueabi glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
mipsel-linux-gnueabihf glibc: fix inconsistency of mips ABI mapping 2021-12-15 19:09:50 -07:00
powerpc64-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
powerpc64-linux-musl/bits
powerpc64le-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
powerpc-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
powerpc-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
powerpc-linux-musl/bits
riscv64-linux-gnu glibc: add missing riscv stubs headers 2021-12-15 18:34:27 -07:00
riscv64-linux-musl/bits
riscv-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
s390x-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
s390x-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
s390x-linux-musl/bits
sparc-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00
sparc-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
sparcv9-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
wasm-freestanding-musl
wasm-wasi-musl
x86_64-linux-gnu update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
x86_64-linux-gnux32 update glibc headers to 2.34 2021-12-15 14:30:03 -07:00
x86_64-linux-musl/bits
x86_64-macos.10-gnu Add missing macOS libc headers 2021-11-27 12:12:01 -08:00
x86_64-macos.11-gnu Add missing macOS libc headers 2021-11-27 12:12:01 -08:00
x86_64-macos.12-gnu add libc headers for all supported macOS versions 2021-11-25 12:19:16 +01:00
x86-linux-any/asm update libc linux headers to v5.16-rc3 2021-11-29 18:05:11 -07:00