Skip to content

Commit f5567d5

Browse files
glibc_compat: Refer to lfs64 symbols
1 parent 05b6515 commit f5567d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/link/glibc_compat/build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,16 +178,16 @@ pub fn build(b: *std.Build) void {
178178
// normal dynamic symbol
179179
if (glibc_ver.order(.{ .major = 2, .minor = 32, .patch = 0 }) == .lt) {
180180
check.checkInDynamicSymtab();
181-
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT __fxstatat");
181+
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT __fxstatat64");
182182

183183
check.checkInSymtab();
184184
check.checkContains("FUNC LOCAL HIDDEN fstatat");
185185
} else {
186186
check.checkInDynamicSymtab();
187-
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT fstatat");
187+
check.checkExact("0 0 UND FUNC GLOBAL DEFAULT fstatat64");
188188

189189
check.checkInSymtab();
190-
check.checkNotPresent("FUNC LOCAL HIDDEN fstatat");
190+
check.checkNotPresent("FUNC LOCAL HIDDEN fstatat64");
191191
}
192192

193193
// before v2.26 reallocarray is not supported

0 commit comments

Comments
 (0)