authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-21 09:16:08+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-21 19:49:58+02:00
log1c5c72543181ae7a5c069f42542737186307996f
tree4119f4e81d33a75d4bce8abde6eb50deb1e94447
parentcce7615805e2f6cd750c8d6f10d3912dab0d6f2f
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

remove mips64el-openbsd support

OpenBSD 8.0 dropped this target.

8 files changed, 3 insertions(+), 17 deletions(-)

lib/std/Target.zig-1
......@@ -2907,7 +2907,6 @@ pub const DynamicLinker = struct {
29072907 .hppa,
29082908 .m88k,
29092909 .mips64,
2910 .mips64el,
29112910 .powerpc,
29122911 .powerpc64,
29132912 .riscv64,
lib/std/debug/SelfInfo/Elf.zig-1
......@@ -189,7 +189,6 @@ pub const can_unwind: bool = s: {
189189 .arm,
190190 .m88k,
191191 .mips64,
192 .mips64el,
193192 .riscv64,
194193 .x86,
195194 .x86_64,
lib/std/debug/cpu_context.zig+1-1
......@@ -2534,7 +2534,7 @@ const signal_ucontext_t = switch (native_os) {
25342534 },
25352535 },
25362536 // https://github.com/openbsd/src/blob/42468faed8369d07ae49ae02dd71ec34f59b66cd/sys/arch/mips64/include/signal.h
2537 .mips64, .mips64el => extern struct {
2537 .mips64 => extern struct {
25382538 _cookie: i64,
25392539 _mask: i64,
25402540 mcontext: extern struct {
lib/std/heap.zig+2-2
......@@ -624,7 +624,7 @@ const page_size_min_default: ?usize = switch (builtin.os.tag) {
624624 .x86, .x86_64 => 4 << 10,
625625 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,
626626 .m88k => 4 << 10,
627 .mips64, .mips64el => 4 << 10,
627 .mips64 => 4 << 10,
628628 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,
629629 .riscv64 => 4 << 10,
630630 .sh, .sheb => 4 << 10,
......@@ -788,7 +788,7 @@ const page_size_max_default: ?usize = switch (builtin.os.tag) {
788788 .x86, .x86_64 => 4 << 10,
789789 .thumb, .thumbeb, .arm, .armeb, .aarch64, .aarch64_be => 4 << 10,
790790 .m88k => 4 << 10,
791 .mips64, .mips64el => 16 << 10,
791 .mips64 => 16 << 10,
792792 .powerpc, .powerpc64, .powerpc64le, .powerpcle => 4 << 10,
793793 .riscv64 => 4 << 10,
794794 .sh, .sheb => 4 << 10,
lib/std/zig/target.zig-1
......@@ -77,7 +77,6 @@ pub const available_libcs = [_]ArchOsAbi{
7777 .{ .arch = .mips64el, .os = .linux, .abi = .gnuabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 }, .glibc_triple = "mips64el-linux-gnu-n32" },
7878 .{ .arch = .mips64el, .os = .linux, .abi = .muslabi64, .os_ver = .{ .major = 2, .minor = 3, .patch = 48 } },
7979 .{ .arch = .mips64el, .os = .linux, .abi = .muslabin32, .os_ver = .{ .major = 2, .minor = 6, .patch = 0 } },
80 .{ .arch = .mips64el, .os = .openbsd, .abi = .none, .os_ver = .{ .major = 4, .minor = 7, .patch = 0 } },
8180 .{ .arch = .powerpc, .os = .linux, .abi = .musleabi, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },
8281 .{ .arch = .powerpc, .os = .linux, .abi = .musleabihf, .os_ver = .{ .major = 1, .minor = 3, .patch = 45 } },
8382 .{ .arch = .powerpc, .os = .netbsd, .abi = .eabihf, .os_ver = .{ .major = 1, .minor = 4, .patch = 0 } },
src/libs/openbsd.zig-1
......@@ -90,7 +90,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre
9090 try includePath(comp, arena, "generic-openbsd"),
9191 "-I",
9292 try csuPath(comp, arena, switch (target.cpu.arch) {
93 .mips64el => "mips64",
9493 .x86 => "i386",
9594 .x86_64 => "amd64",
9695 else => |t| @tagName(t),
test/llvm/matrix.zon-1
......@@ -173,7 +173,6 @@
173173 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabi64 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
174174 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .muslabin32 = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
175175 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .linux = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
176 .{ .cpu = .{ .mips64el = .{} }, .os = .{ .openbsd = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
177176
178177 .{ .cpu = .{ .msp430 = .{} }, .os = .{ .freestanding = .{} }, .abi = .{ .none = .{} }, .cache_mode = .whole, .backend = .llvm, .linker = .lld, .pic = .pic },
179178
test/tests.zig-9
......@@ -1528,15 +1528,6 @@ const module_test_targets = blk: {
15281528 .link_libc = true,
15291529 },
15301530
1531 .{
1532 .target = .{
1533 .cpu_arch = .mips64el,
1534 .os_tag = .openbsd,
1535 .abi = .none,
1536 },
1537 .link_libc = true,
1538 },
1539
15401531 .{
15411532 .target = .{
15421533 .cpu_arch = .powerpc,