From f020ed47e591b8323bb14c11e56c1b3e6fcb738d Mon Sep 17 00:00:00 2001 From: swcompiler Date: Fri, 29 Nov 2024 17:26:01 +0800 Subject: [PATCH 22/23] Sw64: Fix posix/tst-glob_lstat_compat on sw64 --- posix/tst-glob_lstat_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posix/tst-glob_lstat_compat.c b/posix/tst-glob_lstat_compat.c index 937ad77d..74cd0286 100644 --- a/posix/tst-glob_lstat_compat.c +++ b/posix/tst-glob_lstat_compat.c @@ -36,7 +36,7 @@ __typeof (glob) glob; /* On alpha glob exists in version GLIBC_2_0, GLIBC_2_1, and GLIBC_2_27. This test needs to access the version prior to GLIBC_2_27, which is GLIBC_2_1 on alpha, GLIBC_2_0 elsewhere. */ -#ifdef __alpha__ +#if defined(__alpha__) || defined(__sw_64__) compat_symbol_reference (libc, glob, glob, GLIBC_2_1); #else compat_symbol_reference (libc, glob, glob, GLIBC_2_0); -- 2.25.1