diff options
author | Zack Weinberg <zackw@panix.com> | 2018-03-18 17:01:06 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2018-03-26 09:05:19 -0400 |
commit | f66704a937db50bbd78acc5c29f569b4c8e35d19 (patch) | |
tree | 92d261f99ff3346bffb3a61f6e788fe0daf6093e /sysdeps/unix/sysv/linux/glob64-lstat-compat.c | |
parent | 9ea49e16c79bd2acd0d0648ca0163f26dd1c3dae (diff) | |
download | glibc-zack/wip-check-localplt-2.tar glibc-zack/wip-check-localplt-2.tar.gz glibc-zack/wip-check-localplt-2.tar.bz2 glibc-zack/wip-check-localplt-2.zip |
WIP finer-grained, more aggressive local PLT call checkzack/wip-check-localplt-2
Diffstat (limited to 'sysdeps/unix/sysv/linux/glob64-lstat-compat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/glob64-lstat-compat.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/glob64-lstat-compat.c b/sysdeps/unix/sysv/linux/glob64-lstat-compat.c index 4475e0091c..66334e7009 100644 --- a/sysdeps/unix/sysv/linux/glob64-lstat-compat.c +++ b/sysdeps/unix/sysv/linux/glob64-lstat-compat.c @@ -21,6 +21,8 @@ #include <kernel_stat.h> #if !XSTAT_IS_XSTAT64 +# if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_27) + # include <glob.h> # include <dirent.h> # include <sys/stat.h> @@ -45,12 +47,14 @@ # include <posix/glob.c> -# if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_27) +libc_hidden_def (__glob64_lstat_compat) + # ifndef GLOB_NO_OLD_VERSION # define GLOB_LSTAT_START_VER GLIBC_2_2 # else # define GLOB_LSTAT_START_VER GLIBC_2_1 # endif compat_symbol (libc, __glob64_lstat_compat, glob64, GLOB_LSTAT_START_VER); -# endif -#endif /* XSTAT_IS_XSTAT64 */ + +# endif /* SHLIB_COMPAT */ +#endif /* XSTAT_IS_XSTAT64 */ |