Skip to content

Commit

Permalink
glibc_compat: Refer to lfs64 symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
The-King-of-Toasters committed Oct 29, 2024
1 parent 33f3ac7 commit efc5103
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/link/glibc_compat/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,16 @@ pub fn build(b: *std.Build) void {
// normal dynamic symbol
if (glibc_ver.order(.{ .major = 2, .minor = 32, .patch = 0 }) == .lt) {
check.checkInDynamicSymtab();
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT __fxstatat");
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT __fxstatat64");

check.checkInSymtab();
check.checkContains("FUNC LOCAL HIDDEN fstatat");
} else {
check.checkInDynamicSymtab();
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT fstatat");
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT fstatat64");

check.checkInSymtab();
check.checkNotPresent("FUNC LOCAL HIDDEN fstatat");
check.checkNotPresent("FUNC LOCAL HIDDEN fstatat64");
}

// before v2.26 reallocarray is not supported
Expand Down

0 comments on commit efc5103

Please sign in to comment.