| ... | ... | @@ -2485,6 +2485,9 @@ pub const DynamicLinker = struct { |
| 2485 | 2485 | .tvos, |
| 2486 | 2486 | .visionos, |
| 2487 | 2487 | .watchos, |
| 2488 | |
| 2489 | .ps4, |
| 2490 | .ps5, |
| 2488 | 2491 | => .arch_os, |
| 2489 | 2492 | |
| 2490 | 2493 | .hurd, |
| ... | ... | @@ -2508,6 +2511,11 @@ pub const DynamicLinker = struct { |
| 2508 | 2511 | .@"switch", |
| 2509 | 2512 | .gba, |
| 2510 | 2513 | |
| 2514 | .psx, |
| 2515 | .ps3, |
| 2516 | .psp, |
| 2517 | .vita, |
| 2518 | |
| 2511 | 2519 | .emscripten, |
| 2512 | 2520 | .wasi, |
| 2513 | 2521 | |
| ... | ... | @@ -2520,13 +2528,6 @@ pub const DynamicLinker = struct { |
| 2520 | 2528 | .opengl, |
| 2521 | 2529 | .vulkan, |
| 2522 | 2530 | |
| 2523 | | .psx, |
| 2524 | | .ps3, |
| 2525 | | .ps4, |
| 2526 | | .ps5, |
| 2527 | | .psp, |
| 2528 | | .vita, |
| 2529 | | |
| 2530 | 2531 | .tios, |
| 2531 | 2532 | .ashetos, |
| 2532 | 2533 | => .none, |
| ... | ... | @@ -2926,8 +2927,10 @@ pub const DynamicLinker = struct { |
| 2926 | 2927 | else => none, |
| 2927 | 2928 | }, |
| 2928 | 2929 | |
| 2929 | | // Operating systems in this list have been verified as not having a standard |
| 2930 | | // dynamic linker path. |
| 2930 | .ps4, |
| 2931 | .ps5, |
| 2932 | => if (cpu.arch == .x86_64) init("/libexec/ld-elf.so.1") else none, |
| 2933 | |
| 2931 | 2934 | .freestanding, |
| 2932 | 2935 | .other, |
| 2933 | 2936 | |
| ... | ... | @@ -2965,12 +2968,6 @@ pub const DynamicLinker = struct { |
| 2965 | 2968 | .tios, |
| 2966 | 2969 | .ashetos, |
| 2967 | 2970 | => none, |
| 2968 | | |
| 2969 | | // TODO go over each item in this list and either move it to the above list, or |
| 2970 | | // implement the standard dynamic linker path code for it. |
| 2971 | | .ps4, |
| 2972 | | .ps5, |
| 2973 | | => none, |
| 2974 | 2971 | } catch unreachable; |
| 2975 | 2972 | } |
| 2976 | 2973 | }; |