authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-13 20:25:39+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-22 22:15:31+02:00
logee9b095f4eba6742288eae5e5fcf02f949e7e380
treeff41bd3721a2a70fda6a98c7883468bc5086cb2d
parent7f5cd33fc45bc3002c3acbda0fdab3603d6edb77
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: fix RTLD layout for serenity


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

lib/std/c.zig+2-3
...@@ -7337,13 +7337,12 @@ pub const RTLD = switch (native_os) {...@@ -7337,13 +7337,12 @@ pub const RTLD = switch (native_os) {
7337 },7337 },
7338 // https://github.com/SerenityOS/serenity/blob/36a26d7fa80bc9c72b19442912d8967f448368ff/Userland/Libraries/LibC/dlfcn.h#L13-L177338 // https://github.com/SerenityOS/serenity/blob/36a26d7fa80bc9c72b19442912d8967f448368ff/Userland/Libraries/LibC/dlfcn.h#L13-L17
7339 .serenity => packed struct(c_int) {7339 .serenity => packed struct(c_int) {
7340 DEFAULT: bool = false,7340 _0: u1,
7341 _1: u1,
7342 LAZY: bool = false,7341 LAZY: bool = false,
7343 NOW: bool = false,7342 NOW: bool = false,
7344 GLOBAL: bool = false,7343 GLOBAL: bool = false,
7345 LOCAL: bool = false,7344 LOCAL: bool = false,
7346 _: @Int(.unsigned, @bitSizeOf(c_int) - 6) = 0,7345 _: @Int(.unsigned, @bitSizeOf(c_int) - 5) = 0,
7347 },7346 },
7348 else => void,7347 else => void,
7349};7348};