process_headers: Add sparcv9-linux-gnu for glibc.

This is 32-bit SPARC targeting the v8 ABI but v9 CPU.
This commit is contained in:
Alex Rønne Petersen 2024-08-04 08:52:26 +02:00
parent a931bfada5
commit 4ba9a6f44c
No known key found for this signature in database

View File

@ -174,12 +174,11 @@ const glibc_targets = [_]LibCTarget{
.arch = MultiArch{ .specific = Arch.s390x },
.abi = MultiAbi{ .specific = Abi.gnu },
},
// It's unclear which zig target this glibc sparcv9 target maps to.
//LibCTarget{
// .name = "sparcv9-linux-gnu",
// .arch = MultiArch{ .specific = Arch.sparc },
// .abi = MultiAbi{ .specific = Abi.gnu },
//},
LibCTarget{
.name = "sparcv9-linux-gnu",
.arch = MultiArch{ .specific = Arch.sparc },
.abi = MultiAbi{ .specific = Abi.gnu },
},
LibCTarget{
.name = "sparc64-linux-gnu",
.arch = MultiArch{ .specific = Arch.sparc64 },