| ... | ... | @@ -838,7 +838,6 @@ pub const Abi = enum { |
| 838 | 838 | .aix => if (arch == .powerpc) .eabihf else .none, |
| 839 | 839 | .haiku => switch (arch) { |
| 840 | 840 | .arm, |
| 841 | | .thumb, |
| 842 | 841 | .powerpc, |
| 843 | 842 | => .eabihf, |
| 844 | 843 | else => .none, |
| ... | ... | @@ -877,22 +876,13 @@ pub const Abi = enum { |
| 877 | 876 | }, |
| 878 | 877 | .freebsd => switch (arch) { |
| 879 | 878 | .arm, |
| 880 | | .armeb, |
| 881 | | .thumb, |
| 882 | | .thumbeb, |
| 883 | 879 | .powerpc, |
| 884 | 880 | => .eabihf, |
| 885 | | // Soft float tends to be more common for MIPS. |
| 886 | | .mips, |
| 887 | | .mipsel, |
| 888 | | => .eabi, |
| 889 | 881 | else => .none, |
| 890 | 882 | }, |
| 891 | 883 | .netbsd => switch (arch) { |
| 892 | 884 | .arm, |
| 893 | 885 | .armeb, |
| 894 | | .thumb, |
| 895 | | .thumbeb, |
| 896 | 886 | .powerpc, |
| 897 | 887 | => .eabihf, |
| 898 | 888 | // Soft float tends to be more common for MIPS. |
| ... | ... | @@ -903,7 +893,6 @@ pub const Abi = enum { |
| 903 | 893 | }, |
| 904 | 894 | .openbsd => switch (arch) { |
| 905 | 895 | .arm, |
| 906 | | .thumb, |
| 907 | 896 | => .eabi, |
| 908 | 897 | .powerpc, |
| 909 | 898 | => .eabihf, |
| ... | ... | @@ -2209,7 +2198,6 @@ pub const DynamicLinker = struct { |
| 2209 | 2198 | |
| 2210 | 2199 | .haiku => switch (cpu.arch) { |
| 2211 | 2200 | .arm, |
| 2212 | | .thumb, |
| 2213 | 2201 | .aarch64, |
| 2214 | 2202 | .m68k, |
| 2215 | 2203 | .powerpc, |
| ... | ... | @@ -2238,9 +2226,7 @@ pub const DynamicLinker = struct { |
| 2238 | 2226 | |
| 2239 | 2227 | .linux => if (abi.isAndroid()) |
| 2240 | 2228 | switch (cpu.arch) { |
| 2241 | | .arm, |
| 2242 | | .thumb, |
| 2243 | | => if (abi == .androideabi) init("/system/bin/linker") else none, |
| 2229 | .arm => if (abi == .androideabi) init("/system/bin/linker") else none, |
| 2244 | 2230 | |
| 2245 | 2231 | .aarch64, |
| 2246 | 2232 | .riscv64, |
| ... | ... | @@ -2458,19 +2444,11 @@ pub const DynamicLinker = struct { |
| 2458 | 2444 | |
| 2459 | 2445 | .freebsd => switch (cpu.arch) { |
| 2460 | 2446 | .arm, |
| 2461 | | .armeb, |
| 2462 | | .thumb, |
| 2463 | | .thumbeb, |
| 2464 | 2447 | .aarch64, |
| 2465 | | .mips, |
| 2466 | | .mipsel, |
| 2467 | | .mips64, |
| 2468 | | .mips64el, |
| 2469 | 2448 | .powerpc, |
| 2470 | 2449 | .powerpc64, |
| 2471 | 2450 | .powerpc64le, |
| 2472 | 2451 | .riscv64, |
| 2473 | | .sparc64, |
| 2474 | 2452 | .x86, |
| 2475 | 2453 | .x86_64, |
| 2476 | 2454 | => initFmt("{s}/libexec/ld-elf.so.1", .{ |
| ... | ... | @@ -2485,8 +2463,6 @@ pub const DynamicLinker = struct { |
| 2485 | 2463 | .netbsd => switch (cpu.arch) { |
| 2486 | 2464 | .arm, |
| 2487 | 2465 | .armeb, |
| 2488 | | .thumb, |
| 2489 | | .thumbeb, |
| 2490 | 2466 | .aarch64, |
| 2491 | 2467 | .aarch64_be, |
| 2492 | 2468 | .m68k, |
| ... | ... | @@ -2506,7 +2482,6 @@ pub const DynamicLinker = struct { |
| 2506 | 2482 | |
| 2507 | 2483 | .openbsd => switch (cpu.arch) { |
| 2508 | 2484 | .arm, |
| 2509 | | .thumb, |
| 2510 | 2485 | .aarch64, |
| 2511 | 2486 | .mips64, |
| 2512 | 2487 | .mips64el, |
| ... | ... | @@ -2534,11 +2509,16 @@ pub const DynamicLinker = struct { |
| 2534 | 2509 | }, |
| 2535 | 2510 | |
| 2536 | 2511 | .illumos, |
| 2512 | => switch (cpu.arch) { |
| 2513 | .x86, |
| 2514 | .x86_64, |
| 2515 | => initFmt("/lib/{s}ld.so.1", .{if (ptrBitWidth_cpu_abi(cpu, .none) == 64) "64/" else ""}), |
| 2516 | else => none, |
| 2517 | }, |
| 2518 | |
| 2537 | 2519 | .solaris, |
| 2538 | 2520 | => switch (cpu.arch) { |
| 2539 | | .sparc, |
| 2540 | 2521 | .sparc64, |
| 2541 | | .x86, |
| 2542 | 2522 | .x86_64, |
| 2543 | 2523 | => initFmt("/lib/{s}ld.so.1", .{if (ptrBitWidth_cpu_abi(cpu, .none) == 64) "64/" else ""}), |
| 2544 | 2524 | else => none, |