| ... | ... | @@ -2469,6 +2469,9 @@ pub const DynamicLinker = struct { |
| 2469 | 2469 | .tvos, |
| 2470 | 2470 | .visionos, |
| 2471 | 2471 | .watchos, |
| 2472 | |
| 2473 | .ps4, |
| 2474 | .ps5, |
| 2472 | 2475 | => .arch_os, |
| 2473 | 2476 | |
| 2474 | 2477 | .hurd, |
| ... | ... | @@ -2489,6 +2492,11 @@ pub const DynamicLinker = struct { |
| 2489 | 2492 | .@"switch", |
| 2490 | 2493 | .gba, |
| 2491 | 2494 | |
| 2495 | .psx, |
| 2496 | .ps3, |
| 2497 | .psp, |
| 2498 | .vita, |
| 2499 | |
| 2492 | 2500 | .emscripten, |
| 2493 | 2501 | .wasi, |
| 2494 | 2502 | |
| ... | ... | @@ -2501,13 +2509,6 @@ pub const DynamicLinker = struct { |
| 2501 | 2509 | .opengl, |
| 2502 | 2510 | .vulkan, |
| 2503 | 2511 | |
| 2504 | | .psx, |
| 2505 | | .ps3, |
| 2506 | | .ps4, |
| 2507 | | .ps5, |
| 2508 | | .psp, |
| 2509 | | .vita, |
| 2510 | | |
| 2511 | 2512 | .tios, |
| 2512 | 2513 | .ashetos, |
| 2513 | 2514 | => .none, |
| ... | ... | @@ -2910,8 +2911,10 @@ pub const DynamicLinker = struct { |
| 2910 | 2911 | else => none, |
| 2911 | 2912 | }, |
| 2912 | 2913 | |
| 2913 | | // Operating systems in this list have been verified as not having a standard |
| 2914 | | // dynamic linker path. |
| 2914 | .ps4, |
| 2915 | .ps5, |
| 2916 | => if (cpu.arch == .x86_64) init("/libexec/ld-elf.so.1") else none, |
| 2917 | |
| 2915 | 2918 | .freestanding, |
| 2916 | 2919 | .other, |
| 2917 | 2920 | |
| ... | ... | @@ -2946,12 +2949,6 @@ pub const DynamicLinker = struct { |
| 2946 | 2949 | .tios, |
| 2947 | 2950 | .ashetos, |
| 2948 | 2951 | => none, |
| 2949 | | |
| 2950 | | // TODO go over each item in this list and either move it to the above list, or |
| 2951 | | // implement the standard dynamic linker path code for it. |
| 2952 | | .ps4, |
| 2953 | | .ps5, |
| 2954 | | => none, |
| 2955 | 2952 | } catch unreachable; |
| 2956 | 2953 | } |
| 2957 | 2954 | }; |