From f5567d5bcebbb300215816536517a488cc2b4534 Mon Sep 17 00:00:00 2001 From: Stephen Gregoratto Date: Tue, 29 Oct 2024 11:16:33 +1100 Subject: [PATCH] glibc_compat: Refer to lfs64 symbols --- test/link/glibc_compat/build.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/link/glibc_compat/build.zig b/test/link/glibc_compat/build.zig index 29df30151b49..d83f5d4e3f6c 100644 --- a/test/link/glibc_compat/build.zig +++ b/test/link/glibc_compat/build.zig @@ -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