authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-23 08:51:14+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-23 08:51:14+02:00
log388c0918d65387d6be3efdf0c0c0d38452a71a07
tree5d623af53f19c3ae9b0dbd770852818b84ff9eb2
parent9a578b7b483fe7114e4b84ccf2c8180ac2f6709f
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: add standard dynamic linker paths for or1k


1 files changed, 2 insertions(+), 0 deletions(-)

lib/std/Target.zig+2
...@@ -2554,6 +2554,7 @@ pub const DynamicLinker = struct {...@@ -2554,6 +2554,7 @@ pub const DynamicLinker = struct {
2554 .m68k,2554 .m68k,
2555 .microblaze,2555 .microblaze,
2556 .microblazeel,2556 .microblazeel,
2557 .or1k,
2557 .powerpc64,2558 .powerpc64,
2558 .powerpc64le,2559 .powerpc64le,
2559 .s390x,2560 .s390x,
...@@ -2639,6 +2640,7 @@ pub const DynamicLinker = struct {...@@ -2639,6 +2640,7 @@ pub const DynamicLinker = struct {
26392640
2640 .aarch64,2641 .aarch64,
2641 .aarch64_be,2642 .aarch64_be,
2643 .or1k,
2642 => |arch| if (abi == .gnu) initFmt("/lib/ld-linux-{s}.so.1", .{@tagName(arch)}) else none,2644 => |arch| if (abi == .gnu) initFmt("/lib/ld-linux-{s}.so.1", .{@tagName(arch)}) else none,
26432645
2644 // TODO: `-be` architecture support.2646 // TODO: `-be` architecture support.