diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-10-19 19:14:30 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 14:40:36 -0300 |
commit | fea7abbc23d47e5d4f4077dcee0aa35a8ce66800 (patch) | |
tree | a29615ee9a45f9c16b6139dac6b3a136e0a46156 | |
parent | 71e4344f2568c53d7d7a122ae2b4196c1d2b8ae0 (diff) | |
download | glibc-fea7abbc23d47e5d4f4077dcee0aa35a8ce66800.zip glibc-fea7abbc23d47e5d4f4077dcee0aa35a8ce66800.tar.gz glibc-fea7abbc23d47e5d4f4077dcee0aa35a8ce66800.tar.bz2 |
Linux: make generic xstatver.h the default one
And copy the current default one to required ABIs.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/xstatver.h (renamed from sysdeps/unix/sysv/linux/generic/xstatver.h) | 11 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/xstatver.h | 13 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sh/xstatver.h | 13 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/xstatver.h | 11 |
4 files changed, 37 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/xstatver.h b/sysdeps/unix/sysv/linux/arm/xstatver.h index d8fd35b..8e1801b 100644 --- a/sysdeps/unix/sysv/linux/generic/xstatver.h +++ b/sysdeps/unix/sysv/linux/arm/xstatver.h @@ -1,10 +1,13 @@ /* Versions of the 'struct stat' data structure used in compatibility xstat functions. */ -#define _STAT_VER_KERNEL 0 -#define _STAT_VER_LINUX 0 -#define _STAT_VER _STAT_VER_KERNEL +#define _STAT_VER_LINUX_OLD 1 +#define _STAT_VER_KERNEL 1 +#define _STAT_VER_SVR4 2 +#define _STAT_VER_LINUX 3 +#define _STAT_VER _STAT_VER_LINUX /* Versions of the 'xmknod' interface used in compatibility xmknod functions. */ -#define _MKNOD_VER_LINUX 0 +#define _MKNOD_VER_LINUX 1 +#define _MKNOD_VER_SVR4 2 #define _MKNOD_VER _MKNOD_VER_LINUX diff --git a/sysdeps/unix/sysv/linux/hppa/xstatver.h b/sysdeps/unix/sysv/linux/hppa/xstatver.h new file mode 100644 index 0000000..8e1801b --- /dev/null +++ b/sysdeps/unix/sysv/linux/hppa/xstatver.h @@ -0,0 +1,13 @@ +/* Versions of the 'struct stat' data structure used in compatibility xstat + functions. */ +#define _STAT_VER_LINUX_OLD 1 +#define _STAT_VER_KERNEL 1 +#define _STAT_VER_SVR4 2 +#define _STAT_VER_LINUX 3 +#define _STAT_VER _STAT_VER_LINUX + +/* Versions of the 'xmknod' interface used in compatibility xmknod + functions. */ +#define _MKNOD_VER_LINUX 1 +#define _MKNOD_VER_SVR4 2 +#define _MKNOD_VER _MKNOD_VER_LINUX diff --git a/sysdeps/unix/sysv/linux/sh/xstatver.h b/sysdeps/unix/sysv/linux/sh/xstatver.h new file mode 100644 index 0000000..8e1801b --- /dev/null +++ b/sysdeps/unix/sysv/linux/sh/xstatver.h @@ -0,0 +1,13 @@ +/* Versions of the 'struct stat' data structure used in compatibility xstat + functions. */ +#define _STAT_VER_LINUX_OLD 1 +#define _STAT_VER_KERNEL 1 +#define _STAT_VER_SVR4 2 +#define _STAT_VER_LINUX 3 +#define _STAT_VER _STAT_VER_LINUX + +/* Versions of the 'xmknod' interface used in compatibility xmknod + functions. */ +#define _MKNOD_VER_LINUX 1 +#define _MKNOD_VER_SVR4 2 +#define _MKNOD_VER _MKNOD_VER_LINUX diff --git a/sysdeps/unix/sysv/linux/xstatver.h b/sysdeps/unix/sysv/linux/xstatver.h index 8e1801b..d8fd35b 100644 --- a/sysdeps/unix/sysv/linux/xstatver.h +++ b/sysdeps/unix/sysv/linux/xstatver.h @@ -1,13 +1,10 @@ /* Versions of the 'struct stat' data structure used in compatibility xstat functions. */ -#define _STAT_VER_LINUX_OLD 1 -#define _STAT_VER_KERNEL 1 -#define _STAT_VER_SVR4 2 -#define _STAT_VER_LINUX 3 -#define _STAT_VER _STAT_VER_LINUX +#define _STAT_VER_KERNEL 0 +#define _STAT_VER_LINUX 0 +#define _STAT_VER _STAT_VER_KERNEL /* Versions of the 'xmknod' interface used in compatibility xmknod functions. */ -#define _MKNOD_VER_LINUX 1 -#define _MKNOD_VER_SVR4 2 +#define _MKNOD_VER_LINUX 0 #define _MKNOD_VER _MKNOD_VER_LINUX |