| ... | ... | @@ -2450,6 +2450,7 @@ pub const DynamicLinker = struct { |
| 2450 | 2450 | pub fn kind(os: Os.Tag) Kind { |
| 2451 | 2451 | return switch (os) { |
| 2452 | 2452 | .fuchsia, |
| 2453 | .managarm, |
| 2453 | 2454 | |
| 2454 | 2455 | .haiku, |
| 2455 | 2456 | .illumos, |
| ... | ... | @@ -2468,14 +2469,14 @@ pub const DynamicLinker = struct { |
| 2468 | 2469 | .visionos, |
| 2469 | 2470 | .watchos, |
| 2470 | 2471 | => .arch_os, |
| 2472 | |
| 2471 | 2473 | .hurd, |
| 2472 | 2474 | .linux, |
| 2473 | 2475 | => .arch_os_abi, |
| 2476 | |
| 2474 | 2477 | .freestanding, |
| 2475 | 2478 | .other, |
| 2476 | 2479 | |
| 2477 | | .managarm, // Needs to be double-checked. |
| 2478 | | |
| 2479 | 2480 | .plan9, |
| 2480 | 2481 | .rtems, |
| 2481 | 2482 | |
| ... | ... | @@ -2536,6 +2537,13 @@ pub const DynamicLinker = struct { |
| 2536 | 2537 | else => none, |
| 2537 | 2538 | }, |
| 2538 | 2539 | |
| 2540 | .managarm => switch (cpu.arch) { |
| 2541 | .aarch64 => init("/lib/aarch64-managarm-mlibc-ld.so"), |
| 2542 | .riscv64 => init("/lib/riscv64-managarm-mlibc-ld.so"), |
| 2543 | .x86_64 => init("/lib/x86_64-managarm-mlibc-ld.so"), |
| 2544 | else => none, |
| 2545 | }, |
| 2546 | |
| 2539 | 2547 | .haiku => switch (cpu.arch) { |
| 2540 | 2548 | .arm, |
| 2541 | 2549 | .aarch64, |
| ... | ... | @@ -2939,8 +2947,6 @@ pub const DynamicLinker = struct { |
| 2939 | 2947 | |
| 2940 | 2948 | // TODO go over each item in this list and either move it to the above list, or |
| 2941 | 2949 | // implement the standard dynamic linker path code for it. |
| 2942 | | .managarm, |
| 2943 | | |
| 2944 | 2950 | .ps3, |
| 2945 | 2951 | .ps4, |
| 2946 | 2952 | .ps5, |