glibc/sysdeps/unix/sysv/linux/alpha
Adhemerval Zanella 6073bae64c linux: Disentangle fstatat from fxstatat
It implements all the required syscall for the all Linux kABIS on
fstatat{64} instead of calling fxstatat{64}.

On non-LFS implementation, it handles 3 cases:

  1. New kABIs which uses generic pre 64-bit time Linux ABI (csky and
     nios): it issues __NR_fstat64 plus handle the overflow on st_ino,
     st_size, or st_blocks.

  2. Old KABIs with old non-LFS support (arm, i386, hppa, m68k,
     microblaze, mips32, s390, sh, powerpc, and sparc32): it issues
     __NR_fstatat64 and convert the result to struct stat.

  3. 64-bit kABI outliers (mips64 and mips64-n32): it issues
     __NR_newfstatat and convert the result to struct stat.

The generic LFS implementation handles multiple cases:

  1. XSTAT_IS_XSTAT64 being 1:

    1.1. 64-bit kABI (aarch64, ia64, powerpc64*, s390x, riscv64, and
         x86_64): it issues __NR_newfstatat.

    1.2. 64-bit kABI outlier (alpha): it issues __NR_fstatat64.

    1.3. 64-bit kABI outlier where struct stat64 does not match kernel
         one (sparc64): it issues __NR_fstatat64 and convert the result
         to struct stat64.

    1.4. 32-bit kABI with default 64-bit time_t (arc, riscv32): it
         issues __NR_statx and convert the result to struct stat64.

  2. Old ABIs with XSTAT_IS_XSTAT64 being 0:

    2.1. All kABIs with non-LFS support (arm, csky, i386, hppa, m68k,
         microblaze, nios2, sh, powerpc32, and sparc32): it issues
         __NR_fstatat64.

    2.2. 64-bit kABI outliers (mips64 and mips64-n32): it issues
         __NR_newfstatat and convert the result to struct stat64.

It allows to remove all the hidden definitions from the {f,l}xstat{64}
(some are still kept because Hurd requires it).

Checked with a build for all affected ABIs. I also checked on x86_64,
i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2020-10-09 17:02:06 -03:00
..
alpha
alphaev6/fpu
alphaev67/fpu
bits linux: Move the struct stat{64} to struct_stat.h 2020-10-09 17:02:06 -03:00
fpu
sys Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies
Makefile nptl: Move pthread_sigmask implementation to libc 2020-04-21 14:01:58 -03:00
Versions signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
____longjmp_chk.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
a.out.h Break lines before not after operators, batch 4. 2019-03-07 20:20:25 +00:00
adjtime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
adjtimex.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
aio_cancel.c
arch-syscall.h Update syscall lists for Linux 5.8. 2020-08-07 14:38:43 +00:00
brk.S linux: Consolidate INLINE_SYSCALL 2020-02-14 21:09:12 -03:00
c++-types.data
clone.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
configure
configure.ac
dl-auxv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-brk.S
dl-support.c
dl-sysdep.c
errlist-compat.c signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
fraiseexcpt.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fstatfs64.c
fstatvfs.c
fstatvfs64.c
fxstat64.c linux: Disentangle fstatat from fxstatat 2020-10-09 17:02:06 -03:00
fxstatat64.c linux: Disentangle fstatat from fxstatat 2020-10-09 17:02:06 -03:00
getclktck.c
getcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getdents.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getdents64.c Consolidate Linux getdents{64} implementation 2018-04-19 08:49:52 -03:00
getegid.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
geteuid.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getppid.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getrlimit64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getsysstats.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gettimeofday.c alpha: Fix static gettimeofday symbol 2020-02-13 08:27:27 -03:00
glob-lstat-compat.c posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
globfree.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ieee_get_fp_control.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ieee_set_fp_control.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
internal_statvfs64.c
ioperm.c Linux: pciconfig_iobase syscall number is always available on alpha 2020-03-03 12:20:59 +01:00
ipc_priv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
jmp_buf-macros.h Add jmp_buf-macros.h 2017-11-09 05:10:03 -08:00
kernel-features.h Linux: Use system call tables during build 2020-01-02 10:18:23 +01:00
kernel_sigaction.h alpha: Use Linux generic sigaction implementation 2018-12-18 19:52:21 -02:00
kernel_stat.h linux: Define STAT64_IS_KERNEL_STAT64 2020-09-11 14:35:11 -03:00
kernel_sysinfo.h
kernel_termios.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ld.abilist ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
libBrokenLocale.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libanl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libc.abilist Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00
libcrypt.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libdl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libm.abilist New exp10f version without SVID compat wrapper 2020-06-19 12:08:47 -03:00
libnsl.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libpthread.abilist nptl: Move pthread_gettattr_np into libc 2020-05-20 20:27:49 +02:00
libresolv.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
librt.abilist Finish move of clock_* functions to libc. [BZ #24959] 2019-09-04 14:39:38 +02:00
libthread_db.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
libutil.abilist Ignore absolute symbols in ABI tests. 2018-05-04 15:46:32 +00:00
localplt.data ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] 2020-02-15 11:01:23 +01:00
lxstat64.c linux: Disentangle fstatat from fxstatat 2020-10-09 17:02:06 -03:00
makecontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nldbl-abi.h
oldglob.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
osf_adjtime.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_getitimer.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_getrusage.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_gettimeofday.c y2038: Replace __clock_gettime with __clock_gettime64 2020-05-20 16:45:16 +02:00
osf_setitimer.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_settimeofday.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_utimes.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
osf_wait4.c sysv/alpha: Use generic __timeval32 and helpers 2020-04-02 09:21:06 -07:00
pipe.S
register-dump.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rt_sigaction.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
select.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setfpucw.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setrlimit64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
settimeofday.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shlib-versions
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sizes.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
statfs64.c
statvfs.c
statvfs64.c
swapcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscall.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscalls.list alpha: Use generic gettimeofday implementation 2020-02-12 16:55:30 -03:00
sysconf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sysdep.h linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
timer_create.c
timer_delete.c
timer_getoverr.c
timer_gettime.c
timer_settime.c
ucontext-offsets.sym
vfork.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wait4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordexp.c
xstat64.c linux: Disentangle fstatat from fxstatat 2020-10-09 17:02:06 -03:00
xstatconv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xstatconv.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xstatver.h Remove mknod wrapper functions, move them to symbols 2020-10-09 17:02:06 -03:00