| author | |
| committer | |
| log | 0e2da1137980d31b1a1e4577dbd697d4a41cfa9b |
| tree | 85e364afe6dfb3bc021b82f1946046ae787563e8 |
| parent | 5ce45240277a6383731ef5e371e5dcbb36ada343 |
This introduces csky support.1086 files changed, 6941 insertions(+), 5202 deletions(-)
lib/libc/include/aarch64-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. | 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. AArch64 version. | 1 | /* Define FP_FAST_* macros. AArch64 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64-linux-gnu/bits/hwcap.h+3-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. | 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -72,4 +72,5 @@ | ... | @@ -72,4 +72,5 @@ |
| 72 | #define HWCAP2_BF16		(1 << 14) | 72 | #define HWCAP2_BF16		(1 << 14) |
| 73 | #define HWCAP2_DGH		(1 << 15) | 73 | #define HWCAP2_DGH		(1 << 15) |
| 74 | #define HWCAP2_RNG		(1 << 16) | 74 | #define HWCAP2_RNG		(1 << 16) |
| 75 | #define HWCAP2_BTI		(1 << 17) | ||
| \ No newline at end of file | |||
| 75 | #define HWCAP2_BTI		(1 << 17) | ||
| 76 | #define HWCAP2_MTE		(1 << 18) | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64-linux-gnu/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-128 version. | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64-linux-gnu/bits/mman.h+2-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/AArch64 version. | 1 | /* Definitions for POSIX memory map interface. Linux/AArch64 version. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -24,6 +24,7 @@ | ... | @@ -24,6 +24,7 @@ |
| 24 | arch/arm64/include/uapi/asm/mman.h. */ | 24 | arch/arm64/include/uapi/asm/mman.h. */ |
| 25 | 25 | ||
| 26 | #define PROT_BTI	0x10 | 26 | #define PROT_BTI	0x10 |
| 27 | #define PROT_MTE	0x20 | ||
| 27 | 28 | ||
| 28 | #include <bits/mman-map-flags-generic.h> | 29 | #include <bits/mman-map-flags-generic.h> |
| 29 | 30 |
lib/libc/include/aarch64-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. AArch64 version. | 1 | /* Types for registers for sys/procfs.h. AArch64 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 2015-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2015-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64-linux-gnu/bits/stat.h deleted-174| ... | @@ -1,174 +0,0 @@ | ||
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STAT_H | ||
| 24 | #define _BITS_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the | ||
| 30 | stat() syscall; 32-bit libc uses the kernel's 'struct stat64' | ||
| 31 | and accesses it via the stat64() syscall. All the various | ||
| 32 | APIs offered by libc use the kernel shape for their struct stat | ||
| 33 | structure; the only difference is that 32-bit programs not | ||
| 34 | using __USE_FILE_OFFSET64 only see the low 32 bits of some | ||
| 35 | of the fields (specifically st_ino, st_size, and st_blocks). */ | ||
| 36 | #define _STAT_VER_KERNEL	0 | ||
| 37 | #define _STAT_VER_LINUX		0 | ||
| 38 | #define _STAT_VER		_STAT_VER_KERNEL | ||
| 39 | |||
| 40 | /* Versions of the `xmknod' interface. */ | ||
| 41 | #define _MKNOD_VER_LINUX	0 | ||
| 42 | |||
| 43 | #if defined __USE_FILE_OFFSET64 | ||
| 44 | # define __field64(type, type64, name) type64 name | ||
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 47 | # error "ino_t and off_t must both be the same type" | ||
| 48 | # endif | ||
| 49 | # define __field64(type, type64, name) type name | ||
| 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 51 | # define __field64(type, type64, name) \ | ||
| 52 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 53 | #else | ||
| 54 | # define __field64(type, type64, name) \ | ||
| 55 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 56 | #endif | ||
| 57 | |||
| 58 | struct stat | ||
| 59 | { | ||
| 60 | __dev_t st_dev;		/* Device. */ | ||
| 61 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | __nlink_t st_nlink;		/* Link count. */ | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 67 | __dev_t __pad1; | ||
| 68 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 69 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 70 | int __pad2; | ||
| 71 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 72 | #ifdef __USE_XOPEN2K8 | ||
| 73 | /* Nanosecond resolution timestamps are stored in a format | ||
| 74 | equivalent to 'struct timespec'. This is the type used | ||
| 75 | whenever possible but the Unix namespace rules do not allow the | ||
| 76 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 77 | Therefore we have to handle the use of this header in strictly | ||
| 78 | standard-compliant sources special. */ | ||
| 79 | struct timespec st_atim;		/* Time of last access. */ | ||
| 80 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 81 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 82 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 83 | # define st_mtime st_mtim.tv_sec | ||
| 84 | # define st_ctime st_ctim.tv_sec | ||
| 85 | #else | ||
| 86 | __time_t st_atime;			/* Time of last access. */ | ||
| 87 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 88 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 89 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 90 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 91 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 92 | #endif | ||
| 93 | int __glibc_reserved[2]; | ||
| 94 | }; | ||
| 95 | |||
| 96 | #undef __field64 | ||
| 97 | |||
| 98 | #ifdef __USE_LARGEFILE64 | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 103 | __mode_t st_mode;		/* File mode. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 106 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 107 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 108 | __dev_t __pad1; | ||
| 109 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 110 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 111 | int __pad2; | ||
| 112 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 113 | #ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | #else | ||
| 124 | __time_t st_atime;			/* Time of last access. */ | ||
| 125 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 126 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 127 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 128 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 129 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 130 | #endif | ||
| 131 | int __glibc_reserved[2]; | ||
| 132 | }; | ||
| 133 | #endif | ||
| 134 | |||
| 135 | /* Tell code we have these members. */ | ||
| 136 | #define	_STATBUF_ST_BLKSIZE | ||
| 137 | #define _STATBUF_ST_RDEV | ||
| 138 | /* Nanosecond resolution time values are supported. */ | ||
| 139 | #define _STATBUF_ST_NSEC | ||
| 140 | |||
| 141 | /* Encoding of the file mode. */ | ||
| 142 | |||
| 143 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 144 | |||
| 145 | /* File types. */ | ||
| 146 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 147 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 148 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 149 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 150 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 151 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 152 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 153 | |||
| 154 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 155 | they do it by enforcing the correct use of the macros. */ | ||
| 156 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 158 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 159 | |||
| 160 | /* Protection bits. */ | ||
| 161 | |||
| 162 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 163 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 164 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 165 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 166 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 167 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 168 | |||
| 169 | #ifdef __USE_ATFILE | ||
| 170 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 171 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 172 | #endif | ||
| 173 | |||
| 174 | #endif /* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* AArch64 internal rwlock struct definitions. | 1 | /* AArch64 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/bits/struct_stat.h created+127| ... | @@ -0,0 +1,127 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | #if defined __USE_FILE_OFFSET64 | ||
| 30 | # define __field64(type, type64, name) type64 name | ||
| 31 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 32 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 33 | # error "ino_t and off_t must both be the same type" | ||
| 34 | # endif | ||
| 35 | # define __field64(type, type64, name) type name | ||
| 36 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 37 | # define __field64(type, type64, name) \ | ||
| 38 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 39 | #else | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 42 | #endif | ||
| 43 | |||
| 44 | struct stat | ||
| 45 | { | ||
| 46 | __dev_t st_dev;		/* Device. */ | ||
| 47 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 48 | __mode_t st_mode;		/* File mode. */ | ||
| 49 | __nlink_t st_nlink;		/* Link count. */ | ||
| 50 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 51 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 52 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 53 | __dev_t __pad1; | ||
| 54 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 55 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 56 | int __pad2; | ||
| 57 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 58 | #ifdef __USE_XOPEN2K8 | ||
| 59 | /* Nanosecond resolution timestamps are stored in a format | ||
| 60 | equivalent to 'struct timespec'. This is the type used | ||
| 61 | whenever possible but the Unix namespace rules do not allow the | ||
| 62 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 63 | Therefore we have to handle the use of this header in strictly | ||
| 64 | standard-compliant sources special. */ | ||
| 65 | struct timespec st_atim;		/* Time of last access. */ | ||
| 66 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 67 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 68 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 69 | # define st_mtime st_mtim.tv_sec | ||
| 70 | # define st_ctime st_ctim.tv_sec | ||
| 71 | #else | ||
| 72 | __time_t st_atime;			/* Time of last access. */ | ||
| 73 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 74 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 75 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 76 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 77 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 78 | #endif | ||
| 79 | int __glibc_reserved[2]; | ||
| 80 | }; | ||
| 81 | |||
| 82 | #undef __field64 | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | __dev_t st_dev;		/* Device. */ | ||
| 88 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;		/* File mode. */ | ||
| 90 | __nlink_t st_nlink;		/* Link count. */ | ||
| 91 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 94 | __dev_t __pad1; | ||
| 95 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 97 | int __pad2; | ||
| 98 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 99 | #ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | #else | ||
| 110 | __time_t st_atime;			/* Time of last access. */ | ||
| 111 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 112 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 113 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 114 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 115 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 116 | #endif | ||
| 117 | int __glibc_reserved[2]; | ||
| 118 | }; | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Tell code we have these members. */ | ||
| 122 | #define	_STATBUF_ST_BLKSIZE | ||
| 123 | #define _STATBUF_ST_RDEV | ||
| 124 | /* Nanosecond resolution time values are supported. */ | ||
| 125 | #define _STATBUF_ST_NSEC | ||
| 126 | |||
| 127 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/bits/wordsize.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Determine the wordsize from the preprocessor defines. | 1 | /* Determine the wordsize from the preprocessor defines. |
| 2 | 2 | ||
| 3 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64-linux-gnu/fpu_control.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64-linux-gnu/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. | 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2009-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. | 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. AArch64 version. | 1 | /* Define FP_FAST_* macros. AArch64 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64_be-linux-gnu/bits/hwcap.h+3-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. | 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -72,4 +72,5 @@ | ... | @@ -72,4 +72,5 @@ |
| 72 | #define HWCAP2_BF16		(1 << 14) | 72 | #define HWCAP2_BF16		(1 << 14) |
| 73 | #define HWCAP2_DGH		(1 << 15) | 73 | #define HWCAP2_DGH		(1 << 15) |
| 74 | #define HWCAP2_RNG		(1 << 16) | 74 | #define HWCAP2_RNG		(1 << 16) |
| 75 | #define HWCAP2_BTI		(1 << 17) | ||
| \ No newline at end of file | |||
| 75 | #define HWCAP2_BTI		(1 << 17) | ||
| 76 | #define HWCAP2_MTE		(1 << 18) | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64_be-linux-gnu/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-128 version. | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64_be-linux-gnu/bits/mman.h+2-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/AArch64 version. | 1 | /* Definitions for POSIX memory map interface. Linux/AArch64 version. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -24,6 +24,7 @@ | ... | @@ -24,6 +24,7 @@ |
| 24 | arch/arm64/include/uapi/asm/mman.h. */ | 24 | arch/arm64/include/uapi/asm/mman.h. */ |
| 25 | 25 | ||
| 26 | #define PROT_BTI	0x10 | 26 | #define PROT_BTI	0x10 |
| 27 | #define PROT_MTE	0x20 | ||
| 27 | 28 | ||
| 28 | #include <bits/mman-map-flags-generic.h> | 29 | #include <bits/mman-map-flags-generic.h> |
| 29 | 30 |
lib/libc/include/aarch64_be-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. AArch64 version. | 1 | /* Types for registers for sys/procfs.h. AArch64 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 2015-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2015-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64_be-linux-gnu/bits/stat.h deleted-174| ... | @@ -1,174 +0,0 @@ | ||
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STAT_H | ||
| 24 | #define _BITS_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the | ||
| 30 | stat() syscall; 32-bit libc uses the kernel's 'struct stat64' | ||
| 31 | and accesses it via the stat64() syscall. All the various | ||
| 32 | APIs offered by libc use the kernel shape for their struct stat | ||
| 33 | structure; the only difference is that 32-bit programs not | ||
| 34 | using __USE_FILE_OFFSET64 only see the low 32 bits of some | ||
| 35 | of the fields (specifically st_ino, st_size, and st_blocks). */ | ||
| 36 | #define _STAT_VER_KERNEL	0 | ||
| 37 | #define _STAT_VER_LINUX		0 | ||
| 38 | #define _STAT_VER		_STAT_VER_KERNEL | ||
| 39 | |||
| 40 | /* Versions of the `xmknod' interface. */ | ||
| 41 | #define _MKNOD_VER_LINUX	0 | ||
| 42 | |||
| 43 | #if defined __USE_FILE_OFFSET64 | ||
| 44 | # define __field64(type, type64, name) type64 name | ||
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 47 | # error "ino_t and off_t must both be the same type" | ||
| 48 | # endif | ||
| 49 | # define __field64(type, type64, name) type name | ||
| 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 51 | # define __field64(type, type64, name) \ | ||
| 52 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 53 | #else | ||
| 54 | # define __field64(type, type64, name) \ | ||
| 55 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 56 | #endif | ||
| 57 | |||
| 58 | struct stat | ||
| 59 | { | ||
| 60 | __dev_t st_dev;		/* Device. */ | ||
| 61 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | __nlink_t st_nlink;		/* Link count. */ | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 67 | __dev_t __pad1; | ||
| 68 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 69 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 70 | int __pad2; | ||
| 71 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 72 | #ifdef __USE_XOPEN2K8 | ||
| 73 | /* Nanosecond resolution timestamps are stored in a format | ||
| 74 | equivalent to 'struct timespec'. This is the type used | ||
| 75 | whenever possible but the Unix namespace rules do not allow the | ||
| 76 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 77 | Therefore we have to handle the use of this header in strictly | ||
| 78 | standard-compliant sources special. */ | ||
| 79 | struct timespec st_atim;		/* Time of last access. */ | ||
| 80 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 81 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 82 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 83 | # define st_mtime st_mtim.tv_sec | ||
| 84 | # define st_ctime st_ctim.tv_sec | ||
| 85 | #else | ||
| 86 | __time_t st_atime;			/* Time of last access. */ | ||
| 87 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 88 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 89 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 90 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 91 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 92 | #endif | ||
| 93 | int __glibc_reserved[2]; | ||
| 94 | }; | ||
| 95 | |||
| 96 | #undef __field64 | ||
| 97 | |||
| 98 | #ifdef __USE_LARGEFILE64 | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 103 | __mode_t st_mode;		/* File mode. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 106 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 107 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 108 | __dev_t __pad1; | ||
| 109 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 110 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 111 | int __pad2; | ||
| 112 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 113 | #ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | #else | ||
| 124 | __time_t st_atime;			/* Time of last access. */ | ||
| 125 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 126 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 127 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 128 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 129 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 130 | #endif | ||
| 131 | int __glibc_reserved[2]; | ||
| 132 | }; | ||
| 133 | #endif | ||
| 134 | |||
| 135 | /* Tell code we have these members. */ | ||
| 136 | #define	_STATBUF_ST_BLKSIZE | ||
| 137 | #define _STATBUF_ST_RDEV | ||
| 138 | /* Nanosecond resolution time values are supported. */ | ||
| 139 | #define _STATBUF_ST_NSEC | ||
| 140 | |||
| 141 | /* Encoding of the file mode. */ | ||
| 142 | |||
| 143 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 144 | |||
| 145 | /* File types. */ | ||
| 146 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 147 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 148 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 149 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 150 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 151 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 152 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 153 | |||
| 154 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 155 | they do it by enforcing the correct use of the macros. */ | ||
| 156 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 158 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 159 | |||
| 160 | /* Protection bits. */ | ||
| 161 | |||
| 162 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 163 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 164 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 165 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 166 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 167 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 168 | |||
| 169 | #ifdef __USE_ATFILE | ||
| 170 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 171 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 172 | #endif | ||
| 173 | |||
| 174 | #endif /* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64_be-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* AArch64 internal rwlock struct definitions. | 1 | /* AArch64 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/bits/struct_stat.h created+127| ... | @@ -0,0 +1,127 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | #if defined __USE_FILE_OFFSET64 | ||
| 30 | # define __field64(type, type64, name) type64 name | ||
| 31 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 32 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 33 | # error "ino_t and off_t must both be the same type" | ||
| 34 | # endif | ||
| 35 | # define __field64(type, type64, name) type name | ||
| 36 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 37 | # define __field64(type, type64, name) \ | ||
| 38 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 39 | #else | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 42 | #endif | ||
| 43 | |||
| 44 | struct stat | ||
| 45 | { | ||
| 46 | __dev_t st_dev;		/* Device. */ | ||
| 47 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 48 | __mode_t st_mode;		/* File mode. */ | ||
| 49 | __nlink_t st_nlink;		/* Link count. */ | ||
| 50 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 51 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 52 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 53 | __dev_t __pad1; | ||
| 54 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 55 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 56 | int __pad2; | ||
| 57 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 58 | #ifdef __USE_XOPEN2K8 | ||
| 59 | /* Nanosecond resolution timestamps are stored in a format | ||
| 60 | equivalent to 'struct timespec'. This is the type used | ||
| 61 | whenever possible but the Unix namespace rules do not allow the | ||
| 62 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 63 | Therefore we have to handle the use of this header in strictly | ||
| 64 | standard-compliant sources special. */ | ||
| 65 | struct timespec st_atim;		/* Time of last access. */ | ||
| 66 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 67 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 68 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 69 | # define st_mtime st_mtim.tv_sec | ||
| 70 | # define st_ctime st_ctim.tv_sec | ||
| 71 | #else | ||
| 72 | __time_t st_atime;			/* Time of last access. */ | ||
| 73 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 74 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 75 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 76 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 77 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 78 | #endif | ||
| 79 | int __glibc_reserved[2]; | ||
| 80 | }; | ||
| 81 | |||
| 82 | #undef __field64 | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | __dev_t st_dev;		/* Device. */ | ||
| 88 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;		/* File mode. */ | ||
| 90 | __nlink_t st_nlink;		/* Link count. */ | ||
| 91 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 94 | __dev_t __pad1; | ||
| 95 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 97 | int __pad2; | ||
| 98 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 99 | #ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | #else | ||
| 110 | __time_t st_atime;			/* Time of last access. */ | ||
| 111 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 112 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 113 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 114 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 115 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 116 | #endif | ||
| 117 | int __glibc_reserved[2]; | ||
| 118 | }; | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Tell code we have these members. */ | ||
| 122 | #define	_STATBUF_ST_BLKSIZE | ||
| 123 | #define _STATBUF_ST_RDEV | ||
| 124 | /* Nanosecond resolution time values are supported. */ | ||
| 125 | #define _STATBUF_ST_NSEC | ||
| 126 | |||
| 127 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/aarch64_be-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/bits/wordsize.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Determine the wordsize from the preprocessor defines. | 1 | /* Determine the wordsize from the preprocessor defines. |
| 2 | 2 | ||
| 3 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64_be-linux-gnu/fpu_control.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/aarch64_be-linux-gnu/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. | 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/aarch64_be-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/aarch64_be-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2009-2021 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/arm-linux-gnueabi/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features. | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/arm-linux-gnueabi/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. Arm version. | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. ARM version. | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/stat.h deleted-172| ... | @@ -1,172 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | unsigned short int __pad1; | ||
| 42 | #ifndef __USE_FILE_OFFSET64 | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | #ifndef __USE_FILE_OFFSET64 | ||
| 87 | unsigned long int __glibc_reserved4; | ||
| 88 | unsigned long int __glibc_reserved5; | ||
| 89 | #else | ||
| 90 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 91 | #endif | ||
| 92 | }; | ||
| 93 | |||
| 94 | #ifdef __USE_LARGEFILE64 | ||
| 95 | struct stat64 | ||
| 96 | { | ||
| 97 | __dev_t st_dev;			/* Device. */ | ||
| 98 | unsigned int __pad1; | ||
| 99 | |||
| 100 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 101 | __mode_t st_mode;			/* File mode. */ | ||
| 102 | __nlink_t st_nlink;			/* Link count. */ | ||
| 103 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 104 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 105 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 106 | unsigned int __pad2; | ||
| 107 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 108 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 109 | |||
| 110 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 111 | # ifdef __USE_XOPEN2K8 | ||
| 112 | /* Nanosecond resolution timestamps are stored in a format | ||
| 113 | equivalent to 'struct timespec'. This is the type used | ||
| 114 | whenever possible but the Unix namespace rules do not allow the | ||
| 115 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 116 | Therefore we have to handle the use of this header in strictly | ||
| 117 | standard-compliant sources special. */ | ||
| 118 | struct timespec st_atim;		/* Time of last access. */ | ||
| 119 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 120 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 130 | }; | ||
| 131 | #endif | ||
| 132 | |||
| 133 | /* Tell code we have these members. */ | ||
| 134 | #define	_STATBUF_ST_BLKSIZE | ||
| 135 | #define _STATBUF_ST_RDEV | ||
| 136 | /* Nanosecond resolution time values are supported. */ | ||
| 137 | #define _STATBUF_ST_NSEC | ||
| 138 | |||
| 139 | /* Encoding of the file mode. */ | ||
| 140 | |||
| 141 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 142 | |||
| 143 | /* File types. */ | ||
| 144 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 145 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 146 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 147 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 148 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 149 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 150 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 151 | |||
| 152 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 153 | they do it by enforcing the correct use of the macros. */ | ||
| 154 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 155 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | |||
| 158 | /* Protection bits. */ | ||
| 159 | |||
| 160 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 161 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 162 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 163 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 164 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 165 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 166 | |||
| 167 | #ifdef __USE_ATFILE | ||
| 168 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 169 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 170 | #endif | ||
| 171 | |||
| 172 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/arm-linux-gnueabi/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | 1 | /* Default read-write lock implementation struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | unsigned short int __pad1; | ||
| 33 | #ifndef __USE_FILE_OFFSET64 | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | #ifndef __USE_FILE_OFFSET64 | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | #else | ||
| 81 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 82 | #endif | ||
| 83 | }; | ||
| 84 | |||
| 85 | #ifdef __USE_LARGEFILE64 | ||
| 86 | struct stat64 | ||
| 87 | { | ||
| 88 | __dev_t st_dev;			/* Device. */ | ||
| 89 | unsigned int __pad1; | ||
| 90 | |||
| 91 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 92 | __mode_t st_mode;			/* File mode. */ | ||
| 93 | __nlink_t st_nlink;			/* Link count. */ | ||
| 94 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 95 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 96 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 97 | unsigned int __pad2; | ||
| 98 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 99 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 100 | |||
| 101 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 102 | # ifdef __USE_XOPEN2K8 | ||
| 103 | /* Nanosecond resolution timestamps are stored in a format | ||
| 104 | equivalent to 'struct timespec'. This is the type used | ||
| 105 | whenever possible but the Unix namespace rules do not allow the | ||
| 106 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 107 | Therefore we have to handle the use of this header in strictly | ||
| 108 | standard-compliant sources special. */ | ||
| 109 | struct timespec st_atim;		/* Time of last access. */ | ||
| 110 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 111 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 121 | }; | ||
| 122 | #endif | ||
| 123 | |||
| 124 | /* Tell code we have these members. */ | ||
| 125 | #define	_STATBUF_ST_BLKSIZE | ||
| 126 | #define _STATBUF_ST_RDEV | ||
| 127 | /* Nanosecond resolution time values are supported. */ | ||
| 128 | #define _STATBUF_ST_NSEC | ||
| 129 | |||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/arm-linux-gnueabi/bits/wordsize.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. ARM VFP version. | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/ARM version. | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/arm-linux-gnueabi/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabi/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features. | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/arm-linux-gnueabihf/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. Arm version. | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. ARM version. | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/stat.h deleted-172| ... | @@ -1,172 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | unsigned short int __pad1; | ||
| 42 | #ifndef __USE_FILE_OFFSET64 | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | #ifndef __USE_FILE_OFFSET64 | ||
| 87 | unsigned long int __glibc_reserved4; | ||
| 88 | unsigned long int __glibc_reserved5; | ||
| 89 | #else | ||
| 90 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 91 | #endif | ||
| 92 | }; | ||
| 93 | |||
| 94 | #ifdef __USE_LARGEFILE64 | ||
| 95 | struct stat64 | ||
| 96 | { | ||
| 97 | __dev_t st_dev;			/* Device. */ | ||
| 98 | unsigned int __pad1; | ||
| 99 | |||
| 100 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 101 | __mode_t st_mode;			/* File mode. */ | ||
| 102 | __nlink_t st_nlink;			/* Link count. */ | ||
| 103 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 104 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 105 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 106 | unsigned int __pad2; | ||
| 107 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 108 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 109 | |||
| 110 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 111 | # ifdef __USE_XOPEN2K8 | ||
| 112 | /* Nanosecond resolution timestamps are stored in a format | ||
| 113 | equivalent to 'struct timespec'. This is the type used | ||
| 114 | whenever possible but the Unix namespace rules do not allow the | ||
| 115 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 116 | Therefore we have to handle the use of this header in strictly | ||
| 117 | standard-compliant sources special. */ | ||
| 118 | struct timespec st_atim;		/* Time of last access. */ | ||
| 119 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 120 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 130 | }; | ||
| 131 | #endif | ||
| 132 | |||
| 133 | /* Tell code we have these members. */ | ||
| 134 | #define	_STATBUF_ST_BLKSIZE | ||
| 135 | #define _STATBUF_ST_RDEV | ||
| 136 | /* Nanosecond resolution time values are supported. */ | ||
| 137 | #define _STATBUF_ST_NSEC | ||
| 138 | |||
| 139 | /* Encoding of the file mode. */ | ||
| 140 | |||
| 141 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 142 | |||
| 143 | /* File types. */ | ||
| 144 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 145 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 146 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 147 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 148 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 149 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 150 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 151 | |||
| 152 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 153 | they do it by enforcing the correct use of the macros. */ | ||
| 154 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 155 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | |||
| 158 | /* Protection bits. */ | ||
| 159 | |||
| 160 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 161 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 162 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 163 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 164 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 165 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 166 | |||
| 167 | #ifdef __USE_ATFILE | ||
| 168 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 169 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 170 | #endif | ||
| 171 | |||
| 172 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/arm-linux-gnueabihf/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | 1 | /* Default read-write lock implementation struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | unsigned short int __pad1; | ||
| 33 | #ifndef __USE_FILE_OFFSET64 | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | #ifndef __USE_FILE_OFFSET64 | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | #else | ||
| 81 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 82 | #endif | ||
| 83 | }; | ||
| 84 | |||
| 85 | #ifdef __USE_LARGEFILE64 | ||
| 86 | struct stat64 | ||
| 87 | { | ||
| 88 | __dev_t st_dev;			/* Device. */ | ||
| 89 | unsigned int __pad1; | ||
| 90 | |||
| 91 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 92 | __mode_t st_mode;			/* File mode. */ | ||
| 93 | __nlink_t st_nlink;			/* Link count. */ | ||
| 94 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 95 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 96 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 97 | unsigned int __pad2; | ||
| 98 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 99 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 100 | |||
| 101 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 102 | # ifdef __USE_XOPEN2K8 | ||
| 103 | /* Nanosecond resolution timestamps are stored in a format | ||
| 104 | equivalent to 'struct timespec'. This is the type used | ||
| 105 | whenever possible but the Unix namespace rules do not allow the | ||
| 106 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 107 | Therefore we have to handle the use of this header in strictly | ||
| 108 | standard-compliant sources special. */ | ||
| 109 | struct timespec st_atim;		/* Time of last access. */ | ||
| 110 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 111 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 121 | }; | ||
| 122 | #endif | ||
| 123 | |||
| 124 | /* Tell code we have these members. */ | ||
| 125 | #define	_STATBUF_ST_BLKSIZE | ||
| 126 | #define _STATBUF_ST_RDEV | ||
| 127 | /* Nanosecond resolution time values are supported. */ | ||
| 128 | #define _STATBUF_ST_NSEC | ||
| 129 | |||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/arm-linux-gnueabihf/bits/wordsize.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. ARM VFP version. | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/ARM version. | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/arm-linux-gnueabihf/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/arm-linux-gnueabihf/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features. | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/armeb-linux-gnueabi/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. Arm version. | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. ARM version. | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/stat.h deleted-172| ... | @@ -1,172 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | unsigned short int __pad1; | ||
| 42 | #ifndef __USE_FILE_OFFSET64 | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | #ifndef __USE_FILE_OFFSET64 | ||
| 87 | unsigned long int __glibc_reserved4; | ||
| 88 | unsigned long int __glibc_reserved5; | ||
| 89 | #else | ||
| 90 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 91 | #endif | ||
| 92 | }; | ||
| 93 | |||
| 94 | #ifdef __USE_LARGEFILE64 | ||
| 95 | struct stat64 | ||
| 96 | { | ||
| 97 | __dev_t st_dev;			/* Device. */ | ||
| 98 | unsigned int __pad1; | ||
| 99 | |||
| 100 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 101 | __mode_t st_mode;			/* File mode. */ | ||
| 102 | __nlink_t st_nlink;			/* Link count. */ | ||
| 103 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 104 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 105 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 106 | unsigned int __pad2; | ||
| 107 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 108 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 109 | |||
| 110 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 111 | # ifdef __USE_XOPEN2K8 | ||
| 112 | /* Nanosecond resolution timestamps are stored in a format | ||
| 113 | equivalent to 'struct timespec'. This is the type used | ||
| 114 | whenever possible but the Unix namespace rules do not allow the | ||
| 115 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 116 | Therefore we have to handle the use of this header in strictly | ||
| 117 | standard-compliant sources special. */ | ||
| 118 | struct timespec st_atim;		/* Time of last access. */ | ||
| 119 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 120 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 130 | }; | ||
| 131 | #endif | ||
| 132 | |||
| 133 | /* Tell code we have these members. */ | ||
| 134 | #define	_STATBUF_ST_BLKSIZE | ||
| 135 | #define _STATBUF_ST_RDEV | ||
| 136 | /* Nanosecond resolution time values are supported. */ | ||
| 137 | #define _STATBUF_ST_NSEC | ||
| 138 | |||
| 139 | /* Encoding of the file mode. */ | ||
| 140 | |||
| 141 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 142 | |||
| 143 | /* File types. */ | ||
| 144 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 145 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 146 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 147 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 148 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 149 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 150 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 151 | |||
| 152 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 153 | they do it by enforcing the correct use of the macros. */ | ||
| 154 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 155 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | |||
| 158 | /* Protection bits. */ | ||
| 159 | |||
| 160 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 161 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 162 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 163 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 164 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 165 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 166 | |||
| 167 | #ifdef __USE_ATFILE | ||
| 168 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 169 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 170 | #endif | ||
| 171 | |||
| 172 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/armeb-linux-gnueabi/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | 1 | /* Default read-write lock implementation struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | unsigned short int __pad1; | ||
| 33 | #ifndef __USE_FILE_OFFSET64 | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | #ifndef __USE_FILE_OFFSET64 | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | #else | ||
| 81 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 82 | #endif | ||
| 83 | }; | ||
| 84 | |||
| 85 | #ifdef __USE_LARGEFILE64 | ||
| 86 | struct stat64 | ||
| 87 | { | ||
| 88 | __dev_t st_dev;			/* Device. */ | ||
| 89 | unsigned int __pad1; | ||
| 90 | |||
| 91 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 92 | __mode_t st_mode;			/* File mode. */ | ||
| 93 | __nlink_t st_nlink;			/* Link count. */ | ||
| 94 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 95 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 96 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 97 | unsigned int __pad2; | ||
| 98 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 99 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 100 | |||
| 101 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 102 | # ifdef __USE_XOPEN2K8 | ||
| 103 | /* Nanosecond resolution timestamps are stored in a format | ||
| 104 | equivalent to 'struct timespec'. This is the type used | ||
| 105 | whenever possible but the Unix namespace rules do not allow the | ||
| 106 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 107 | Therefore we have to handle the use of this header in strictly | ||
| 108 | standard-compliant sources special. */ | ||
| 109 | struct timespec st_atim;		/* Time of last access. */ | ||
| 110 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 111 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 121 | }; | ||
| 122 | #endif | ||
| 123 | |||
| 124 | /* Tell code we have these members. */ | ||
| 125 | #define	_STATBUF_ST_BLKSIZE | ||
| 126 | #define _STATBUF_ST_RDEV | ||
| 127 | /* Nanosecond resolution time values are supported. */ | ||
| 128 | #define _STATBUF_ST_NSEC | ||
| 129 | |||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/armeb-linux-gnueabi/bits/wordsize.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. ARM VFP version. | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/ARM version. | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/armeb-linux-gnueabi/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabi/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features. | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/armeb-linux-gnueabihf/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. Arm version. | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. ARM version. | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/stat.h deleted-172| ... | @@ -1,172 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | unsigned short int __pad1; | ||
| 42 | #ifndef __USE_FILE_OFFSET64 | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | #ifndef __USE_FILE_OFFSET64 | ||
| 87 | unsigned long int __glibc_reserved4; | ||
| 88 | unsigned long int __glibc_reserved5; | ||
| 89 | #else | ||
| 90 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 91 | #endif | ||
| 92 | }; | ||
| 93 | |||
| 94 | #ifdef __USE_LARGEFILE64 | ||
| 95 | struct stat64 | ||
| 96 | { | ||
| 97 | __dev_t st_dev;			/* Device. */ | ||
| 98 | unsigned int __pad1; | ||
| 99 | |||
| 100 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 101 | __mode_t st_mode;			/* File mode. */ | ||
| 102 | __nlink_t st_nlink;			/* Link count. */ | ||
| 103 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 104 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 105 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 106 | unsigned int __pad2; | ||
| 107 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 108 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 109 | |||
| 110 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 111 | # ifdef __USE_XOPEN2K8 | ||
| 112 | /* Nanosecond resolution timestamps are stored in a format | ||
| 113 | equivalent to 'struct timespec'. This is the type used | ||
| 114 | whenever possible but the Unix namespace rules do not allow the | ||
| 115 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 116 | Therefore we have to handle the use of this header in strictly | ||
| 117 | standard-compliant sources special. */ | ||
| 118 | struct timespec st_atim;		/* Time of last access. */ | ||
| 119 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 120 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 130 | }; | ||
| 131 | #endif | ||
| 132 | |||
| 133 | /* Tell code we have these members. */ | ||
| 134 | #define	_STATBUF_ST_BLKSIZE | ||
| 135 | #define _STATBUF_ST_RDEV | ||
| 136 | /* Nanosecond resolution time values are supported. */ | ||
| 137 | #define _STATBUF_ST_NSEC | ||
| 138 | |||
| 139 | /* Encoding of the file mode. */ | ||
| 140 | |||
| 141 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 142 | |||
| 143 | /* File types. */ | ||
| 144 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 145 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 146 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 147 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 148 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 149 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 150 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 151 | |||
| 152 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 153 | they do it by enforcing the correct use of the macros. */ | ||
| 154 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 155 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | |||
| 158 | /* Protection bits. */ | ||
| 159 | |||
| 160 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 161 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 162 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 163 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 164 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 165 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 166 | |||
| 167 | #ifdef __USE_ATFILE | ||
| 168 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 169 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 170 | #endif | ||
| 171 | |||
| 172 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/armeb-linux-gnueabihf/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | 1 | /* Default read-write lock implementation struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | unsigned short int __pad1; | ||
| 33 | #ifndef __USE_FILE_OFFSET64 | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | #ifndef __USE_FILE_OFFSET64 | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | #else | ||
| 81 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 82 | #endif | ||
| 83 | }; | ||
| 84 | |||
| 85 | #ifdef __USE_LARGEFILE64 | ||
| 86 | struct stat64 | ||
| 87 | { | ||
| 88 | __dev_t st_dev;			/* Device. */ | ||
| 89 | unsigned int __pad1; | ||
| 90 | |||
| 91 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 92 | __mode_t st_mode;			/* File mode. */ | ||
| 93 | __nlink_t st_nlink;			/* Link count. */ | ||
| 94 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 95 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 96 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 97 | unsigned int __pad2; | ||
| 98 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 99 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 100 | |||
| 101 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 102 | # ifdef __USE_XOPEN2K8 | ||
| 103 | /* Nanosecond resolution timestamps are stored in a format | ||
| 104 | equivalent to 'struct timespec'. This is the type used | ||
| 105 | whenever possible but the Unix namespace rules do not allow the | ||
| 106 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 107 | Therefore we have to handle the use of this header in strictly | ||
| 108 | standard-compliant sources special. */ | ||
| 109 | struct timespec st_atim;		/* Time of last access. */ | ||
| 110 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 111 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 121 | }; | ||
| 122 | #endif | ||
| 123 | |||
| 124 | /* Tell code we have these members. */ | ||
| 125 | #define	_STATBUF_ST_BLKSIZE | ||
| 126 | #define _STATBUF_ST_RDEV | ||
| 127 | /* Nanosecond resolution time values are supported. */ | ||
| 128 | #define _STATBUF_ST_NSEC | ||
| 129 | |||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/armeb-linux-gnueabihf/bits/wordsize.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. ARM VFP version. | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/ARM version. | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/armeb-linux-gnueabihf/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/armeb-linux-gnueabihf/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/csky-linux-gnueabi/bits/endianness.h created+14| ... | @@ -0,0 +1,14 @@ | ||
| 1 | #ifndef _BITS_ENDIANNESS_H | ||
| 2 | #define _BITS_ENDIANNESS_H 1 | ||
| 3 | |||
| 4 | #ifndef _BITS_ENDIAN_H | ||
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | ||
| 6 | #endif | ||
| 7 | |||
| 8 | #ifdef __CSKYBE__ | ||
| 9 | # error "Big endian not supported for C-SKY." | ||
| 10 | #else | ||
| 11 | # define __BYTE_ORDER __LITTLE_ENDIAN | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #endif /* bits/endianness.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/fcntl.h created+56| ... | @@ -0,0 +1,56 @@ | ||
| 1 | /* O_*, F_*, FD_* bit values for the generic Linux ABI. | ||
| 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef	_FCNTL_H | ||
| 21 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #include <bits/wordsize.h> | ||
| 25 | |||
| 26 | #if __WORDSIZE == 64 | ||
| 27 | # define __O_LARGEFILE	0 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | struct flock | ||
| 31 | { | ||
| 32 | short int l_type;	/* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.	*/ | ||
| 33 | short int l_whence;	/* Where `l_start' is relative to (like `lseek'). */ | ||
| 34 | #ifndef __USE_FILE_OFFSET64 | ||
| 35 | __off_t l_start;	/* Offset where the lock begins. */ | ||
| 36 | __off_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 37 | #else | ||
| 38 | __off64_t l_start;	/* Offset where the lock begins. */ | ||
| 39 | __off64_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 40 | #endif | ||
| 41 | __pid_t l_pid;	/* Process holding the lock. */ | ||
| 42 | }; | ||
| 43 | |||
| 44 | #ifdef __USE_LARGEFILE64 | ||
| 45 | struct flock64 | ||
| 46 | { | ||
| 47 | short int l_type;	/* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.	*/ | ||
| 48 | short int l_whence;	/* Where `l_start' is relative to (like `lseek'). */ | ||
| 49 | __off64_t l_start;	/* Offset where the lock begins. */ | ||
| 50 | __off64_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 51 | __pid_t l_pid;	/* Process holding the lock. */ | ||
| 52 | }; | ||
| 53 | #endif | ||
| 54 | |||
| 55 | /* Include generic Linux declarations. */ | ||
| 56 | #include <bits/fcntl-linux.h> | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/fenv.h created+111| ... | @@ -0,0 +1,111 @@ | ||
| 1 | /* Floating point environment. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _FENV_H | ||
| 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifdef __csky_hard_float__ | ||
| 24 | /* Define bits representing the exception. We use the bit positions | ||
| 25 | of the appropriate bits in the FPU control word. */ | ||
| 26 | enum | ||
| 27 | { | ||
| 28 | FE_INVALID = | ||
| 29 | #define FE_INVALID	0x01 | ||
| 30 | FE_INVALID, | ||
| 31 | FE_DIVBYZERO = | ||
| 32 | #define FE_DIVBYZERO	0x02 | ||
| 33 | FE_DIVBYZERO, | ||
| 34 | FE_OVERFLOW = | ||
| 35 | #define FE_OVERFLOW	0x04 | ||
| 36 | FE_OVERFLOW, | ||
| 37 | FE_UNDERFLOW = | ||
| 38 | #define FE_UNDERFLOW	0x08 | ||
| 39 | FE_UNDERFLOW, | ||
| 40 | FE_INEXACT = | ||
| 41 | #define FE_INEXACT	0x10 | ||
| 42 | FE_INEXACT, | ||
| 43 | __FE_DENORMAL = 0x20 | ||
| 44 | }; | ||
| 45 | |||
| 46 | #define FE_ALL_EXCEPT \ | ||
| 47 | 	(FE_INEXACT | FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID) | ||
| 48 | |||
| 49 | /* The C-SKY FPU supports all of the four defined rounding modes. We | ||
| 50 | use again the bit positions in the FPU control word as the values | ||
| 51 | for the appropriate macros. */ | ||
| 52 | enum | ||
| 53 | { | ||
| 54 | FE_TONEAREST = | ||
| 55 | #define FE_TONEAREST	(0x0 << 24) | ||
| 56 | FE_TONEAREST, | ||
| 57 | FE_TOWARDZERO = | ||
| 58 | #define FE_TOWARDZERO	(0x1 << 24) | ||
| 59 | FE_TOWARDZERO, | ||
| 60 | FE_UPWARD = | ||
| 61 | #define FE_UPWARD	(0x2 << 24) | ||
| 62 | FE_UPWARD, | ||
| 63 | FE_DOWNWARD = | ||
| 64 | #define FE_DOWNWARD	(0x3 << 24) | ||
| 65 | FE_DOWNWARD, | ||
| 66 | __FE_ROUND_MASK = (0x3 << 24) | ||
| 67 | }; | ||
| 68 | |||
| 69 | #else | ||
| 70 | |||
| 71 | /* In the soft-float case, only rounding to nearest is supported, with | ||
| 72 | no exceptions. */ | ||
| 73 | |||
| 74 | enum | ||
| 75 | { | ||
| 76 | __FE_UNDEFINED = -1, | ||
| 77 | |||
| 78 | FE_TONEAREST = | ||
| 79 | # define FE_TONEAREST	0x0 | ||
| 80 | FE_TONEAREST | ||
| 81 | }; | ||
| 82 | |||
| 83 | # define FE_ALL_EXCEPT 0 | ||
| 84 | |||
| 85 | #endif | ||
| 86 | |||
| 87 | /* Type representing exception flags. */ | ||
| 88 | typedef unsigned int fexcept_t; | ||
| 89 | |||
| 90 | /* Type representing floating-point environment. */ | ||
| 91 | typedef struct | ||
| 92 | { | ||
| 93 | unsigned int __fpcr; | ||
| 94 | unsigned int __fpsr; | ||
| 95 | } fenv_t; | ||
| 96 | |||
| 97 | /* If the default argument is used we use this value. */ | ||
| 98 | #define FE_DFL_ENV	((const fenv_t *) -1) | ||
| 99 | |||
| 100 | #if defined __USE_GNU && defined __csky_hard_float__ | ||
| 101 | /* Floating-point environment where none of the exceptions are masked. */ | ||
| 102 | # define FE_NOMASK_ENV	((const fenv_t *) -2) | ||
| 103 | #endif | ||
| 104 | |||
| 105 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | ||
| 106 | /* Type representing floating-point control modes. */ | ||
| 107 | typedef unsigned int femode_t; | ||
| 108 | |||
| 109 | /* Default floating-point control modes. */ | ||
| 110 | # define FE_DFL_MODE	((const femode_t *) -1L) | ||
| 111 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/floatn.h created+52| ... | @@ -0,0 +1,52 @@ | ||
| 1 | /* Macros to control TS 18661-3 glibc features. | ||
| 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | /* Defined to 1 if the current compiler invocation provides a | ||
| 20 | floating-point type with the IEEE 754 binary128 format, and this glibc | ||
| 21 | includes corresponding *f128 interfaces for it. */ | ||
| 22 | #define __HAVE_FLOAT128 0 | ||
| 23 | |||
| 24 | /* Defined to 1 if __HAVE_FLOAT128 is 1 and the type is ABI-distinct | ||
| 25 | from the default float, double and long double types in this glibc. */ | ||
| 26 | #define __HAVE_DISTINCT_FLOAT128 0 | ||
| 27 | |||
| 28 | /* Defined to 1 if the current compiler invocation provides a | ||
| 29 | floating-point type with the right format for _Float64x, and this | ||
| 30 | glibc includes corresponding *f64x interfaces for it. */ | ||
| 31 | #define __HAVE_FLOAT64X 0 | ||
| 32 | |||
| 33 | /* Defined to 1 if __HAVE_FLOAT64X is 1 and _Float64x has the format | ||
| 34 | of long double. Otherwise, if __HAVE_FLOAT64X is 1, _Float64x has | ||
| 35 | the format of _Float128, which must be different from that of long | ||
| 36 | double. */ | ||
| 37 | #define __HAVE_FLOAT64X_LONG_DOUBLE 0 | ||
| 38 | |||
| 39 | #ifndef __ASSEMBLER__ | ||
| 40 | |||
| 41 | /* Defined to concatenate the literal suffix to be used with _Float128 | ||
| 42 | types, if __HAVE_FLOAT128 is 1. | ||
| 43 | E.g.: #define __f128(x) x##f128. */ | ||
| 44 | # undef __f128 | ||
| 45 | |||
| 46 | /* Defined to a complex binary128 type if __HAVE_FLOAT128 is 1. | ||
| 47 | E.g.: #define __CFLOAT128 _Complex _Float128. */ | ||
| 48 | # undef __CFLOAT128 | ||
| 49 | |||
| 50 | #endif /* !__ASSEMBLER__. */ | ||
| 51 | |||
| 52 | #include <bits/floatn-common.h> | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/link.h created+55| ... | @@ -0,0 +1,55 @@ | ||
| 1 | /* Machine-specific declarations for dynamic linker interface. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _LINK_H | ||
| 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | /* Registers for entry into PLT on C-SKY. */ | ||
| 24 | typedef struct La_csky_regs | ||
| 25 | { | ||
| 26 | uint32_t lr_reg[4]; | ||
| 27 | uint32_t lr_sp; | ||
| 28 | uint32_t lr_lr; | ||
| 29 | } La_csky_regs; | ||
| 30 | |||
| 31 | /* Return values for calls from PLT on C-SKY. */ | ||
| 32 | typedef struct La_csky_retval | ||
| 33 | { | ||
| 34 | /* Up to four integer registers can be used for a return value. */ | ||
| 35 | uint32_t lrv_reg[4]; | ||
| 36 | uint32_t lrv_v0; | ||
| 37 | } La_csky_retval; | ||
| 38 | |||
| 39 | __BEGIN_DECLS | ||
| 40 | |||
| 41 | extern Elf32_Addr la_csky_gnu_pltenter (Elf32_Sym *__sym, unsigned int __ndx, | ||
| 42 | 					uintptr_t *__refcook, | ||
| 43 | 					uintptr_t *__defcook, | ||
| 44 | 					La_csky_regs *__regs, | ||
| 45 | 					unsigned int *__flags, | ||
| 46 | 					const char *__symname, | ||
| 47 | 					long int *__framesizep); | ||
| 48 | extern unsigned int la_csky_gnu_pltexit (Elf32_Sym *__sym, unsigned int __ndx, | ||
| 49 | 					 uintptr_t *__refcook, | ||
| 50 | 					 uintptr_t *__defcook, | ||
| 51 | 					 const La_csky_regs *__inregs, | ||
| 52 | 					 La_csky_retval *__outregs, | ||
| 53 | 					 const char *__symname); | ||
| 54 | |||
| 55 | __END_DECLS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/long-double.h created+53| ... | @@ -0,0 +1,53 @@ | ||
| 1 | /* Properties of long double type. | ||
| 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | /* This header is included by <sys/cdefs.h>. | ||
| 20 | |||
| 21 | If long double is ABI-compatible with double, it should define | ||
| 22 | __NO_LONG_DOUBLE_MATH to 1; otherwise, it should leave | ||
| 23 | __NO_LONG_DOUBLE_MATH undefined. | ||
| 24 | |||
| 25 | If this build of the GNU C Library supports both long double | ||
| 26 | ABI-compatible with double and some other long double format not | ||
| 27 | ABI-compatible with double, it should define | ||
| 28 | __LONG_DOUBLE_MATH_OPTIONAL to 1; otherwise, it should leave | ||
| 29 | __LONG_DOUBLE_MATH_OPTIONAL undefined. | ||
| 30 | |||
| 31 | If __NO_LONG_DOUBLE_MATH is already defined, this header must not | ||
| 32 | define anything; this is needed to work with the definition of | ||
| 33 | __NO_LONG_DOUBLE_MATH in nldbl-compat.h. */ | ||
| 34 | |||
| 35 | /* In the default version of this header, long double is | ||
| 36 | ABI-compatible with double. */ | ||
| 37 | #ifndef __NO_LONG_DOUBLE_MATH | ||
| 38 | # define __NO_LONG_DOUBLE_MATH	1 | ||
| 39 | #endif | ||
| 40 | |||
| 41 | /* The macro __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI is used to determine the | ||
| 42 | choice of the underlying ABI of long double. It will always assume | ||
| 43 | a constant value for each translation unit. | ||
| 44 | |||
| 45 | If the value is non-zero, any API which is parameterized by the long | ||
| 46 | double type (i.e the scanf/printf family of functions or the explicitly | ||
| 47 | parameterized math.h functions) will be redirected to a compatible | ||
| 48 | implementation using _Float128 ABI via symbols suffixed with ieee128. | ||
| 49 | |||
| 50 | The mechanism this macro uses to acquire may be a function | ||
| 51 | of architecture, or target specific options used to invoke the | ||
| 52 | compiler. */ | ||
| 53 | #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0 | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/procfs.h created+37| ... | @@ -0,0 +1,37 @@ | ||
| 1 | /* Types for registers for sys/procfs.h. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_PROCFS_H | ||
| 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include <asm/ptrace.h> | ||
| 24 | |||
| 25 | /* Type for a general-purpose register. */ | ||
| 26 | typedef unsigned long elf_greg_t; | ||
| 27 | /* Type for a floating-point registers. */ | ||
| 28 | typedef unsigned long elf_fpreg_t; | ||
| 29 | |||
| 30 | /* In gdb/bfd elf32-csky.c, csky_elf_grok_prstatus() use fixed size of | ||
| 31 | elf_prstatus. It's 148 for abiv1 and 220 for abiv2, the size is enough | ||
| 32 | for coredump and no need full sizeof (struct pt_regs). */ | ||
| 33 | #define ELF_NGREG ((sizeof (struct pt_regs) / sizeof (elf_greg_t)) - 2) | ||
| 34 | typedef elf_greg_t elf_gregset_t[ELF_NGREG]; | ||
| 35 | |||
| 36 | #define ELF_NFPREG (sizeof (struct user_fp) / sizeof (elf_fpreg_t)) | ||
| 37 | typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/setjmp.h created+34| ... | @@ -0,0 +1,34 @@ | ||
| 1 | /* Define the machine-dependent type `jmp_buf'. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _CSKY_BITS_SETJMP_H | ||
| 20 | #define _CSKY_BITS_SETJMP_H 1 | ||
| 21 | |||
| 22 | typedef struct __jmp_buf_str | ||
| 23 | { | ||
| 24 | /* Stack pointer. */ | ||
| 25 | int __sp; | ||
| 26 | int __lr; | ||
| 27 | /* The actual core defines which registers should be saved. The | ||
| 28 | buffer contains 32 words, keep space for future growth. | ||
| 29 | Callee-saved registers: | ||
| 30 | r4 ~ r11, r16 ~ r17, r26 ~r31 for abiv2; r8 ~ r14 for abiv1. */ | ||
| 31 | int __regs[32]; | ||
| 32 | } __jmp_buf[1]; | ||
| 33 | |||
| 34 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/shmlba.h created+29| ... | @@ -0,0 +1,29 @@ | ||
| 1 | /* Define SHMLBA. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_SHM_H | ||
| 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | __BEGIN_DECLS | ||
| 24 | |||
| 25 | /* Segment low boundary address multiple. */ | ||
| 26 | #define SHMLBA		(__getpagesize () << 2) | ||
| 27 | extern int __getpagesize (void) __THROW __attribute__ ((__const__)); | ||
| 28 | |||
| 29 | __END_DECLS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/statfs.h created+86| ... | @@ -0,0 +1,86 @@ | ||
| 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_STATFS_H | ||
| 20 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include <bits/endian.h> | ||
| 24 | #include <bits/types.h> | ||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | /* 64-bit libc uses the kernel's 'struct statfs', accessed via the | ||
| 28 | statfs() syscall; 32-bit libc uses the kernel's 'struct statfs64' | ||
| 29 | and accesses it via the statfs64() syscall. All the various | ||
| 30 | APIs offered by libc use the kernel shape for their struct statfs | ||
| 31 | structure; the only difference is that 32-bit programs not | ||
| 32 | using __USE_FILE_OFFSET64 only see the low 32 bits of some | ||
| 33 | of the fields (the __fsblkcnt_t and __fsfilcnt_t fields). */ | ||
| 34 | |||
| 35 | #if defined __USE_FILE_OFFSET64 | ||
| 36 | # define __field64(type, type64, name) type64 name | ||
| 37 | #elif __WORDSIZE == 64 || __STATFS_MATCHES_STATFS64 | ||
| 38 | # define __field64(type, type64, name) type name | ||
| 39 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 42 | #else | ||
| 43 | # define __field64(type, type64, name) \ | ||
| 44 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 45 | #endif | ||
| 46 | |||
| 47 | struct statfs | ||
| 48 | { | ||
| 49 | __SWORD_TYPE f_type; | ||
| 50 | __SWORD_TYPE f_bsize; | ||
| 51 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_blocks); | ||
| 52 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_bfree); | ||
| 53 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_bavail); | ||
| 54 | __field64(__fsfilcnt_t, __fsfilcnt64_t, f_files); | ||
| 55 | __field64(__fsfilcnt_t, __fsfilcnt64_t, f_ffree); | ||
| 56 | __fsid_t f_fsid; | ||
| 57 | __SWORD_TYPE f_namelen; | ||
| 58 | __SWORD_TYPE f_frsize; | ||
| 59 | __SWORD_TYPE f_flags; | ||
| 60 | __SWORD_TYPE f_spare[4]; | ||
| 61 | }; | ||
| 62 | |||
| 63 | #undef __field64 | ||
| 64 | |||
| 65 | #ifdef __USE_LARGEFILE64 | ||
| 66 | struct statfs64 | ||
| 67 | { | ||
| 68 | __SWORD_TYPE f_type; | ||
| 69 | __SWORD_TYPE f_bsize; | ||
| 70 | __fsblkcnt64_t f_blocks; | ||
| 71 | __fsblkcnt64_t f_bfree; | ||
| 72 | __fsblkcnt64_t f_bavail; | ||
| 73 | __fsfilcnt64_t f_files; | ||
| 74 | __fsfilcnt64_t f_ffree; | ||
| 75 | __fsid_t f_fsid; | ||
| 76 | __SWORD_TYPE f_namelen; | ||
| 77 | __SWORD_TYPE f_frsize; | ||
| 78 | __SWORD_TYPE f_flags; | ||
| 79 | __SWORD_TYPE f_spare[4]; | ||
| 80 | }; | ||
| 81 | #endif | ||
| 82 | |||
| 83 | /* Tell code we have these members. */ | ||
| 84 | #define _STATFS_F_NAMELEN | ||
| 85 | #define _STATFS_F_FRSIZE | ||
| 86 | #define _STATFS_F_FLAGS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/struct_rwlock.h created+61| ... | @@ -0,0 +1,61 @@ | ||
| 1 | /* Default read-write lock implementation struct definitions. | ||
| 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <http://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef __RWLOCK_INTERNAL_H | ||
| 20 | #define __RWLOCK_INTERNAL_H | ||
| 21 | |||
| 22 | #include <bits/endian.h> | ||
| 23 | |||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | ||
| 25 | to use the default layout, however archictetures can redefine it to add | ||
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | ||
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | ||
| 28 | |||
| 29 | struct __pthread_rwlock_arch_t | ||
| 30 | { | ||
| 31 | unsigned int __readers; | ||
| 32 | unsigned int __writers; | ||
| 33 | unsigned int __wrphase_futex; | ||
| 34 | unsigned int __writers_futex; | ||
| 35 | unsigned int __pad3; | ||
| 36 | unsigned int __pad4; | ||
| 37 | /* FLAGS must stay at its position in the structure to maintain | ||
| 38 | binary compatibility. */ | ||
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | ||
| 40 | unsigned char __pad1; | ||
| 41 | unsigned char __pad2; | ||
| 42 | unsigned char __shared; | ||
| 43 | unsigned char __flags; | ||
| 44 | #else | ||
| 45 | unsigned char __flags; | ||
| 46 | unsigned char __shared; | ||
| 47 | unsigned char __pad1; | ||
| 48 | unsigned char __pad2; | ||
| 49 | #endif | ||
| 50 | int __cur_writer; | ||
| 51 | }; | ||
| 52 | |||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | ||
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | ||
| 56 | #else | ||
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/struct_stat.h created+127| ... | @@ -0,0 +1,127 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | #if defined __USE_FILE_OFFSET64 | ||
| 30 | # define __field64(type, type64, name) type64 name | ||
| 31 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 32 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 33 | # error "ino_t and off_t must both be the same type" | ||
| 34 | # endif | ||
| 35 | # define __field64(type, type64, name) type name | ||
| 36 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 37 | # define __field64(type, type64, name) \ | ||
| 38 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 39 | #else | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 42 | #endif | ||
| 43 | |||
| 44 | struct stat | ||
| 45 | { | ||
| 46 | __dev_t st_dev;		/* Device. */ | ||
| 47 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 48 | __mode_t st_mode;		/* File mode. */ | ||
| 49 | __nlink_t st_nlink;		/* Link count. */ | ||
| 50 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 51 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 52 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 53 | __dev_t __pad1; | ||
| 54 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 55 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 56 | int __pad2; | ||
| 57 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 58 | #ifdef __USE_XOPEN2K8 | ||
| 59 | /* Nanosecond resolution timestamps are stored in a format | ||
| 60 | equivalent to 'struct timespec'. This is the type used | ||
| 61 | whenever possible but the Unix namespace rules do not allow the | ||
| 62 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 63 | Therefore we have to handle the use of this header in strictly | ||
| 64 | standard-compliant sources special. */ | ||
| 65 | struct timespec st_atim;		/* Time of last access. */ | ||
| 66 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 67 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 68 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 69 | # define st_mtime st_mtim.tv_sec | ||
| 70 | # define st_ctime st_ctim.tv_sec | ||
| 71 | #else | ||
| 72 | __time_t st_atime;			/* Time of last access. */ | ||
| 73 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 74 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 75 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 76 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 77 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 78 | #endif | ||
| 79 | int __glibc_reserved[2]; | ||
| 80 | }; | ||
| 81 | |||
| 82 | #undef __field64 | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | __dev_t st_dev;		/* Device. */ | ||
| 88 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;		/* File mode. */ | ||
| 90 | __nlink_t st_nlink;		/* Link count. */ | ||
| 91 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 94 | __dev_t __pad1; | ||
| 95 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 97 | int __pad2; | ||
| 98 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 99 | #ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | #else | ||
| 110 | __time_t st_atime;			/* Time of last access. */ | ||
| 111 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 112 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 113 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 114 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 115 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 116 | #endif | ||
| 117 | int __glibc_reserved[2]; | ||
| 118 | }; | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Tell code we have these members. */ | ||
| 122 | #define	_STATBUF_ST_BLKSIZE | ||
| 123 | #define _STATBUF_ST_RDEV | ||
| 124 | /* Nanosecond resolution time values are supported. */ | ||
| 125 | #define _STATBUF_ST_NSEC | ||
| 126 | |||
| 127 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/typesizes.h created+108| ... | @@ -0,0 +1,108 @@ | ||
| 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. | ||
| 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef _BITS_TYPES_H | ||
| 21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #ifndef	_BITS_TYPESIZES_H | ||
| 25 | #define	_BITS_TYPESIZES_H	1 | ||
| 26 | |||
| 27 | /* See <bits/types.h> for the meaning of these macros. This file exists so | ||
| 28 | that <bits/types.h> need not vary across different GNU platforms. */ | ||
| 29 | #if __TIMESIZE == 64 && __WORDSIZE == 32 | ||
| 30 | /* These are the "new" y2038 types defined for architectures added after | ||
| 31 | the 5.1 kernel. */ | ||
| 32 | # define __INO_T_TYPE		__UQUAD_TYPE | ||
| 33 | # define __OFF_T_TYPE		__SQUAD_TYPE | ||
| 34 | # define __RLIM_T_TYPE		__UQUAD_TYPE | ||
| 35 | # define __BLKCNT_T_TYPE	__SQUAD_TYPE | ||
| 36 | # define __FSBLKCNT_T_TYPE	__UQUAD_TYPE | ||
| 37 | # define __FSFILCNT_T_TYPE	__UQUAD_TYPE | ||
| 38 | # define __TIME_T_TYPE		__SQUAD_TYPE | ||
| 39 | # define __SUSECONDS_T_TYPE	__SQUAD_TYPE | ||
| 40 | #else | ||
| 41 | # define __INO_T_TYPE		__ULONGWORD_TYPE | ||
| 42 | # define __OFF_T_TYPE		__SLONGWORD_TYPE | ||
| 43 | # define __RLIM_T_TYPE		__ULONGWORD_TYPE | ||
| 44 | # define __BLKCNT_T_TYPE	__SLONGWORD_TYPE | ||
| 45 | # define __FSBLKCNT_T_TYPE	__ULONGWORD_TYPE | ||
| 46 | # define __FSFILCNT_T_TYPE	__ULONGWORD_TYPE | ||
| 47 | # define __TIME_T_TYPE		__SLONGWORD_TYPE | ||
| 48 | # define __SUSECONDS_T_TYPE	__SLONGWORD_TYPE | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #define __DEV_T_TYPE		__UQUAD_TYPE | ||
| 52 | #define __UID_T_TYPE		__U32_TYPE | ||
| 53 | #define __GID_T_TYPE		__U32_TYPE | ||
| 54 | #define __INO64_T_TYPE		__UQUAD_TYPE | ||
| 55 | #define __MODE_T_TYPE		__U32_TYPE | ||
| 56 | #define __NLINK_T_TYPE		__U32_TYPE | ||
| 57 | #define __OFF64_T_TYPE		__SQUAD_TYPE | ||
| 58 | #define __PID_T_TYPE		__S32_TYPE | ||
| 59 | #define __RLIM64_T_TYPE		__UQUAD_TYPE | ||
| 60 | #define	__BLKCNT64_T_TYPE	__SQUAD_TYPE | ||
| 61 | #define	__FSBLKCNT64_T_TYPE	__UQUAD_TYPE | ||
| 62 | #define	__FSFILCNT64_T_TYPE	__UQUAD_TYPE | ||
| 63 | #define	__FSWORD_T_TYPE		__SWORD_TYPE | ||
| 64 | #define	__ID_T_TYPE		__U32_TYPE | ||
| 65 | #define __CLOCK_T_TYPE		__SLONGWORD_TYPE | ||
| 66 | #define __USECONDS_T_TYPE	__U32_TYPE | ||
| 67 | #define __SUSECONDS64_T_TYPE	__SQUAD_TYPE | ||
| 68 | #define __DADDR_T_TYPE		__S32_TYPE | ||
| 69 | #define __KEY_T_TYPE		__S32_TYPE | ||
| 70 | #define __CLOCKID_T_TYPE	__S32_TYPE | ||
| 71 | #define __TIMER_T_TYPE		void * | ||
| 72 | #define __BLKSIZE_T_TYPE	__S32_TYPE | ||
| 73 | #define __FSID_T_TYPE		struct { int __val[2]; } | ||
| 74 | #define __SSIZE_T_TYPE		__SWORD_TYPE | ||
| 75 | #define __SYSCALL_SLONG_TYPE	__SLONGWORD_TYPE | ||
| 76 | #define __SYSCALL_ULONG_TYPE	__ULONGWORD_TYPE | ||
| 77 | #define __CPU_MASK_TYPE 	__ULONGWORD_TYPE | ||
| 78 | |||
| 79 | #if defined __LP64__ || (__TIMESIZE == 64 && __WORDSIZE == 32) | ||
| 80 | /* Tell the libc code that off_t and off64_t are actually the same type | ||
| 81 | for all ABI purposes, even if possibly expressed as different base types | ||
| 82 | for C type-checking purposes. */ | ||
| 83 | # define __OFF_T_MATCHES_OFF64_T	1 | ||
| 84 | |||
| 85 | /* Same for ino_t and ino64_t. */ | ||
| 86 | # define __INO_T_MATCHES_INO64_T	1 | ||
| 87 | |||
| 88 | /* And for __rlim_t and __rlim64_t. */ | ||
| 89 | # define __RLIM_T_MATCHES_RLIM64_T	1 | ||
| 90 | |||
| 91 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | ||
| 92 | # define __STATFS_MATCHES_STATFS64 1 | ||
| 93 | |||
| 94 | /* And for getitimer, setitimer and rusage */ | ||
| 95 | # define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 (__WORDSIZE == 64) | ||
| 96 | #else | ||
| 97 | # define __RLIM_T_MATCHES_RLIM64_T	0 | ||
| 98 | |||
| 99 | # define __STATFS_MATCHES_STATFS64 0 | ||
| 100 | |||
| 101 | # define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 0 | ||
| 102 | #endif | ||
| 103 | |||
| 104 | /* Number of descriptors that can fit in an `fd_set'. */ | ||
| 105 | #define	__FD_SETSIZE		1024 | ||
| 106 | |||
| 107 | |||
| 108 | #endif /* bits/typesizes.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/bits/wordsize.h created+21| ... | @@ -0,0 +1,21 @@ | ||
| 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #define __WORDSIZE			32 | ||
| 19 | #define __WORDSIZE_TIME64_COMPAT32	0 | ||
| 20 | #define __WORDSIZE32_SIZE_ULONG		0 | ||
| 21 | #define __WORDSIZE32_PTRDIFF_LONG	0 | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/fpu_control.h created+148| ... | @@ -0,0 +1,148 @@ | ||
| 1 | /* FPU control word bits. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _FPU_CONTROL_H | ||
| 20 | #define _FPU_CONTROL_H | ||
| 21 | |||
| 22 | /* C-SKY FPU floating point control register bits. | ||
| 23 | |||
| 24 | 31-28 -> Reserved (read as 0, write with 0). | ||
| 25 | 27 -> 0: Flush denormalized results to zero. | ||
| 26 | 1: Flush denormalized results to signed minimal normal number. | ||
| 27 | 26 -> Reserved (read as 0, write with 0). | ||
| 28 | 25-24 -> Rounding control. | ||
| 29 | 23-6 -> Reserved (read as 0, write with 0). | ||
| 30 | 5 -> Enable exception for input denormalized exception. | ||
| 31 | 4 -> Enable exception for inexact exception. | ||
| 32 | 3 -> Enable exception for underflow exception. | ||
| 33 | 2 -> Enable exception for overflow exception. | ||
| 34 | 1 -> Enable exception for division by zero exception. | ||
| 35 | 0 -> Enable exception for invalid operation exception. | ||
| 36 | |||
| 37 | Rounding Control: | ||
| 38 | 00 - Rounding to nearest (RN). | ||
| 39 | 01 - Rounding toward zero (RZ). | ||
| 40 | 10 - Rounding (up) toward plus infinity (RP). | ||
| 41 | 11 - Rounding (down)toward minus infinity (RM). | ||
| 42 | |||
| 43 | C-SKY FPU floating point exception status register bits. | ||
| 44 | |||
| 45 | 15 -> Accumulate bit for any exception. | ||
| 46 | 14 -> Reserved (read as 0, write with 0). | ||
| 47 | 13 -> Cause bit for input denormalized exception. | ||
| 48 | 12 -> Cause bit for inexact exception. | ||
| 49 | 11 -> Cause bit for underflow exception. | ||
| 50 | 10 -> Cause bit for overflow exception. | ||
| 51 | 9 -> Cause bit for division by zero exception. | ||
| 52 | 8 -> Cause bit for invalid operation exception. | ||
| 53 | 7 -> Flag bit for any exception. | ||
| 54 | 6 -> Reserved (read as 0, write with 0). | ||
| 55 | 5 -> Flag exception for input denormalized exception. | ||
| 56 | 4 -> Flag exception for inexact exception. | ||
| 57 | 3 -> Flag exception for underflow exception. | ||
| 58 | 2 -> Flag exception for overflow exception. | ||
| 59 | 1 -> Flag exception for division by zero exception. | ||
| 60 | 0 -> Flag exception for invalid operation exception. */ | ||
| 61 | |||
| 62 | #include <features.h> | ||
| 63 | |||
| 64 | #ifdef __csky_soft_float__ | ||
| 65 | |||
| 66 | # define _FPU_RESERVED 0xffffffff | ||
| 67 | # define _FPU_DEFAULT 0x00000000 | ||
| 68 | typedef unsigned int fpu_control_t; | ||
| 69 | # define _FPU_GETCW(cw) (cw) = 0 | ||
| 70 | # define _FPU_SETCW(cw) (void) (cw) | ||
| 71 | # define _FPU_GETFPSR(cw) (cw) = 0 | ||
| 72 | # define _FPU_SETFPSR(cw) (void) (cw) | ||
| 73 | extern fpu_control_t __fpu_control; | ||
| 74 | |||
| 75 | #else /* __csky_soft_float__ */ | ||
| 76 | |||
| 77 | /* Masking of interrupts. */ | ||
| 78 | # define _FPU_MASK_IDE (1 << 5) /* Input denormalized exception. */ | ||
| 79 | # define _FPU_MASK_IXE (1 << 4) /* Inexact exception. */ | ||
| 80 | # define _FPU_MASK_UFE (1 << 3) /* Underflow exception. */ | ||
| 81 | # define _FPU_MASK_OFE (1 << 2) /* Overflow exception. */ | ||
| 82 | # define _FPU_MASK_DZE (1 << 1) /* Division by zero exception. */ | ||
| 83 | # define _FPU_MASK_IOE (1 << 0) /* Invalid operation exception. */ | ||
| 84 | |||
| 85 | # define _FPU_MASK_FEA (1 << 15) /* Case for any exception. */ | ||
| 86 | # define _FPU_MASK_FEC (1 << 7) /* Flag for any exception. */ | ||
| 87 | |||
| 88 | /* Flush denormalized numbers to zero. */ | ||
| 89 | # define _FPU_FLUSH_TZ 0x8000000 | ||
| 90 | |||
| 91 | /* Rounding control. */ | ||
| 92 | # define _FPU_RC_NEAREST (0x0 << 24) /* RECOMMENDED. */ | ||
| 93 | # define _FPU_RC_ZERO (0x1 << 24) | ||
| 94 | # define _FPU_RC_UP (0x2 << 24) | ||
| 95 | # define _FPU_RC_DOWN (0x3 << 24) | ||
| 96 | |||
| 97 | # define _FPU_RESERVED 0xf460ffc0 /* Reserved bits in cw. */ | ||
| 98 | # define _FPU_FPSR_RESERVED 0xffff4040 | ||
| 99 | |||
| 100 | /* The fdlibm code requires strict IEEE double precision arithmetic, | ||
| 101 | and no interrupts for exceptions, rounding to nearest. */ | ||
| 102 | |||
| 103 | # define _FPU_DEFAULT 0x00000000 | ||
| 104 | # define _FPU_FPSR_DEFAULT 0x00000000 | ||
| 105 | |||
| 106 | /* IEEE: same as above, but exceptions. */ | ||
| 107 | # define _FPU_FPCR_IEEE 0x0000001F | ||
| 108 | # define _FPU_FPSR_IEEE 0x00000000 | ||
| 109 | |||
| 110 | /* Type of the control word. */ | ||
| 111 | typedef unsigned int fpu_control_t; | ||
| 112 | |||
| 113 | /* Macros for accessing the hardware control word. */ | ||
| 114 | # if (__CSKY__ == 2) | ||
| 115 | # define _FPU_GETCW(cw) __asm__ volatile ("mfcr %0, cr<1, 2>" : "=a" (cw)) | ||
| 116 | # define _FPU_SETCW(cw) __asm__ volatile ("mtcr %0, cr<1, 2>" : : "a" (cw)) | ||
| 117 | # define _FPU_GETFPSR(cw) __asm__ volatile ("mfcr %0, cr<2, 2>" : "=a" (cw)) | ||
| 118 | # define _FPU_SETFPSR(cw) __asm__ volatile ("mtcr %0, cr<2, 2>" : : "a" (cw)) | ||
| 119 | # else | ||
| 120 | # define _FPU_GETCW(cw) __asm__ volatile ("1: cprcr %0, cpcr2 \n" \ | ||
| 121 | " btsti %0, 31 \n" \ | ||
| 122 | " bt 1b \n" \ | ||
| 123 | " cprcr %0, cpcr1\n" : "=b" (cw)) | ||
| 124 | |||
| 125 | # define _FPU_SETCW(cw) __asm__ volatile ("1: cprcr r7, cpcr2 \n" \ | ||
| 126 | " btsti r7, 31 \n" \ | ||
| 127 | " bt 1b \n" \ | ||
| 128 | " cpwcr %0, cpcr1 \n" \ | ||
| 129 | : : "b" (cw) : "r7") | ||
| 130 | |||
| 131 | # define _FPU_GETFPSR(cw) __asm__ volatile ("1: cprcr %0, cpcr2 \n" \ | ||
| 132 | " btsti %0, 31 \n" \ | ||
| 133 | " bt 1b \n" \ | ||
| 134 | " cprcr %0, cpcr4\n" : "=b" (cw)) | ||
| 135 | |||
| 136 | # define _FPU_SETFPSR(cw) __asm__ volatile ("1: cprcr r7, cpcr2 \n" \ | ||
| 137 | " btsti r7, 31 \n" \ | ||
| 138 | " bt 1b \n" \ | ||
| 139 | " cpwcr %0, cpcr4 \n" \ | ||
| 140 | : : "b" (cw) : "r7") | ||
| 141 | # endif /* __CSKY__ != 2 */ | ||
| 142 | |||
| 143 | /* Default control word set at startup. */ | ||
| 144 | extern fpu_control_t __fpu_control; | ||
| 145 | |||
| 146 | #endif /* !__csky_soft_float__ */ | ||
| 147 | |||
| 148 | #endif /* fpu_control.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/gnu/lib-names.h created+32| ... | @@ -0,0 +1,32 @@ | ||
| 1 | /* This file is automatically generated. | ||
| 2 | It defines macros to allow user program to find the shared | ||
| 3 | library files which come as part of GNU libc. */ | ||
| 4 | #ifndef __GNU_LIB_NAMES_H | ||
| 5 | #define __GNU_LIB_NAMES_H	1 | ||
| 6 | |||
| 7 | #define LD_LINUX_CSKYV2_SO "ld-linux-cskyv2.so.1" | ||
| 8 | #define LD_SO "ld-linux-cskyv2.so.1" | ||
| 9 | #define LIBANL_SO "libanl.so.1" | ||
| 10 | #define LIBBROKENLOCALE_SO "libBrokenLocale.so.1" | ||
| 11 | #define LIBCRYPT_SO "libcrypt.so.1" | ||
| 12 | #define LIBC_SO "libc.so.6" | ||
| 13 | #define LIBDL_SO "libdl.so.2" | ||
| 14 | #define LIBGCC_S_SO "libgcc_s.so.1" | ||
| 15 | #define LIBMVEC_SO "libmvec.so.1" | ||
| 16 | #define LIBM_SO "libm.so.6" | ||
| 17 | #define LIBNSL_SO "libnsl.so.1" | ||
| 18 | #define LIBNSS_COMPAT_SO "libnss_compat.so.2" | ||
| 19 | #define LIBNSS_DB_SO "libnss_db.so.2" | ||
| 20 | #define LIBNSS_DNS_SO "libnss_dns.so.2" | ||
| 21 | #define LIBNSS_FILES_SO "libnss_files.so.2" | ||
| 22 | #define LIBNSS_HESIOD_SO "libnss_hesiod.so.2" | ||
| 23 | #define LIBNSS_LDAP_SO "libnss_ldap.so.2" | ||
| 24 | #define LIBNSS_TEST1_SO "libnss_test1.so.2" | ||
| 25 | #define LIBNSS_TEST2_SO "libnss_test2.so.2" | ||
| 26 | #define LIBPTHREAD_SO "libpthread.so.0" | ||
| 27 | #define LIBRESOLV_SO "libresolv.so.2" | ||
| 28 | #define LIBRT_SO "librt.so.1" | ||
| 29 | #define LIBTHREAD_DB_SO "libthread_db.so.1" | ||
| 30 | #define LIBUTIL_SO "libutil.so.1" | ||
| 31 | |||
| 32 | #endif	/* gnu/lib-names.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/gnu/stubs.h created+38| ... | @@ -0,0 +1,38 @@ | ||
| 1 | /* This file is automatically generated. | ||
| 2 | It defines a symbol `__stub_FUNCTION' for each function | ||
| 3 | in the C library which is a stub, meaning it will fail | ||
| 4 | every time called, usually setting errno to ENOSYS. */ | ||
| 5 | |||
| 6 | #ifdef _LIBC | ||
| 7 | #error Applications may not define the macro _LIBC | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #define __stub___compat_bdflush | ||
| 11 | #define __stub___compat_create_module | ||
| 12 | #define __stub___compat_get_kernel_syms | ||
| 13 | #define __stub___compat_query_module | ||
| 14 | #define __stub___compat_uselib | ||
| 15 | #define __stub_chflags | ||
| 16 | #define __stub_fchflags | ||
| 17 | #define __stub_feclearexcept | ||
| 18 | #define __stub_fedisableexcept | ||
| 19 | #define __stub_feenableexcept | ||
| 20 | #define __stub_fegetenv | ||
| 21 | #define __stub_fegetexcept | ||
| 22 | #define __stub_fegetexceptflag | ||
| 23 | #define __stub_fegetmode | ||
| 24 | #define __stub_fegetround | ||
| 25 | #define __stub_feholdexcept | ||
| 26 | #define __stub_feraiseexcept | ||
| 27 | #define __stub_fesetenv | ||
| 28 | #define __stub_fesetexcept | ||
| 29 | #define __stub_fesetexceptflag | ||
| 30 | #define __stub_fesetmode | ||
| 31 | #define __stub_fesetround | ||
| 32 | #define __stub_fetestexcept | ||
| 33 | #define __stub_feupdateenv | ||
| 34 | #define __stub_gtty | ||
| 35 | #define __stub_revoke | ||
| 36 | #define __stub_setlogin | ||
| 37 | #define __stub_sigreturn | ||
| 38 | #define __stub_stty | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/sys/cachectl.h created+36| ... | @@ -0,0 +1,36 @@ | ||
| 1 | /* C-SKY cache flushing interface. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_CACHECTL_H | ||
| 20 | #define _SYS_CACHECTL_H 1 | ||
| 21 | |||
| 22 | #include <features.h> | ||
| 23 | |||
| 24 | /* Get the kernel definition for the op bits. */ | ||
| 25 | #include <asm/cachectl.h> | ||
| 26 | |||
| 27 | __BEGIN_DECLS | ||
| 28 | |||
| 29 | #ifdef __USE_MISC | ||
| 30 | extern int cacheflush (void *__addr, const int __nbytes, | ||
| 31 | 		 const int __op) __THROW; | ||
| 32 | #endif | ||
| 33 | |||
| 34 | __END_DECLS | ||
| 35 | |||
| 36 | #endif /* sys/cachectl.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/sys/ucontext.h created+89| ... | @@ -0,0 +1,89 @@ | ||
| 1 | /* struct ucontext definition, C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_UCONTEXT_H | ||
| 20 | #define _SYS_UCONTEXT_H	1 | ||
| 21 | |||
| 22 | #include <features.h> | ||
| 23 | |||
| 24 | #include <bits/types/sigset_t.h> | ||
| 25 | #include <bits/types/stack_t.h> | ||
| 26 | |||
| 27 | typedef struct | ||
| 28 | { | ||
| 29 | unsigned long __tls; | ||
| 30 | unsigned long __lr; | ||
| 31 | unsigned long __pc; | ||
| 32 | unsigned long __sr; | ||
| 33 | unsigned long __usp; | ||
| 34 | |||
| 35 | /* | ||
| 36 | * a0, a1, a2, a3: | ||
| 37 | * abiv1: r2, r3, r4, r5 | ||
| 38 | * abiv2: r0, r1, r2, r3 | ||
| 39 | */ | ||
| 40 | |||
| 41 | unsigned long __orig_a0; | ||
| 42 | unsigned long __a0; | ||
| 43 | unsigned long __a1; | ||
| 44 | unsigned long __a2; | ||
| 45 | unsigned long __a3; | ||
| 46 | |||
| 47 | /* | ||
| 48 | * ABIV2: r4 ~ r13 | ||
| 49 | */ | ||
| 50 | unsigned long __regs[10]; | ||
| 51 | |||
| 52 | /* r16 ~ r30 */ | ||
| 53 | unsigned long __exregs[15]; | ||
| 54 | |||
| 55 | unsigned long __rhi; | ||
| 56 | unsigned long __rlo; | ||
| 57 | unsigned long __glibc_reserved; | ||
| 58 | } gregset_t; | ||
| 59 | |||
| 60 | typedef struct | ||
| 61 | { | ||
| 62 | unsigned long __vr[64]; | ||
| 63 | unsigned long __fcr; | ||
| 64 | unsigned long __fesr; | ||
| 65 | unsigned long __fid; | ||
| 66 | unsigned long __glibc_reserved; | ||
| 67 | } fpregset_t; | ||
| 68 | |||
| 69 | /* Context to describe whole processor state. */ | ||
| 70 | typedef struct | ||
| 71 | { | ||
| 72 | gregset_t __gregs; | ||
| 73 | fpregset_t __fpregs; | ||
| 74 | } mcontext_t; | ||
| 75 | |||
| 76 | /* Userlevel context. */ | ||
| 77 | typedef struct ucontext_t | ||
| 78 | { | ||
| 79 | unsigned long int __uc_flags; | ||
| 80 | struct ucontext_t *uc_link; | ||
| 81 | stack_t uc_stack; | ||
| 82 | mcontext_t uc_mcontext; | ||
| 83 | sigset_t uc_sigmask; | ||
| 84 | } ucontext_t; | ||
| 85 | |||
| 86 | #undef __ctx | ||
| 87 | |||
| 88 | |||
| 89 | #endif /* sys/ucontext.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabi/sys/user.h created+23| ... | @@ -0,0 +1,23 @@ | ||
| 1 | /* This file is not used by C-SKY GDB. ptrace can use pt_regs definition | ||
| 2 | from linux kernel directly. | ||
| 3 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 4 | This file is part of the GNU C Library. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef _SYS_USER_H | ||
| 21 | #define _SYS_USER_H 1 | ||
| 22 | |||
| 23 | #endif /* _SYS_USER_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/endianness.h created+14| ... | @@ -0,0 +1,14 @@ | ||
| 1 | #ifndef _BITS_ENDIANNESS_H | ||
| 2 | #define _BITS_ENDIANNESS_H 1 | ||
| 3 | |||
| 4 | #ifndef _BITS_ENDIAN_H | ||
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | ||
| 6 | #endif | ||
| 7 | |||
| 8 | #ifdef __CSKYBE__ | ||
| 9 | # error "Big endian not supported for C-SKY." | ||
| 10 | #else | ||
| 11 | # define __BYTE_ORDER __LITTLE_ENDIAN | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #endif /* bits/endianness.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/fcntl.h created+56| ... | @@ -0,0 +1,56 @@ | ||
| 1 | /* O_*, F_*, FD_* bit values for the generic Linux ABI. | ||
| 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef	_FCNTL_H | ||
| 21 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #include <bits/wordsize.h> | ||
| 25 | |||
| 26 | #if __WORDSIZE == 64 | ||
| 27 | # define __O_LARGEFILE	0 | ||
| 28 | #endif | ||
| 29 | |||
| 30 | struct flock | ||
| 31 | { | ||
| 32 | short int l_type;	/* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.	*/ | ||
| 33 | short int l_whence;	/* Where `l_start' is relative to (like `lseek'). */ | ||
| 34 | #ifndef __USE_FILE_OFFSET64 | ||
| 35 | __off_t l_start;	/* Offset where the lock begins. */ | ||
| 36 | __off_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 37 | #else | ||
| 38 | __off64_t l_start;	/* Offset where the lock begins. */ | ||
| 39 | __off64_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 40 | #endif | ||
| 41 | __pid_t l_pid;	/* Process holding the lock. */ | ||
| 42 | }; | ||
| 43 | |||
| 44 | #ifdef __USE_LARGEFILE64 | ||
| 45 | struct flock64 | ||
| 46 | { | ||
| 47 | short int l_type;	/* Type of lock: F_RDLCK, F_WRLCK, or F_UNLCK.	*/ | ||
| 48 | short int l_whence;	/* Where `l_start' is relative to (like `lseek'). */ | ||
| 49 | __off64_t l_start;	/* Offset where the lock begins. */ | ||
| 50 | __off64_t l_len;	/* Size of the locked area; zero means until EOF. */ | ||
| 51 | __pid_t l_pid;	/* Process holding the lock. */ | ||
| 52 | }; | ||
| 53 | #endif | ||
| 54 | |||
| 55 | /* Include generic Linux declarations. */ | ||
| 56 | #include <bits/fcntl-linux.h> | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/fenv.h created+111| ... | @@ -0,0 +1,111 @@ | ||
| 1 | /* Floating point environment. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _FENV_H | ||
| 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifdef __csky_hard_float__ | ||
| 24 | /* Define bits representing the exception. We use the bit positions | ||
| 25 | of the appropriate bits in the FPU control word. */ | ||
| 26 | enum | ||
| 27 | { | ||
| 28 | FE_INVALID = | ||
| 29 | #define FE_INVALID	0x01 | ||
| 30 | FE_INVALID, | ||
| 31 | FE_DIVBYZERO = | ||
| 32 | #define FE_DIVBYZERO	0x02 | ||
| 33 | FE_DIVBYZERO, | ||
| 34 | FE_OVERFLOW = | ||
| 35 | #define FE_OVERFLOW	0x04 | ||
| 36 | FE_OVERFLOW, | ||
| 37 | FE_UNDERFLOW = | ||
| 38 | #define FE_UNDERFLOW	0x08 | ||
| 39 | FE_UNDERFLOW, | ||
| 40 | FE_INEXACT = | ||
| 41 | #define FE_INEXACT	0x10 | ||
| 42 | FE_INEXACT, | ||
| 43 | __FE_DENORMAL = 0x20 | ||
| 44 | }; | ||
| 45 | |||
| 46 | #define FE_ALL_EXCEPT \ | ||
| 47 | 	(FE_INEXACT | FE_DIVBYZERO | FE_UNDERFLOW | FE_OVERFLOW | FE_INVALID) | ||
| 48 | |||
| 49 | /* The C-SKY FPU supports all of the four defined rounding modes. We | ||
| 50 | use again the bit positions in the FPU control word as the values | ||
| 51 | for the appropriate macros. */ | ||
| 52 | enum | ||
| 53 | { | ||
| 54 | FE_TONEAREST = | ||
| 55 | #define FE_TONEAREST	(0x0 << 24) | ||
| 56 | FE_TONEAREST, | ||
| 57 | FE_TOWARDZERO = | ||
| 58 | #define FE_TOWARDZERO	(0x1 << 24) | ||
| 59 | FE_TOWARDZERO, | ||
| 60 | FE_UPWARD = | ||
| 61 | #define FE_UPWARD	(0x2 << 24) | ||
| 62 | FE_UPWARD, | ||
| 63 | FE_DOWNWARD = | ||
| 64 | #define FE_DOWNWARD	(0x3 << 24) | ||
| 65 | FE_DOWNWARD, | ||
| 66 | __FE_ROUND_MASK = (0x3 << 24) | ||
| 67 | }; | ||
| 68 | |||
| 69 | #else | ||
| 70 | |||
| 71 | /* In the soft-float case, only rounding to nearest is supported, with | ||
| 72 | no exceptions. */ | ||
| 73 | |||
| 74 | enum | ||
| 75 | { | ||
| 76 | __FE_UNDEFINED = -1, | ||
| 77 | |||
| 78 | FE_TONEAREST = | ||
| 79 | # define FE_TONEAREST	0x0 | ||
| 80 | FE_TONEAREST | ||
| 81 | }; | ||
| 82 | |||
| 83 | # define FE_ALL_EXCEPT 0 | ||
| 84 | |||
| 85 | #endif | ||
| 86 | |||
| 87 | /* Type representing exception flags. */ | ||
| 88 | typedef unsigned int fexcept_t; | ||
| 89 | |||
| 90 | /* Type representing floating-point environment. */ | ||
| 91 | typedef struct | ||
| 92 | { | ||
| 93 | unsigned int __fpcr; | ||
| 94 | unsigned int __fpsr; | ||
| 95 | } fenv_t; | ||
| 96 | |||
| 97 | /* If the default argument is used we use this value. */ | ||
| 98 | #define FE_DFL_ENV	((const fenv_t *) -1) | ||
| 99 | |||
| 100 | #if defined __USE_GNU && defined __csky_hard_float__ | ||
| 101 | /* Floating-point environment where none of the exceptions are masked. */ | ||
| 102 | # define FE_NOMASK_ENV	((const fenv_t *) -2) | ||
| 103 | #endif | ||
| 104 | |||
| 105 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | ||
| 106 | /* Type representing floating-point control modes. */ | ||
| 107 | typedef unsigned int femode_t; | ||
| 108 | |||
| 109 | /* Default floating-point control modes. */ | ||
| 110 | # define FE_DFL_MODE	((const femode_t *) -1L) | ||
| 111 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/floatn.h created+52| ... | @@ -0,0 +1,52 @@ | ||
| 1 | /* Macros to control TS 18661-3 glibc features. | ||
| 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | /* Defined to 1 if the current compiler invocation provides a | ||
| 20 | floating-point type with the IEEE 754 binary128 format, and this glibc | ||
| 21 | includes corresponding *f128 interfaces for it. */ | ||
| 22 | #define __HAVE_FLOAT128 0 | ||
| 23 | |||
| 24 | /* Defined to 1 if __HAVE_FLOAT128 is 1 and the type is ABI-distinct | ||
| 25 | from the default float, double and long double types in this glibc. */ | ||
| 26 | #define __HAVE_DISTINCT_FLOAT128 0 | ||
| 27 | |||
| 28 | /* Defined to 1 if the current compiler invocation provides a | ||
| 29 | floating-point type with the right format for _Float64x, and this | ||
| 30 | glibc includes corresponding *f64x interfaces for it. */ | ||
| 31 | #define __HAVE_FLOAT64X 0 | ||
| 32 | |||
| 33 | /* Defined to 1 if __HAVE_FLOAT64X is 1 and _Float64x has the format | ||
| 34 | of long double. Otherwise, if __HAVE_FLOAT64X is 1, _Float64x has | ||
| 35 | the format of _Float128, which must be different from that of long | ||
| 36 | double. */ | ||
| 37 | #define __HAVE_FLOAT64X_LONG_DOUBLE 0 | ||
| 38 | |||
| 39 | #ifndef __ASSEMBLER__ | ||
| 40 | |||
| 41 | /* Defined to concatenate the literal suffix to be used with _Float128 | ||
| 42 | types, if __HAVE_FLOAT128 is 1. | ||
| 43 | E.g.: #define __f128(x) x##f128. */ | ||
| 44 | # undef __f128 | ||
| 45 | |||
| 46 | /* Defined to a complex binary128 type if __HAVE_FLOAT128 is 1. | ||
| 47 | E.g.: #define __CFLOAT128 _Complex _Float128. */ | ||
| 48 | # undef __CFLOAT128 | ||
| 49 | |||
| 50 | #endif /* !__ASSEMBLER__. */ | ||
| 51 | |||
| 52 | #include <bits/floatn-common.h> | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/link.h created+55| ... | @@ -0,0 +1,55 @@ | ||
| 1 | /* Machine-specific declarations for dynamic linker interface. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _LINK_H | ||
| 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | /* Registers for entry into PLT on C-SKY. */ | ||
| 24 | typedef struct La_csky_regs | ||
| 25 | { | ||
| 26 | uint32_t lr_reg[4]; | ||
| 27 | uint32_t lr_sp; | ||
| 28 | uint32_t lr_lr; | ||
| 29 | } La_csky_regs; | ||
| 30 | |||
| 31 | /* Return values for calls from PLT on C-SKY. */ | ||
| 32 | typedef struct La_csky_retval | ||
| 33 | { | ||
| 34 | /* Up to four integer registers can be used for a return value. */ | ||
| 35 | uint32_t lrv_reg[4]; | ||
| 36 | uint32_t lrv_v0; | ||
| 37 | } La_csky_retval; | ||
| 38 | |||
| 39 | __BEGIN_DECLS | ||
| 40 | |||
| 41 | extern Elf32_Addr la_csky_gnu_pltenter (Elf32_Sym *__sym, unsigned int __ndx, | ||
| 42 | 					uintptr_t *__refcook, | ||
| 43 | 					uintptr_t *__defcook, | ||
| 44 | 					La_csky_regs *__regs, | ||
| 45 | 					unsigned int *__flags, | ||
| 46 | 					const char *__symname, | ||
| 47 | 					long int *__framesizep); | ||
| 48 | extern unsigned int la_csky_gnu_pltexit (Elf32_Sym *__sym, unsigned int __ndx, | ||
| 49 | 					 uintptr_t *__refcook, | ||
| 50 | 					 uintptr_t *__defcook, | ||
| 51 | 					 const La_csky_regs *__inregs, | ||
| 52 | 					 La_csky_retval *__outregs, | ||
| 53 | 					 const char *__symname); | ||
| 54 | |||
| 55 | __END_DECLS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/long-double.h created+53| ... | @@ -0,0 +1,53 @@ | ||
| 1 | /* Properties of long double type. | ||
| 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | /* This header is included by <sys/cdefs.h>. | ||
| 20 | |||
| 21 | If long double is ABI-compatible with double, it should define | ||
| 22 | __NO_LONG_DOUBLE_MATH to 1; otherwise, it should leave | ||
| 23 | __NO_LONG_DOUBLE_MATH undefined. | ||
| 24 | |||
| 25 | If this build of the GNU C Library supports both long double | ||
| 26 | ABI-compatible with double and some other long double format not | ||
| 27 | ABI-compatible with double, it should define | ||
| 28 | __LONG_DOUBLE_MATH_OPTIONAL to 1; otherwise, it should leave | ||
| 29 | __LONG_DOUBLE_MATH_OPTIONAL undefined. | ||
| 30 | |||
| 31 | If __NO_LONG_DOUBLE_MATH is already defined, this header must not | ||
| 32 | define anything; this is needed to work with the definition of | ||
| 33 | __NO_LONG_DOUBLE_MATH in nldbl-compat.h. */ | ||
| 34 | |||
| 35 | /* In the default version of this header, long double is | ||
| 36 | ABI-compatible with double. */ | ||
| 37 | #ifndef __NO_LONG_DOUBLE_MATH | ||
| 38 | # define __NO_LONG_DOUBLE_MATH	1 | ||
| 39 | #endif | ||
| 40 | |||
| 41 | /* The macro __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI is used to determine the | ||
| 42 | choice of the underlying ABI of long double. It will always assume | ||
| 43 | a constant value for each translation unit. | ||
| 44 | |||
| 45 | If the value is non-zero, any API which is parameterized by the long | ||
| 46 | double type (i.e the scanf/printf family of functions or the explicitly | ||
| 47 | parameterized math.h functions) will be redirected to a compatible | ||
| 48 | implementation using _Float128 ABI via symbols suffixed with ieee128. | ||
| 49 | |||
| 50 | The mechanism this macro uses to acquire may be a function | ||
| 51 | of architecture, or target specific options used to invoke the | ||
| 52 | compiler. */ | ||
| 53 | #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0 | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/procfs.h created+37| ... | @@ -0,0 +1,37 @@ | ||
| 1 | /* Types for registers for sys/procfs.h. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_PROCFS_H | ||
| 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include <asm/ptrace.h> | ||
| 24 | |||
| 25 | /* Type for a general-purpose register. */ | ||
| 26 | typedef unsigned long elf_greg_t; | ||
| 27 | /* Type for a floating-point registers. */ | ||
| 28 | typedef unsigned long elf_fpreg_t; | ||
| 29 | |||
| 30 | /* In gdb/bfd elf32-csky.c, csky_elf_grok_prstatus() use fixed size of | ||
| 31 | elf_prstatus. It's 148 for abiv1 and 220 for abiv2, the size is enough | ||
| 32 | for coredump and no need full sizeof (struct pt_regs). */ | ||
| 33 | #define ELF_NGREG ((sizeof (struct pt_regs) / sizeof (elf_greg_t)) - 2) | ||
| 34 | typedef elf_greg_t elf_gregset_t[ELF_NGREG]; | ||
| 35 | |||
| 36 | #define ELF_NFPREG (sizeof (struct user_fp) / sizeof (elf_fpreg_t)) | ||
| 37 | typedef elf_fpreg_t elf_fpregset_t[ELF_NFPREG]; | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/setjmp.h created+34| ... | @@ -0,0 +1,34 @@ | ||
| 1 | /* Define the machine-dependent type `jmp_buf'. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _CSKY_BITS_SETJMP_H | ||
| 20 | #define _CSKY_BITS_SETJMP_H 1 | ||
| 21 | |||
| 22 | typedef struct __jmp_buf_str | ||
| 23 | { | ||
| 24 | /* Stack pointer. */ | ||
| 25 | int __sp; | ||
| 26 | int __lr; | ||
| 27 | /* The actual core defines which registers should be saved. The | ||
| 28 | buffer contains 32 words, keep space for future growth. | ||
| 29 | Callee-saved registers: | ||
| 30 | r4 ~ r11, r16 ~ r17, r26 ~r31 for abiv2; r8 ~ r14 for abiv1. */ | ||
| 31 | int __regs[32]; | ||
| 32 | } __jmp_buf[1]; | ||
| 33 | |||
| 34 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/shmlba.h created+29| ... | @@ -0,0 +1,29 @@ | ||
| 1 | /* Define SHMLBA. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_SHM_H | ||
| 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | __BEGIN_DECLS | ||
| 24 | |||
| 25 | /* Segment low boundary address multiple. */ | ||
| 26 | #define SHMLBA		(__getpagesize () << 2) | ||
| 27 | extern int __getpagesize (void) __THROW __attribute__ ((__const__)); | ||
| 28 | |||
| 29 | __END_DECLS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/statfs.h created+86| ... | @@ -0,0 +1,86 @@ | ||
| 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_STATFS_H | ||
| 20 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #include <bits/endian.h> | ||
| 24 | #include <bits/types.h> | ||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | /* 64-bit libc uses the kernel's 'struct statfs', accessed via the | ||
| 28 | statfs() syscall; 32-bit libc uses the kernel's 'struct statfs64' | ||
| 29 | and accesses it via the statfs64() syscall. All the various | ||
| 30 | APIs offered by libc use the kernel shape for their struct statfs | ||
| 31 | structure; the only difference is that 32-bit programs not | ||
| 32 | using __USE_FILE_OFFSET64 only see the low 32 bits of some | ||
| 33 | of the fields (the __fsblkcnt_t and __fsfilcnt_t fields). */ | ||
| 34 | |||
| 35 | #if defined __USE_FILE_OFFSET64 | ||
| 36 | # define __field64(type, type64, name) type64 name | ||
| 37 | #elif __WORDSIZE == 64 || __STATFS_MATCHES_STATFS64 | ||
| 38 | # define __field64(type, type64, name) type name | ||
| 39 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 42 | #else | ||
| 43 | # define __field64(type, type64, name) \ | ||
| 44 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 45 | #endif | ||
| 46 | |||
| 47 | struct statfs | ||
| 48 | { | ||
| 49 | __SWORD_TYPE f_type; | ||
| 50 | __SWORD_TYPE f_bsize; | ||
| 51 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_blocks); | ||
| 52 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_bfree); | ||
| 53 | __field64(__fsblkcnt_t, __fsblkcnt64_t, f_bavail); | ||
| 54 | __field64(__fsfilcnt_t, __fsfilcnt64_t, f_files); | ||
| 55 | __field64(__fsfilcnt_t, __fsfilcnt64_t, f_ffree); | ||
| 56 | __fsid_t f_fsid; | ||
| 57 | __SWORD_TYPE f_namelen; | ||
| 58 | __SWORD_TYPE f_frsize; | ||
| 59 | __SWORD_TYPE f_flags; | ||
| 60 | __SWORD_TYPE f_spare[4]; | ||
| 61 | }; | ||
| 62 | |||
| 63 | #undef __field64 | ||
| 64 | |||
| 65 | #ifdef __USE_LARGEFILE64 | ||
| 66 | struct statfs64 | ||
| 67 | { | ||
| 68 | __SWORD_TYPE f_type; | ||
| 69 | __SWORD_TYPE f_bsize; | ||
| 70 | __fsblkcnt64_t f_blocks; | ||
| 71 | __fsblkcnt64_t f_bfree; | ||
| 72 | __fsblkcnt64_t f_bavail; | ||
| 73 | __fsfilcnt64_t f_files; | ||
| 74 | __fsfilcnt64_t f_ffree; | ||
| 75 | __fsid_t f_fsid; | ||
| 76 | __SWORD_TYPE f_namelen; | ||
| 77 | __SWORD_TYPE f_frsize; | ||
| 78 | __SWORD_TYPE f_flags; | ||
| 79 | __SWORD_TYPE f_spare[4]; | ||
| 80 | }; | ||
| 81 | #endif | ||
| 82 | |||
| 83 | /* Tell code we have these members. */ | ||
| 84 | #define _STATFS_F_NAMELEN | ||
| 85 | #define _STATFS_F_FRSIZE | ||
| 86 | #define _STATFS_F_FLAGS | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/struct_rwlock.h created+61| ... | @@ -0,0 +1,61 @@ | ||
| 1 | /* Default read-write lock implementation struct definitions. | ||
| 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <http://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef __RWLOCK_INTERNAL_H | ||
| 20 | #define __RWLOCK_INTERNAL_H | ||
| 21 | |||
| 22 | #include <bits/endian.h> | ||
| 23 | |||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | ||
| 25 | to use the default layout, however archictetures can redefine it to add | ||
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | ||
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | ||
| 28 | |||
| 29 | struct __pthread_rwlock_arch_t | ||
| 30 | { | ||
| 31 | unsigned int __readers; | ||
| 32 | unsigned int __writers; | ||
| 33 | unsigned int __wrphase_futex; | ||
| 34 | unsigned int __writers_futex; | ||
| 35 | unsigned int __pad3; | ||
| 36 | unsigned int __pad4; | ||
| 37 | /* FLAGS must stay at its position in the structure to maintain | ||
| 38 | binary compatibility. */ | ||
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | ||
| 40 | unsigned char __pad1; | ||
| 41 | unsigned char __pad2; | ||
| 42 | unsigned char __shared; | ||
| 43 | unsigned char __flags; | ||
| 44 | #else | ||
| 45 | unsigned char __flags; | ||
| 46 | unsigned char __shared; | ||
| 47 | unsigned char __pad1; | ||
| 48 | unsigned char __pad2; | ||
| 49 | #endif | ||
| 50 | int __cur_writer; | ||
| 51 | }; | ||
| 52 | |||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | ||
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | ||
| 56 | #else | ||
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/struct_stat.h created+127| ... | @@ -0,0 +1,127 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | #if defined __USE_FILE_OFFSET64 | ||
| 30 | # define __field64(type, type64, name) type64 name | ||
| 31 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 32 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 33 | # error "ino_t and off_t must both be the same type" | ||
| 34 | # endif | ||
| 35 | # define __field64(type, type64, name) type name | ||
| 36 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 37 | # define __field64(type, type64, name) \ | ||
| 38 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 39 | #else | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 42 | #endif | ||
| 43 | |||
| 44 | struct stat | ||
| 45 | { | ||
| 46 | __dev_t st_dev;		/* Device. */ | ||
| 47 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 48 | __mode_t st_mode;		/* File mode. */ | ||
| 49 | __nlink_t st_nlink;		/* Link count. */ | ||
| 50 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 51 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 52 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 53 | __dev_t __pad1; | ||
| 54 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 55 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 56 | int __pad2; | ||
| 57 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 58 | #ifdef __USE_XOPEN2K8 | ||
| 59 | /* Nanosecond resolution timestamps are stored in a format | ||
| 60 | equivalent to 'struct timespec'. This is the type used | ||
| 61 | whenever possible but the Unix namespace rules do not allow the | ||
| 62 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 63 | Therefore we have to handle the use of this header in strictly | ||
| 64 | standard-compliant sources special. */ | ||
| 65 | struct timespec st_atim;		/* Time of last access. */ | ||
| 66 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 67 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 68 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 69 | # define st_mtime st_mtim.tv_sec | ||
| 70 | # define st_ctime st_ctim.tv_sec | ||
| 71 | #else | ||
| 72 | __time_t st_atime;			/* Time of last access. */ | ||
| 73 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 74 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 75 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 76 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 77 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 78 | #endif | ||
| 79 | int __glibc_reserved[2]; | ||
| 80 | }; | ||
| 81 | |||
| 82 | #undef __field64 | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | __dev_t st_dev;		/* Device. */ | ||
| 88 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;		/* File mode. */ | ||
| 90 | __nlink_t st_nlink;		/* Link count. */ | ||
| 91 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 94 | __dev_t __pad1; | ||
| 95 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 97 | int __pad2; | ||
| 98 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 99 | #ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | #else | ||
| 110 | __time_t st_atime;			/* Time of last access. */ | ||
| 111 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 112 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 113 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 114 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 115 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 116 | #endif | ||
| 117 | int __glibc_reserved[2]; | ||
| 118 | }; | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Tell code we have these members. */ | ||
| 122 | #define	_STATBUF_ST_BLKSIZE | ||
| 123 | #define _STATBUF_ST_RDEV | ||
| 124 | /* Nanosecond resolution time values are supported. */ | ||
| 125 | #define _STATBUF_ST_NSEC | ||
| 126 | |||
| 127 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/typesizes.h created+108| ... | @@ -0,0 +1,108 @@ | ||
| 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. | ||
| 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef _BITS_TYPES_H | ||
| 21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." | ||
| 22 | #endif | ||
| 23 | |||
| 24 | #ifndef	_BITS_TYPESIZES_H | ||
| 25 | #define	_BITS_TYPESIZES_H	1 | ||
| 26 | |||
| 27 | /* See <bits/types.h> for the meaning of these macros. This file exists so | ||
| 28 | that <bits/types.h> need not vary across different GNU platforms. */ | ||
| 29 | #if __TIMESIZE == 64 && __WORDSIZE == 32 | ||
| 30 | /* These are the "new" y2038 types defined for architectures added after | ||
| 31 | the 5.1 kernel. */ | ||
| 32 | # define __INO_T_TYPE		__UQUAD_TYPE | ||
| 33 | # define __OFF_T_TYPE		__SQUAD_TYPE | ||
| 34 | # define __RLIM_T_TYPE		__UQUAD_TYPE | ||
| 35 | # define __BLKCNT_T_TYPE	__SQUAD_TYPE | ||
| 36 | # define __FSBLKCNT_T_TYPE	__UQUAD_TYPE | ||
| 37 | # define __FSFILCNT_T_TYPE	__UQUAD_TYPE | ||
| 38 | # define __TIME_T_TYPE		__SQUAD_TYPE | ||
| 39 | # define __SUSECONDS_T_TYPE	__SQUAD_TYPE | ||
| 40 | #else | ||
| 41 | # define __INO_T_TYPE		__ULONGWORD_TYPE | ||
| 42 | # define __OFF_T_TYPE		__SLONGWORD_TYPE | ||
| 43 | # define __RLIM_T_TYPE		__ULONGWORD_TYPE | ||
| 44 | # define __BLKCNT_T_TYPE	__SLONGWORD_TYPE | ||
| 45 | # define __FSBLKCNT_T_TYPE	__ULONGWORD_TYPE | ||
| 46 | # define __FSFILCNT_T_TYPE	__ULONGWORD_TYPE | ||
| 47 | # define __TIME_T_TYPE		__SLONGWORD_TYPE | ||
| 48 | # define __SUSECONDS_T_TYPE	__SLONGWORD_TYPE | ||
| 49 | #endif | ||
| 50 | |||
| 51 | #define __DEV_T_TYPE		__UQUAD_TYPE | ||
| 52 | #define __UID_T_TYPE		__U32_TYPE | ||
| 53 | #define __GID_T_TYPE		__U32_TYPE | ||
| 54 | #define __INO64_T_TYPE		__UQUAD_TYPE | ||
| 55 | #define __MODE_T_TYPE		__U32_TYPE | ||
| 56 | #define __NLINK_T_TYPE		__U32_TYPE | ||
| 57 | #define __OFF64_T_TYPE		__SQUAD_TYPE | ||
| 58 | #define __PID_T_TYPE		__S32_TYPE | ||
| 59 | #define __RLIM64_T_TYPE		__UQUAD_TYPE | ||
| 60 | #define	__BLKCNT64_T_TYPE	__SQUAD_TYPE | ||
| 61 | #define	__FSBLKCNT64_T_TYPE	__UQUAD_TYPE | ||
| 62 | #define	__FSFILCNT64_T_TYPE	__UQUAD_TYPE | ||
| 63 | #define	__FSWORD_T_TYPE		__SWORD_TYPE | ||
| 64 | #define	__ID_T_TYPE		__U32_TYPE | ||
| 65 | #define __CLOCK_T_TYPE		__SLONGWORD_TYPE | ||
| 66 | #define __USECONDS_T_TYPE	__U32_TYPE | ||
| 67 | #define __SUSECONDS64_T_TYPE	__SQUAD_TYPE | ||
| 68 | #define __DADDR_T_TYPE		__S32_TYPE | ||
| 69 | #define __KEY_T_TYPE		__S32_TYPE | ||
| 70 | #define __CLOCKID_T_TYPE	__S32_TYPE | ||
| 71 | #define __TIMER_T_TYPE		void * | ||
| 72 | #define __BLKSIZE_T_TYPE	__S32_TYPE | ||
| 73 | #define __FSID_T_TYPE		struct { int __val[2]; } | ||
| 74 | #define __SSIZE_T_TYPE		__SWORD_TYPE | ||
| 75 | #define __SYSCALL_SLONG_TYPE	__SLONGWORD_TYPE | ||
| 76 | #define __SYSCALL_ULONG_TYPE	__ULONGWORD_TYPE | ||
| 77 | #define __CPU_MASK_TYPE 	__ULONGWORD_TYPE | ||
| 78 | |||
| 79 | #if defined __LP64__ || (__TIMESIZE == 64 && __WORDSIZE == 32) | ||
| 80 | /* Tell the libc code that off_t and off64_t are actually the same type | ||
| 81 | for all ABI purposes, even if possibly expressed as different base types | ||
| 82 | for C type-checking purposes. */ | ||
| 83 | # define __OFF_T_MATCHES_OFF64_T	1 | ||
| 84 | |||
| 85 | /* Same for ino_t and ino64_t. */ | ||
| 86 | # define __INO_T_MATCHES_INO64_T	1 | ||
| 87 | |||
| 88 | /* And for __rlim_t and __rlim64_t. */ | ||
| 89 | # define __RLIM_T_MATCHES_RLIM64_T	1 | ||
| 90 | |||
| 91 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | ||
| 92 | # define __STATFS_MATCHES_STATFS64 1 | ||
| 93 | |||
| 94 | /* And for getitimer, setitimer and rusage */ | ||
| 95 | # define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 (__WORDSIZE == 64) | ||
| 96 | #else | ||
| 97 | # define __RLIM_T_MATCHES_RLIM64_T	0 | ||
| 98 | |||
| 99 | # define __STATFS_MATCHES_STATFS64 0 | ||
| 100 | |||
| 101 | # define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 0 | ||
| 102 | #endif | ||
| 103 | |||
| 104 | /* Number of descriptors that can fit in an `fd_set'. */ | ||
| 105 | #define	__FD_SETSIZE		1024 | ||
| 106 | |||
| 107 | |||
| 108 | #endif /* bits/typesizes.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/bits/wordsize.h created+21| ... | @@ -0,0 +1,21 @@ | ||
| 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #define __WORDSIZE			32 | ||
| 19 | #define __WORDSIZE_TIME64_COMPAT32	0 | ||
| 20 | #define __WORDSIZE32_SIZE_ULONG		0 | ||
| 21 | #define __WORDSIZE32_PTRDIFF_LONG	0 | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/fpu_control.h created+148| ... | @@ -0,0 +1,148 @@ | ||
| 1 | /* FPU control word bits. C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _FPU_CONTROL_H | ||
| 20 | #define _FPU_CONTROL_H | ||
| 21 | |||
| 22 | /* C-SKY FPU floating point control register bits. | ||
| 23 | |||
| 24 | 31-28 -> Reserved (read as 0, write with 0). | ||
| 25 | 27 -> 0: Flush denormalized results to zero. | ||
| 26 | 1: Flush denormalized results to signed minimal normal number. | ||
| 27 | 26 -> Reserved (read as 0, write with 0). | ||
| 28 | 25-24 -> Rounding control. | ||
| 29 | 23-6 -> Reserved (read as 0, write with 0). | ||
| 30 | 5 -> Enable exception for input denormalized exception. | ||
| 31 | 4 -> Enable exception for inexact exception. | ||
| 32 | 3 -> Enable exception for underflow exception. | ||
| 33 | 2 -> Enable exception for overflow exception. | ||
| 34 | 1 -> Enable exception for division by zero exception. | ||
| 35 | 0 -> Enable exception for invalid operation exception. | ||
| 36 | |||
| 37 | Rounding Control: | ||
| 38 | 00 - Rounding to nearest (RN). | ||
| 39 | 01 - Rounding toward zero (RZ). | ||
| 40 | 10 - Rounding (up) toward plus infinity (RP). | ||
| 41 | 11 - Rounding (down)toward minus infinity (RM). | ||
| 42 | |||
| 43 | C-SKY FPU floating point exception status register bits. | ||
| 44 | |||
| 45 | 15 -> Accumulate bit for any exception. | ||
| 46 | 14 -> Reserved (read as 0, write with 0). | ||
| 47 | 13 -> Cause bit for input denormalized exception. | ||
| 48 | 12 -> Cause bit for inexact exception. | ||
| 49 | 11 -> Cause bit for underflow exception. | ||
| 50 | 10 -> Cause bit for overflow exception. | ||
| 51 | 9 -> Cause bit for division by zero exception. | ||
| 52 | 8 -> Cause bit for invalid operation exception. | ||
| 53 | 7 -> Flag bit for any exception. | ||
| 54 | 6 -> Reserved (read as 0, write with 0). | ||
| 55 | 5 -> Flag exception for input denormalized exception. | ||
| 56 | 4 -> Flag exception for inexact exception. | ||
| 57 | 3 -> Flag exception for underflow exception. | ||
| 58 | 2 -> Flag exception for overflow exception. | ||
| 59 | 1 -> Flag exception for division by zero exception. | ||
| 60 | 0 -> Flag exception for invalid operation exception. */ | ||
| 61 | |||
| 62 | #include <features.h> | ||
| 63 | |||
| 64 | #ifdef __csky_soft_float__ | ||
| 65 | |||
| 66 | # define _FPU_RESERVED 0xffffffff | ||
| 67 | # define _FPU_DEFAULT 0x00000000 | ||
| 68 | typedef unsigned int fpu_control_t; | ||
| 69 | # define _FPU_GETCW(cw) (cw) = 0 | ||
| 70 | # define _FPU_SETCW(cw) (void) (cw) | ||
| 71 | # define _FPU_GETFPSR(cw) (cw) = 0 | ||
| 72 | # define _FPU_SETFPSR(cw) (void) (cw) | ||
| 73 | extern fpu_control_t __fpu_control; | ||
| 74 | |||
| 75 | #else /* __csky_soft_float__ */ | ||
| 76 | |||
| 77 | /* Masking of interrupts. */ | ||
| 78 | # define _FPU_MASK_IDE (1 << 5) /* Input denormalized exception. */ | ||
| 79 | # define _FPU_MASK_IXE (1 << 4) /* Inexact exception. */ | ||
| 80 | # define _FPU_MASK_UFE (1 << 3) /* Underflow exception. */ | ||
| 81 | # define _FPU_MASK_OFE (1 << 2) /* Overflow exception. */ | ||
| 82 | # define _FPU_MASK_DZE (1 << 1) /* Division by zero exception. */ | ||
| 83 | # define _FPU_MASK_IOE (1 << 0) /* Invalid operation exception. */ | ||
| 84 | |||
| 85 | # define _FPU_MASK_FEA (1 << 15) /* Case for any exception. */ | ||
| 86 | # define _FPU_MASK_FEC (1 << 7) /* Flag for any exception. */ | ||
| 87 | |||
| 88 | /* Flush denormalized numbers to zero. */ | ||
| 89 | # define _FPU_FLUSH_TZ 0x8000000 | ||
| 90 | |||
| 91 | /* Rounding control. */ | ||
| 92 | # define _FPU_RC_NEAREST (0x0 << 24) /* RECOMMENDED. */ | ||
| 93 | # define _FPU_RC_ZERO (0x1 << 24) | ||
| 94 | # define _FPU_RC_UP (0x2 << 24) | ||
| 95 | # define _FPU_RC_DOWN (0x3 << 24) | ||
| 96 | |||
| 97 | # define _FPU_RESERVED 0xf460ffc0 /* Reserved bits in cw. */ | ||
| 98 | # define _FPU_FPSR_RESERVED 0xffff4040 | ||
| 99 | |||
| 100 | /* The fdlibm code requires strict IEEE double precision arithmetic, | ||
| 101 | and no interrupts for exceptions, rounding to nearest. */ | ||
| 102 | |||
| 103 | # define _FPU_DEFAULT 0x00000000 | ||
| 104 | # define _FPU_FPSR_DEFAULT 0x00000000 | ||
| 105 | |||
| 106 | /* IEEE: same as above, but exceptions. */ | ||
| 107 | # define _FPU_FPCR_IEEE 0x0000001F | ||
| 108 | # define _FPU_FPSR_IEEE 0x00000000 | ||
| 109 | |||
| 110 | /* Type of the control word. */ | ||
| 111 | typedef unsigned int fpu_control_t; | ||
| 112 | |||
| 113 | /* Macros for accessing the hardware control word. */ | ||
| 114 | # if (__CSKY__ == 2) | ||
| 115 | # define _FPU_GETCW(cw) __asm__ volatile ("mfcr %0, cr<1, 2>" : "=a" (cw)) | ||
| 116 | # define _FPU_SETCW(cw) __asm__ volatile ("mtcr %0, cr<1, 2>" : : "a" (cw)) | ||
| 117 | # define _FPU_GETFPSR(cw) __asm__ volatile ("mfcr %0, cr<2, 2>" : "=a" (cw)) | ||
| 118 | # define _FPU_SETFPSR(cw) __asm__ volatile ("mtcr %0, cr<2, 2>" : : "a" (cw)) | ||
| 119 | # else | ||
| 120 | # define _FPU_GETCW(cw) __asm__ volatile ("1: cprcr %0, cpcr2 \n" \ | ||
| 121 | " btsti %0, 31 \n" \ | ||
| 122 | " bt 1b \n" \ | ||
| 123 | " cprcr %0, cpcr1\n" : "=b" (cw)) | ||
| 124 | |||
| 125 | # define _FPU_SETCW(cw) __asm__ volatile ("1: cprcr r7, cpcr2 \n" \ | ||
| 126 | " btsti r7, 31 \n" \ | ||
| 127 | " bt 1b \n" \ | ||
| 128 | " cpwcr %0, cpcr1 \n" \ | ||
| 129 | : : "b" (cw) : "r7") | ||
| 130 | |||
| 131 | # define _FPU_GETFPSR(cw) __asm__ volatile ("1: cprcr %0, cpcr2 \n" \ | ||
| 132 | " btsti %0, 31 \n" \ | ||
| 133 | " bt 1b \n" \ | ||
| 134 | " cprcr %0, cpcr4\n" : "=b" (cw)) | ||
| 135 | |||
| 136 | # define _FPU_SETFPSR(cw) __asm__ volatile ("1: cprcr r7, cpcr2 \n" \ | ||
| 137 | " btsti r7, 31 \n" \ | ||
| 138 | " bt 1b \n" \ | ||
| 139 | " cpwcr %0, cpcr4 \n" \ | ||
| 140 | : : "b" (cw) : "r7") | ||
| 141 | # endif /* __CSKY__ != 2 */ | ||
| 142 | |||
| 143 | /* Default control word set at startup. */ | ||
| 144 | extern fpu_control_t __fpu_control; | ||
| 145 | |||
| 146 | #endif /* !__csky_soft_float__ */ | ||
| 147 | |||
| 148 | #endif /* fpu_control.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/gnu/lib-names.h created+32| ... | @@ -0,0 +1,32 @@ | ||
| 1 | /* This file is automatically generated. | ||
| 2 | It defines macros to allow user program to find the shared | ||
| 3 | library files which come as part of GNU libc. */ | ||
| 4 | #ifndef __GNU_LIB_NAMES_H | ||
| 5 | #define __GNU_LIB_NAMES_H	1 | ||
| 6 | |||
| 7 | #define LD_LINUX_CSKYV2_HF_SO "ld-linux-cskyv2-hf.so.1" | ||
| 8 | #define LD_SO "ld-linux-cskyv2-hf.so.1" | ||
| 9 | #define LIBANL_SO "libanl.so.1" | ||
| 10 | #define LIBBROKENLOCALE_SO "libBrokenLocale.so.1" | ||
| 11 | #define LIBCRYPT_SO "libcrypt.so.1" | ||
| 12 | #define LIBC_SO "libc.so.6" | ||
| 13 | #define LIBDL_SO "libdl.so.2" | ||
| 14 | #define LIBGCC_S_SO "libgcc_s.so.1" | ||
| 15 | #define LIBMVEC_SO "libmvec.so.1" | ||
| 16 | #define LIBM_SO "libm.so.6" | ||
| 17 | #define LIBNSL_SO "libnsl.so.1" | ||
| 18 | #define LIBNSS_COMPAT_SO "libnss_compat.so.2" | ||
| 19 | #define LIBNSS_DB_SO "libnss_db.so.2" | ||
| 20 | #define LIBNSS_DNS_SO "libnss_dns.so.2" | ||
| 21 | #define LIBNSS_FILES_SO "libnss_files.so.2" | ||
| 22 | #define LIBNSS_HESIOD_SO "libnss_hesiod.so.2" | ||
| 23 | #define LIBNSS_LDAP_SO "libnss_ldap.so.2" | ||
| 24 | #define LIBNSS_TEST1_SO "libnss_test1.so.2" | ||
| 25 | #define LIBNSS_TEST2_SO "libnss_test2.so.2" | ||
| 26 | #define LIBPTHREAD_SO "libpthread.so.0" | ||
| 27 | #define LIBRESOLV_SO "libresolv.so.2" | ||
| 28 | #define LIBRT_SO "librt.so.1" | ||
| 29 | #define LIBTHREAD_DB_SO "libthread_db.so.1" | ||
| 30 | #define LIBUTIL_SO "libutil.so.1" | ||
| 31 | |||
| 32 | #endif	/* gnu/lib-names.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/gnu/stubs.h created+21| ... | @@ -0,0 +1,21 @@ | ||
| 1 | /* This file is automatically generated. | ||
| 2 | It defines a symbol `__stub_FUNCTION' for each function | ||
| 3 | in the C library which is a stub, meaning it will fail | ||
| 4 | every time called, usually setting errno to ENOSYS. */ | ||
| 5 | |||
| 6 | #ifdef _LIBC | ||
| 7 | #error Applications may not define the macro _LIBC | ||
| 8 | #endif | ||
| 9 | |||
| 10 | #define __stub___compat_bdflush | ||
| 11 | #define __stub___compat_create_module | ||
| 12 | #define __stub___compat_get_kernel_syms | ||
| 13 | #define __stub___compat_query_module | ||
| 14 | #define __stub___compat_uselib | ||
| 15 | #define __stub_chflags | ||
| 16 | #define __stub_fchflags | ||
| 17 | #define __stub_gtty | ||
| 18 | #define __stub_revoke | ||
| 19 | #define __stub_setlogin | ||
| 20 | #define __stub_sigreturn | ||
| 21 | #define __stub_stty | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/sys/cachectl.h created+36| ... | @@ -0,0 +1,36 @@ | ||
| 1 | /* C-SKY cache flushing interface. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_CACHECTL_H | ||
| 20 | #define _SYS_CACHECTL_H 1 | ||
| 21 | |||
| 22 | #include <features.h> | ||
| 23 | |||
| 24 | /* Get the kernel definition for the op bits. */ | ||
| 25 | #include <asm/cachectl.h> | ||
| 26 | |||
| 27 | __BEGIN_DECLS | ||
| 28 | |||
| 29 | #ifdef __USE_MISC | ||
| 30 | extern int cacheflush (void *__addr, const int __nbytes, | ||
| 31 | 		 const int __op) __THROW; | ||
| 32 | #endif | ||
| 33 | |||
| 34 | __END_DECLS | ||
| 35 | |||
| 36 | #endif /* sys/cachectl.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/sys/ucontext.h created+89| ... | @@ -0,0 +1,89 @@ | ||
| 1 | /* struct ucontext definition, C-SKY version. | ||
| 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_UCONTEXT_H | ||
| 20 | #define _SYS_UCONTEXT_H	1 | ||
| 21 | |||
| 22 | #include <features.h> | ||
| 23 | |||
| 24 | #include <bits/types/sigset_t.h> | ||
| 25 | #include <bits/types/stack_t.h> | ||
| 26 | |||
| 27 | typedef struct | ||
| 28 | { | ||
| 29 | unsigned long __tls; | ||
| 30 | unsigned long __lr; | ||
| 31 | unsigned long __pc; | ||
| 32 | unsigned long __sr; | ||
| 33 | unsigned long __usp; | ||
| 34 | |||
| 35 | /* | ||
| 36 | * a0, a1, a2, a3: | ||
| 37 | * abiv1: r2, r3, r4, r5 | ||
| 38 | * abiv2: r0, r1, r2, r3 | ||
| 39 | */ | ||
| 40 | |||
| 41 | unsigned long __orig_a0; | ||
| 42 | unsigned long __a0; | ||
| 43 | unsigned long __a1; | ||
| 44 | unsigned long __a2; | ||
| 45 | unsigned long __a3; | ||
| 46 | |||
| 47 | /* | ||
| 48 | * ABIV2: r4 ~ r13 | ||
| 49 | */ | ||
| 50 | unsigned long __regs[10]; | ||
| 51 | |||
| 52 | /* r16 ~ r30 */ | ||
| 53 | unsigned long __exregs[15]; | ||
| 54 | |||
| 55 | unsigned long __rhi; | ||
| 56 | unsigned long __rlo; | ||
| 57 | unsigned long __glibc_reserved; | ||
| 58 | } gregset_t; | ||
| 59 | |||
| 60 | typedef struct | ||
| 61 | { | ||
| 62 | unsigned long __vr[64]; | ||
| 63 | unsigned long __fcr; | ||
| 64 | unsigned long __fesr; | ||
| 65 | unsigned long __fid; | ||
| 66 | unsigned long __glibc_reserved; | ||
| 67 | } fpregset_t; | ||
| 68 | |||
| 69 | /* Context to describe whole processor state. */ | ||
| 70 | typedef struct | ||
| 71 | { | ||
| 72 | gregset_t __gregs; | ||
| 73 | fpregset_t __fpregs; | ||
| 74 | } mcontext_t; | ||
| 75 | |||
| 76 | /* Userlevel context. */ | ||
| 77 | typedef struct ucontext_t | ||
| 78 | { | ||
| 79 | unsigned long int __uc_flags; | ||
| 80 | struct ucontext_t *uc_link; | ||
| 81 | stack_t uc_stack; | ||
| 82 | mcontext_t uc_mcontext; | ||
| 83 | sigset_t uc_sigmask; | ||
| 84 | } ucontext_t; | ||
| 85 | |||
| 86 | #undef __ctx | ||
| 87 | |||
| 88 | |||
| 89 | #endif /* sys/ucontext.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/csky-linux-gnueabihf/sys/user.h created+23| ... | @@ -0,0 +1,23 @@ | ||
| 1 | /* This file is not used by C-SKY GDB. ptrace can use pt_regs definition | ||
| 2 | from linux kernel directly. | ||
| 3 | Copyright (C) 2018-2021 Free Software Foundation, Inc. | ||
| 4 | This file is part of the GNU C Library. | ||
| 5 | |||
| 6 | The GNU C Library is free software; you can redistribute it and/or | ||
| 7 | modify it under the terms of the GNU Lesser General Public | ||
| 8 | License as published by the Free Software Foundation; either | ||
| 9 | version 2.1 of the License, or (at your option) any later version. | ||
| 10 | |||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 14 | Lesser General Public License for more details. | ||
| 15 | |||
| 16 | You should have received a copy of the GNU Lesser General Public | ||
| 17 | License along with the GNU C Library. If not, see | ||
| 18 | <https://www.gnu.org/licenses/>. */ | ||
| 19 | |||
| 20 | #ifndef _SYS_USER_H | ||
| 21 | #define _SYS_USER_H 1 | ||
| 22 | |||
| 23 | #endif /* _SYS_USER_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/aio.h+7-8| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -33,7 +33,7 @@ __BEGIN_DECLS | ... | @@ -33,7 +33,7 @@ __BEGIN_DECLS |
| 33 | /* Asynchronous I/O control block. */ | 33 | /* Asynchronous I/O control block. */ |
| 34 | struct aiocb | 34 | struct aiocb |
| 35 | { | 35 | { |
| 36 | int aio_fildes;		/* File desriptor. */ | 36 | int aio_fildes;		/* File descriptor. */ |
| 37 | int aio_lio_opcode;		/* Operation to be performed. */ | 37 | int aio_lio_opcode;		/* Operation to be performed. */ |
| 38 | int aio_reqprio;		/* Request priority offset. */ | 38 | int aio_reqprio;		/* Request priority offset. */ |
| 39 | volatile void *aio_buf;	/* Location of buffer. */ | 39 | volatile void *aio_buf;	/* Location of buffer. */ |
| ... | @@ -61,7 +61,7 @@ struct aiocb | ... | @@ -61,7 +61,7 @@ struct aiocb |
| 61 | #ifdef __USE_LARGEFILE64 | 61 | #ifdef __USE_LARGEFILE64 |
| 62 | struct aiocb64 | 62 | struct aiocb64 |
| 63 | { | 63 | { |
| 64 | int aio_fildes;		/* File desriptor. */ | 64 | int aio_fildes;		/* File descriptor. */ |
| 65 | int aio_lio_opcode;		/* Operation to be performed. */ | 65 | int aio_lio_opcode;		/* Operation to be performed. */ |
| 66 | int aio_reqprio;		/* Request priority offset. */ | 66 | int aio_reqprio;		/* Request priority offset. */ |
| 67 | volatile void *aio_buf;	/* Location of buffer. */ | 67 | volatile void *aio_buf;	/* Location of buffer. */ |
| ... | @@ -82,12 +82,11 @@ struct aiocb64 | ... | @@ -82,12 +82,11 @@ struct aiocb64 |
| 82 | 82 | ||
| 83 | 83 | ||
| 84 | #ifdef __USE_GNU | 84 | #ifdef __USE_GNU |
| 85 | /* To customize the implementation one can use the following struct. | 85 | /* To optimize the implementation one can use the following struct. */ |
| 86 | This implementation follows the one in Irix. */ | ||
| 87 | struct aioinit | 86 | struct aioinit |
| 88 | { | 87 | { |
| 89 | int aio_threads;		/* Maximal number of threads. */ | 88 | int aio_threads;		/* Maximum number of threads. */ |
| 90 | int aio_num;		/* Number of expected simultanious requests. */ | 89 | int aio_num;		/* Number of expected simultaneous requests. */ |
| 91 | int aio_locks;		/* Not used. */ | 90 | int aio_locks;		/* Not used. */ |
| 92 | int aio_usedba;		/* Not used. */ | 91 | int aio_usedba;		/* Not used. */ |
| 93 | int aio_debug;		/* Not used. */ | 92 | int aio_debug;		/* Not used. */ |
| ... | @@ -99,7 +98,7 @@ struct aioinit | ... | @@ -99,7 +98,7 @@ struct aioinit |
| 99 | #endif | 98 | #endif |
| 100 | 99 | ||
| 101 | 100 | ||
| 102 | /* Return values of cancelation function. */ | 101 | /* Return values of the aio_cancel function. */ |
| 103 | enum | 102 | enum |
| 104 | { | 103 | { |
| 105 | AIO_CANCELED, | 104 | AIO_CANCELED, |
lib/libc/include/generic-glibc/aliases.h+5-5| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | ||
| 26 | __BEGIN_DECLS | 26 | __BEGIN_DECLS |
| 27 | 27 | ||
| 28 | /* Structure to represent one entry of the alias data base. */ | 28 | /* Structure to represent one entry of the alias database. */ |
| 29 | struct aliasent | 29 | struct aliasent |
| 30 | { | 30 | { |
| 31 | char *alias_name; | 31 | char *alias_name; |
| ... | @@ -38,13 +38,13 @@ struct aliasent | ... | @@ -38,13 +38,13 @@ struct aliasent |
| 38 | /* Open alias data base files. */ | 38 | /* Open alias data base files. */ |
| 39 | extern void setaliasent (void) __THROW; | 39 | extern void setaliasent (void) __THROW; |
| 40 | 40 | ||
| 41 | /* Close alias data base files. */ | 41 | /* Close alias database files. */ |
| 42 | extern void endaliasent (void) __THROW; | 42 | extern void endaliasent (void) __THROW; |
| 43 | 43 | ||
| 44 | /* Get the next entry from the alias data base. */ | 44 | /* Get the next entry from the alias database. */ |
| 45 | extern struct aliasent *getaliasent (void) __THROW; | 45 | extern struct aliasent *getaliasent (void) __THROW; |
| 46 | 46 | ||
| 47 | /* Get the next entry from the alias data base and put it in RESULT_BUF. */ | 47 | /* Get the next entry from the alias database and put it in RESULT_BUF. */ |
| 48 | extern int getaliasent_r (struct aliasent *__restrict __result_buf, | 48 | extern int getaliasent_r (struct aliasent *__restrict __result_buf, |
| 49 | 			 char *__restrict __buffer, size_t __buflen, | 49 | 			 char *__restrict __buffer, size_t __buflen, |
| 50 | 			 struct aliasent **__restrict __result) __THROW; | 50 | 			 struct aliasent **__restrict __result) __THROW; |
lib/libc/include/generic-glibc/alloca.h+2-2| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | ||
| 26 | __BEGIN_DECLS | 26 | __BEGIN_DECLS |
| 27 | 27 | ||
| 28 | /* Remove any previous definitions. */ | 28 | /* Remove any previous definition. */ |
| 29 | #undef	alloca | 29 | #undef	alloca |
| 30 | 30 | ||
| 31 | /* Allocate a block that will be freed when the calling function exits. */ | 31 | /* Allocate a block that will be freed when the calling function exits. */ |
lib/libc/include/generic-glibc/ar.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Header describing `ar' archive file format. | 1 | /* Header describing `ar' archive file format. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/argp.h+4-4| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Hierarchial argument parsing, layered over getopt. | 1 | /* Hierarchical argument parsing, layered over getopt. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Written by Miles Bader <miles@gnu.ai.mit.edu>. | 4 | Written by Miles Bader <miles@gnu.ai.mit.edu>. |
| 5 | 5 | ||
| ... | @@ -233,7 +233,7 @@ struct argp | ... | @@ -233,7 +233,7 @@ struct argp |
| 233 | }; | 233 | }; |
| 234 | 234 | ||
| 235 | /* Possible KEY arguments to a help filter function. */ | 235 | /* Possible KEY arguments to a help filter function. */ |
| 236 | #define ARGP_KEY_HELP_PRE_DOC	0x2000001 /* Help text preceeding options. */ | 236 | #define ARGP_KEY_HELP_PRE_DOC	0x2000001 /* Help text preceding options. */ |
| 237 | #define ARGP_KEY_HELP_POST_DOC	0x2000002 /* Help text following options. */ | 237 | #define ARGP_KEY_HELP_POST_DOC	0x2000002 /* Help text following options. */ |
| 238 | #define ARGP_KEY_HELP_HEADER	0x2000003 /* Option header string. */ | 238 | #define ARGP_KEY_HELP_HEADER	0x2000003 /* Option header string. */ |
| 239 | #define ARGP_KEY_HELP_EXTRA	0x2000004 /* After all other documentation; | 239 | #define ARGP_KEY_HELP_EXTRA	0x2000004 /* After all other documentation; |
| ... | @@ -447,7 +447,7 @@ extern void __argp_help (const struct argp *__restrict __argp, | ... | @@ -447,7 +447,7 @@ extern void __argp_help (const struct argp *__restrict __argp, |
| 447 | parsing routine (thus taking an argp_state structure as the first | 447 | parsing routine (thus taking an argp_state structure as the first |
| 448 | argument). They may or may not print an error message and exit, depending | 448 | argument). They may or may not print an error message and exit, depending |
| 449 | on the flags in STATE -- in any case, the caller should be prepared for | 449 | on the flags in STATE -- in any case, the caller should be prepared for |
| 450 | them *not* to exit, and should return an appropiate error after calling | 450 | them *not* to exit, and should return an appropriate error after calling |
| 451 | them. [argp_usage & argp_error should probably be called argp_state_..., | 451 | them. [argp_usage & argp_error should probably be called argp_state_..., |
| 452 | but they're used often enough that they should be short] */ | 452 | but they're used often enough that they should be short] */ |
| 453 | 453 |
lib/libc/include/generic-glibc/argz.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Routines for dealing with '\0' separated arg vectors. | 1 | /* Routines for dealing with '\0' separated arg vectors. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/arpa/inet.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/assert.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/argp-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Redirections for argp functions for -mlong-double-64. | 1 | /* Redirections for argp functions for -mlong-double-64. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/byteswap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros and inline functions to swap the order of bytes in integer values. | 1 | /* Macros and inline functions to swap the order of bytes in integer values. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/cmathcalls.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Prototype declarations for complex math functions; | 1 | /* Prototype declarations for complex math functions; |
| 2 | helper file for <complex.h>. | 2 | helper file for <complex.h>. |
| 3 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/confname.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `sysconf', `pathconf', and `confstr' NAME values. Generic version. | 1 | /* `sysconf', `pathconf', and `confstr' NAME values. Generic version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/cpu-set.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993 | 1 | /* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993 |
| 2 | scheduling interface. | 2 | scheduling interface. |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/dirent.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/dirent_ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific extensions of <dirent.h>. Linux version. | 1 | /* System-specific extensions of <dirent.h>. Linux version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/endian.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Endian macros for string.h functions | 1 | /* Endian macros for string.h functions |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/err-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Redirections for err.h functions for -mlong-double-64. | 1 | /* Redirections for err.h functions for -mlong-double-64. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. Linux specific version. | 1 | /* Error constants. Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/error-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Redirections for error.h functions for -mlong-double-64. | 1 | /* Redirections for error.h functions for -mlong-double-64. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/error.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Specializations for error functions. | 1 | /* Specializations for error functions. |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fcntl-linux.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fcntl2.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for fcntl functions. | 1 | /* Checking macros for fcntl functions. |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/floatn-common.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features where the same | 1 | /* Macros to control TS 18661-3 glibc features where the same |
| 2 | definitions are appropriate for all platforms. | 2 | definitions are appropriate for all platforms. |
| 3 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/flt-eval-method.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __GLIBC_FLT_EVAL_METHOD. | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. | 1 | /* Define FP_FAST_* macros. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/fp-logb.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/getopt_core.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for getopt (basic, portable features only). | 1 | /* Declarations for getopt (basic, portable features only). |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1989-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library and is also part of gnulib. | 3 | This file is part of the GNU C Library and is also part of gnulib. |
| 4 | Patches to this file should be submitted to both projects. | 4 | Patches to this file should be submitted to both projects. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/getopt_ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for getopt (GNU extensions). | 1 | /* Declarations for getopt (GNU extensions). |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1989-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library and is also part of gnulib. | 3 | This file is part of the GNU C Library and is also part of gnulib. |
| 4 | Patches to this file should be submitted to both projects. | 4 | Patches to this file should be submitted to both projects. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/getopt_posix.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for getopt (POSIX compatibility shim). | 1 | /* Declarations for getopt (POSIX compatibility shim). |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1989-2021 Free Software Foundation, Inc. |
| 3 | Unlike the bulk of the getopt implementation, this file is NOT part | 3 | Unlike the bulk of the getopt implementation, this file is NOT part |
| 4 | of gnulib. | 4 | of gnulib. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/in.h+3-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -102,6 +102,7 @@ | ... | @@ -102,6 +102,7 @@ |
| 102 | #define IP_CHECKSUM 23 | 102 | #define IP_CHECKSUM 23 |
| 103 | #define IP_BIND_ADDRESS_NO_PORT 24 | 103 | #define IP_BIND_ADDRESS_NO_PORT 24 |
| 104 | #define IP_RECVFRAGSIZE 25 | 104 | #define IP_RECVFRAGSIZE 25 |
| 105 | #define IP_RECVERR_RFC4884 26 | ||
| 105 | 106 | ||
| 106 | /* IP_MTU_DISCOVER arguments. */ | 107 | /* IP_MTU_DISCOVER arguments. */ |
| 107 | #define IP_PMTUDISC_DONT 0	/* Never send DF frames. */ | 108 | #define IP_PMTUDISC_DONT 0	/* Never send DF frames. */ |
| ... | @@ -193,6 +194,7 @@ struct in_pktinfo | ... | @@ -193,6 +194,7 @@ struct in_pktinfo |
| 193 | #define IPV6_LEAVE_ANYCAST	28 | 194 | #define IPV6_LEAVE_ANYCAST	28 |
| 194 | #define IPV6_MULTICAST_ALL	29 | 195 | #define IPV6_MULTICAST_ALL	29 |
| 195 | #define IPV6_ROUTER_ALERT_ISOLATE 30 | 196 | #define IPV6_ROUTER_ALERT_ISOLATE 30 |
| 197 | #define IPV6_RECVERR_RFC4884	31 | ||
| 196 | #define IPV6_IPSEC_POLICY	34 | 198 | #define IPV6_IPSEC_POLICY	34 |
| 197 | #define IPV6_XFRM_POLICY	35 | 199 | #define IPV6_XFRM_POLICY	35 |
| 198 | #define IPV6_HDRINCL		36 | 200 | #define IPV6_HDRINCL		36 |
lib/libc/include/generic-glibc/bits/indirect-return.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of __INDIRECT_RETURN. Generic version. | 1 | /* Definition of __INDIRECT_RETURN. Generic version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ioctls.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. | 1 | /* struct ipc_perm definition. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ipc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. Generic. | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. Generic. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. | 1 | /* Define iscanonical macro. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/libc-header-start.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Handle feature test macros at the start of a header. | 1 | /* Handle feature test macros at the start of a header. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/libm-simd-decl-stubs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h. | 1 | /* Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/locale.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of locale category symbol values. | 1 | /* Definition of locale category symbol values. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. MIPS version. | 1 | /* Properties of long double type. MIPS version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/math-vector.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Platform-specific SIMD declarations of math functions. | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mathcalls-helper-functions.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Prototype declarations for math classification macros helpers. | 1 | /* Prototype declarations for math classification macros helpers. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mathcalls-narrow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declare functions returning a narrower type. | 1 | /* Declare functions returning a narrower type. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mathcalls.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Prototype declarations for math functions; helper file for <math.h>. | 1 | /* Prototype declarations for math functions; helper file for <math.h>. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mathdef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mman-linux.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux generic version. | 1 | /* Definitions for POSIX memory map interface. Linux generic version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mman-map-flags-generic.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/generic version. | 1 | /* Definitions for POSIX memory map interface. Linux/generic version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mman-shared.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Memory-mapping-related declarations/definitions, not architecture-specific. | 1 | /* Memory-mapping-related declarations/definitions, not architecture-specific. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/generic version. | 1 | /* Definitions for POSIX memory map interface. Linux/generic version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/monetary-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for monetary functions. | 1 | /* -mlong-double-64 compatibility mode for monetary functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mqueue.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/mqueue2.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for mq functions. | 1 | /* Checking macros for mq functions. |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/msq.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/netdb.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/param.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Old-style Unix parameters and limits. Linux version. | 1 | /* Old-style Unix parameters and limits. Linux version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/poll2.h+11-9| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for poll functions. | 1 | /* Checking macros for poll functions. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -35,12 +35,13 @@ extern int __REDIRECT (__poll_chk_warn, (struct pollfd *__fds, nfds_t __nfds, | ... | @@ -35,12 +35,13 @@ extern int __REDIRECT (__poll_chk_warn, (struct pollfd *__fds, nfds_t __nfds, |
| 35 | __fortify_function int | 35 | __fortify_function int |
| 36 | poll (struct pollfd *__fds, nfds_t __nfds, int __timeout) | 36 | poll (struct pollfd *__fds, nfds_t __nfds, int __timeout) |
| 37 | { | 37 | { |
| 38 | if (__bos (__fds) != (__SIZE_TYPE__) -1) | 38 | if (__glibc_objsize (__fds) != (__SIZE_TYPE__) -1) |
| 39 | { | 39 | { |
| 40 | if (! __builtin_constant_p (__nfds)) | 40 | if (! __builtin_constant_p (__nfds)) |
| 41 | 	return __poll_chk (__fds, __nfds, __timeout, __bos (__fds)); | 41 | 	return __poll_chk (__fds, __nfds, __timeout, __glibc_objsize (__fds)); |
| 42 | else if (__bos (__fds) / sizeof (*__fds) < __nfds) | 42 | else if (__glibc_objsize (__fds) / sizeof (*__fds) < __nfds) |
| 43 | 	return __poll_chk_warn (__fds, __nfds, __timeout, __bos (__fds)); | 43 | 	return __poll_chk_warn (__fds, __nfds, __timeout, |
| 44 | 				__glibc_objsize (__fds)); | ||
| 44 | } | 45 | } |
| 45 | 46 | ||
| 46 | return __poll_alias (__fds, __nfds, __timeout); | 47 | return __poll_alias (__fds, __nfds, __timeout); |
| ... | @@ -65,13 +66,14 @@ __fortify_function int | ... | @@ -65,13 +66,14 @@ __fortify_function int |
| 65 | ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, | 66 | ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, |
| 66 | const __sigset_t *__ss) | 67 | const __sigset_t *__ss) |
| 67 | { | 68 | { |
| 68 | if (__bos (__fds) != (__SIZE_TYPE__) -1) | 69 | if (__glibc_objsize (__fds) != (__SIZE_TYPE__) -1) |
| 69 | { | 70 | { |
| 70 | if (! __builtin_constant_p (__nfds)) | 71 | if (! __builtin_constant_p (__nfds)) |
| 71 | 	return __ppoll_chk (__fds, __nfds, __timeout, __ss, __bos (__fds)); | 72 | 	return __ppoll_chk (__fds, __nfds, __timeout, __ss, |
| 72 | else if (__bos (__fds) / sizeof (*__fds) < __nfds) | 73 | 			 __glibc_objsize (__fds)); |
| 74 | else if (__glibc_objsize (__fds) / sizeof (*__fds) < __nfds) | ||
| 73 | 	return __ppoll_chk_warn (__fds, __nfds, __timeout, __ss, | 75 | 	return __ppoll_chk_warn (__fds, __nfds, __timeout, __ss, |
| 74 | 				 __bos (__fds)); | 76 | 				 __glibc_objsize (__fds)); |
| 75 | } | 77 | } |
| 76 | 78 | ||
| 77 | return __ppoll_alias (__fds, __nfds, __timeout, __ss); | 79 | return __ppoll_alias (__fds, __nfds, __timeout, __ss); |
lib/libc/include/generic-glibc/bits/posix1_lim.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/posix2_lim.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/posix_opt.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define POSIX options for Linux. | 1 | /* Define POSIX options for Linux. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ppc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Facilities specific to the PowerPC architecture on Linux | 1 | /* Facilities specific to the PowerPC architecture on Linux |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/printf-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for <printf.h> functions. | 1 | /* -mlong-double-64 compatibility mode for <printf.h> functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/procfs-extra.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Extra sys/procfs.h definitions. Generic Linux version. | 1 | /* Extra sys/procfs.h definitions. Generic Linux version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Generic Linux version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Generic Linux version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/procfs-prregset.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of prgregset_t and prfpregset_t. Generic Linux version. | 1 | /* Types of prgregset_t and prfpregset_t. Generic Linux version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. MIPS version. | 1 | /* Types for registers for sys/procfs.h. MIPS version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. Generic version. | 1 | /* Machine-specific pthread type layouts. Generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/pthreadtypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declaration of common pthread types for all architectures. | 1 | /* Declaration of common pthread types for all architectures. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ptrace-shared.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* `ptrace' debugger support interface. Linux version, | 1 | /* `ptrace' debugger support interface. Linux version, |
| 2 | not architecture-specific. | 2 | not architecture-specific. |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of the GNU C Library. | 5 | This file is part of the GNU C Library. |
| 6 | 6 |
lib/libc/include/generic-glibc/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux version. | 1 | /* Bit values & structures for resource limits. Linux version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sched.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Definitions of constants and data structure for POSIX 1003.1b-1993 | 1 | /* Definitions of constants and data structure for POSIX 1003.1b-1993 |
| 2 | scheduling interface. | 2 | scheduling interface. |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/select.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/select2.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for select functions. | 1 | /* Checking macros for select functions. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sem.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/semaphore.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic POSIX semaphore type layout | 1 | /* Generic POSIX semaphore type layout |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/setjmp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define the machine-dependent type `jmp_buf'. MIPS version. | 1 | /* Define the machine-dependent type `jmp_buf'. MIPS version. |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/setjmp2.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for setjmp functions. | 1 | /* Checking macros for setjmp functions. |
| 2 | Copyright (C) 2009-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2009-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/shm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. Generic version. | 1 | /* Define SHMLBA. Generic version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux's sigaction. | 1 | /* The proper definitions for Linux's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sigevent-consts.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigevent constants. Linux version. | 1 | /* sigevent constants. Linux version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/siginfo-consts.h+6-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* siginfo constants. Linux version. | 1 | /* siginfo constants. Linux version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -130,8 +130,12 @@ enum | ... | @@ -130,8 +130,12 @@ enum |
| 130 | # define SEGV_ACCADI	SEGV_ACCADI | 130 | # define SEGV_ACCADI	SEGV_ACCADI |
| 131 | SEGV_ADIDERR,			/* Disrupting MCD error. */ | 131 | SEGV_ADIDERR,			/* Disrupting MCD error. */ |
| 132 | # define SEGV_ADIDERR	SEGV_ADIDERR | 132 | # define SEGV_ADIDERR	SEGV_ADIDERR |
| 133 | SEGV_ADIPERR			/* Precise MCD exception. */ | 133 | SEGV_ADIPERR,			/* Precise MCD exception. */ |
| 134 | # define SEGV_ADIPERR	SEGV_ADIPERR | 134 | # define SEGV_ADIPERR	SEGV_ADIPERR |
| 135 | SEGV_MTEAERR,			/* Asynchronous ARM MTE error. */ | ||
| 136 | # define SEGV_MTEAERR	SEGV_MTEAERR | ||
| 137 | SEGV_MTESERR			/* Synchronous ARM MTE exception. */ | ||
| 138 | # define SEGV_MTESERR	SEGV_MTESERR | ||
| 135 | }; | 139 | }; |
| 136 | 140 | ||
| 137 | /* `si_code' values for SIGBUS signal. */ | 141 | /* `si_code' values for SIGBUS signal. */ |
lib/libc/include/generic-glibc/bits/signal_ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific extensions of <signal.h>, Linux version. | 1 | /* System-specific extensions of <signal.h>, Linux version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux version. | 1 | /* Signal number definitions. Linux version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/signum-generic.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number constants. Generic template. | 1 | /* Signal number constants. Generic template. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sigthread.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal handling function for threaded programs. | 1 | /* Signal handling function for threaded programs. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sockaddr.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of struct sockaddr_* common members and sizes, generic version. | 1 | /* Definition of struct sockaddr_* common members and sizes, generic version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. | 1 | /* Socket constants which vary among Linux architectures. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/socket.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific socket constants and types. Linux version. | 1 | /* System-specific socket constants and types. Linux version. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/socket2.h+13-11| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for socket functions. | 1 | /* Checking macros for socket functions. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -33,13 +33,15 @@ extern ssize_t __REDIRECT (__recv_chk_warn, | ... | @@ -33,13 +33,15 @@ extern ssize_t __REDIRECT (__recv_chk_warn, |
| 33 | __fortify_function ssize_t | 33 | __fortify_function ssize_t |
| 34 | recv (int __fd, void *__buf, size_t __n, int __flags) | 34 | recv (int __fd, void *__buf, size_t __n, int __flags) |
| 35 | { | 35 | { |
| 36 | if (__bos0 (__buf) != (size_t) -1) | 36 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 37 | { | 37 | { |
| 38 | if (!__builtin_constant_p (__n)) | 38 | if (!__builtin_constant_p (__n)) |
| 39 | 	return __recv_chk (__fd, __buf, __n, __bos0 (__buf), __flags); | 39 | 	return __recv_chk (__fd, __buf, __n, __glibc_objsize0 (__buf), |
| 40 | 			 __flags); | ||
| 40 | 41 | ||
| 41 | if (__n > __bos0 (__buf)) | 42 | if (__n > __glibc_objsize0 (__buf)) |
| 42 | 	return __recv_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags); | 43 | 	return __recv_chk_warn (__fd, __buf, __n, __glibc_objsize0 (__buf), |
| 44 | 				__flags); | ||
| 43 | } | 45 | } |
| 44 | return __recv_alias (__fd, __buf, __n, __flags); | 46 | return __recv_alias (__fd, __buf, __n, __flags); |
| 45 | } | 47 | } |
| ... | @@ -64,14 +66,14 @@ __fortify_function ssize_t | ... | @@ -64,14 +66,14 @@ __fortify_function ssize_t |
| 64 | recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, | 66 | recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, |
| 65 | 	 __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | 67 | 	 __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) |
| 66 | { | 68 | { |
| 67 | if (__bos0 (__buf) != (size_t) -1) | 69 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 68 | { | 70 | { |
| 69 | if (!__builtin_constant_p (__n)) | 71 | if (!__builtin_constant_p (__n)) |
| 70 | 	return __recvfrom_chk (__fd, __buf, __n, __bos0 (__buf), __flags, | 72 | 	return __recvfrom_chk (__fd, __buf, __n, __glibc_objsize0 (__buf), |
| 71 | 			 __addr, __addr_len); | 73 | 			 __flags, __addr, __addr_len); |
| 72 | if (__n > __bos0 (__buf)) | 74 | if (__n > __glibc_objsize0 (__buf)) |
| 73 | 	return __recvfrom_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags, | 75 | 	return __recvfrom_chk_warn (__fd, __buf, __n, __glibc_objsize0 (__buf), |
| 74 | 				 __addr, __addr_len); | 76 | 				 __flags, __addr, __addr_len); |
| 75 | } | 77 | } |
| 76 | return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len); | 78 | return __recvfrom_alias (__fd, __buf, __n, __flags, __addr, __addr_len); |
| 77 | } | 79 | } |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for generic Linux. | 1 | /* Define enum __socket_type for generic Linux. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/ss_flags.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* ss_flags values for stack_t. Linux version. | 1 | /* ss_flags values for stack_t. Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stab.def+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Table of DBX symbol codes for the GNU system. | 1 | /* Table of DBX symbol codes for the GNU system. |
| 2 | Copyright (C) 1988, 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1988, 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stat.h+3-206| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -12,7 +12,7 @@ | ... | @@ -12,7 +12,7 @@ |
| 12 | Lesser General Public License for more details. | 12 | Lesser General Public License for more details. |
| 13 | 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | License along with the GNU C Library. If not, see | 15 | License along with the GNU C Library; if not, see |
| 16 | <https://www.gnu.org/licenses/>. */ | 16 | <https://www.gnu.org/licenses/>. */ |
| 17 | 17 | ||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| ... | @@ -22,210 +22,7 @@ | ... | @@ -22,210 +22,7 @@ |
| 22 | #ifndef _BITS_STAT_H | 22 | #ifndef _BITS_STAT_H |
| 23 | #define _BITS_STAT_H	1 | 23 | #define _BITS_STAT_H	1 |
| 24 | 24 | ||
| 25 | #include <sgidefs.h> | 25 | #include <bits/struct_stat.h> |
| 26 | |||
| 27 | /* Versions of the `struct stat' data structure. */ | ||
| 28 | #define _STAT_VER_LINUX_OLD	1 | ||
| 29 | #define _STAT_VER_KERNEL	1 | ||
| 30 | #define _STAT_VER_SVR4		2 | ||
| 31 | #define _STAT_VER_LINUX		3 | ||
| 32 | #define _STAT_VER		_STAT_VER_LINUX /* The one defined below. */ | ||
| 33 | |||
| 34 | /* Versions of the `xmknod' interface. */ | ||
| 35 | #define _MKNOD_VER_LINUX	1 | ||
| 36 | #define _MKNOD_VER_SVR4		2 | ||
| 37 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 38 | |||
| 39 | |||
| 40 | #if _MIPS_SIM == _ABIO32 | ||
| 41 | /* Structure describing file characteristics. */ | ||
| 42 | struct stat | ||
| 43 | { | ||
| 44 | unsigned long int st_dev; | ||
| 45 | long int st_pad1[3]; | ||
| 46 | #ifndef __USE_FILE_OFFSET64 | ||
| 47 | __ino_t st_ino;		/* File serial number.		*/ | ||
| 48 | #else | ||
| 49 | __ino64_t st_ino;		/* File serial number.		*/ | ||
| 50 | #endif | ||
| 51 | __mode_t st_mode;		/* File mode. */ | ||
| 52 | __nlink_t st_nlink;		/* Link count. */ | ||
| 53 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 54 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 55 | unsigned long int st_rdev;	/* Device number, if device. */ | ||
| 56 | #ifndef __USE_FILE_OFFSET64 | ||
| 57 | long int st_pad2[2]; | ||
| 58 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 59 | /* SVR4 added this extra long to allow for expansion of off_t. */ | ||
| 60 | long int st_pad3; | ||
| 61 | #else | ||
| 62 | long int st_pad2[3]; | ||
| 63 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim; /* Time of last access. */ | ||
| 73 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 74 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec /* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 87 | #ifndef __USE_FILE_OFFSET64 | ||
| 88 | __blkcnt_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 89 | #else | ||
| 90 | long int st_pad4; | ||
| 91 | __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 92 | #endif | ||
| 93 | long int st_pad5[14]; | ||
| 94 | }; | ||
| 95 | |||
| 96 | #ifdef __USE_LARGEFILE64 | ||
| 97 | struct stat64 | ||
| 98 | { | ||
| 99 | unsigned long int st_dev; | ||
| 100 | long int st_pad1[3]; | ||
| 101 | __ino64_t st_ino;		/* File serial number.		*/ | ||
| 102 | __mode_t st_mode;		/* File mode. */ | ||
| 103 | __nlink_t st_nlink;		/* Link count. */ | ||
| 104 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 105 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 106 | unsigned long int st_rdev;	/* Device number, if device. */ | ||
| 107 | long int st_pad2[3]; | ||
| 108 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 109 | # ifdef __USE_XOPEN2K8 | ||
| 110 | /* Nanosecond resolution timestamps are stored in a format | ||
| 111 | equivalent to 'struct timespec'. This is the type used | ||
| 112 | whenever possible but the Unix namespace rules do not allow the | ||
| 113 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 114 | Therefore we have to handle the use of this header in strictly | ||
| 115 | standard-compliant sources special. */ | ||
| 116 | struct timespec st_atim; /* Time of last access. */ | ||
| 117 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 118 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 119 | # else | ||
| 120 | __time_t st_atime;			/* Time of last access. */ | ||
| 121 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 122 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 123 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 124 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 125 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 126 | # endif | ||
| 127 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 128 | long int st_pad3; | ||
| 129 | __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 130 | long int st_pad4[14]; | ||
| 131 | }; | ||
| 132 | #endif | ||
| 133 | #else | ||
| 134 | struct stat | ||
| 135 | { | ||
| 136 | __dev_t st_dev; | ||
| 137 | int	st_pad1[3];		/* Reserved for st_dev expansion */ | ||
| 138 | #ifndef __USE_FILE_OFFSET64 | ||
| 139 | __ino_t st_ino; | ||
| 140 | #else | ||
| 141 | __ino64_t st_ino; | ||
| 142 | #endif | ||
| 143 | __mode_t st_mode; | ||
| 144 | __nlink_t st_nlink; | ||
| 145 | __uid_t st_uid; | ||
| 146 | __gid_t st_gid; | ||
| 147 | __dev_t st_rdev; | ||
| 148 | #if !defined __USE_FILE_OFFSET64 | ||
| 149 | unsigned int st_pad2[2];	/* Reserved for st_rdev expansion */ | ||
| 150 | __off_t st_size; | ||
| 151 | int st_pad3; | ||
| 152 | #else | ||
| 153 | unsigned int st_pad2[3];	/* Reserved for st_rdev expansion */ | ||
| 154 | __off64_t st_size; | ||
| 155 | #endif | ||
| 156 | #ifdef __USE_XOPEN2K8 | ||
| 157 | /* Nanosecond resolution timestamps are stored in a format | ||
| 158 | equivalent to 'struct timespec'. This is the type used | ||
| 159 | whenever possible but the Unix namespace rules do not allow the | ||
| 160 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 161 | Therefore we have to handle the use of this header in strictly | ||
| 162 | standard-compliant sources special. */ | ||
| 163 | struct timespec st_atim; /* Time of last access. */ | ||
| 164 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 165 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 166 | # define st_atime st_atim.tv_sec /* Backward compatibility. */ | ||
| 167 | # define st_mtime st_mtim.tv_sec | ||
| 168 | # define st_ctime st_ctim.tv_sec | ||
| 169 | #else | ||
| 170 | __time_t st_atime;			/* Time of last access. */ | ||
| 171 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 172 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 173 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 174 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 175 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 176 | #endif | ||
| 177 | __blksize_t st_blksize; | ||
| 178 | unsigned int st_pad4; | ||
| 179 | #ifndef __USE_FILE_OFFSET64 | ||
| 180 | __blkcnt_t st_blocks; | ||
| 181 | #else | ||
| 182 | __blkcnt64_t st_blocks; | ||
| 183 | #endif | ||
| 184 | int st_pad5[14]; | ||
| 185 | }; | ||
| 186 | |||
| 187 | #ifdef __USE_LARGEFILE64 | ||
| 188 | struct stat64 | ||
| 189 | { | ||
| 190 | __dev_t st_dev; | ||
| 191 | unsigned int st_pad1[3];	/* Reserved for st_dev expansion */ | ||
| 192 | __ino64_t st_ino; | ||
| 193 | __mode_t st_mode; | ||
| 194 | __nlink_t st_nlink; | ||
| 195 | __uid_t st_uid; | ||
| 196 | __gid_t st_gid; | ||
| 197 | __dev_t st_rdev; | ||
| 198 | unsigned int st_pad2[3];	/* Reserved for st_rdev expansion */ | ||
| 199 | __off64_t st_size; | ||
| 200 | # ifdef __USE_XOPEN2K8 | ||
| 201 | /* Nanosecond resolution timestamps are stored in a format | ||
| 202 | equivalent to 'struct timespec'. This is the type used | ||
| 203 | whenever possible but the Unix namespace rules do not allow the | ||
| 204 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 205 | Therefore we have to handle the use of this header in strictly | ||
| 206 | standard-compliant sources special. */ | ||
| 207 | struct timespec st_atim; /* Time of last access. */ | ||
| 208 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 209 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 210 | # else | ||
| 211 | __time_t st_atime;			/* Time of last access. */ | ||
| 212 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 213 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 214 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 215 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 216 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 217 | # endif | ||
| 218 | __blksize_t st_blksize; | ||
| 219 | unsigned int st_pad3; | ||
| 220 | __blkcnt64_t st_blocks; | ||
| 221 | int st_pad4[14]; | ||
| 222 | }; | ||
| 223 | #endif | ||
| 224 | #endif | ||
| 225 | |||
| 226 | /* Tell code we have these members. */ | ||
| 227 | #define	_STATBUF_ST_BLKSIZE | ||
| 228 | #define	_STATBUF_ST_RDEV | ||
| 229 | 26 | ||
| 230 | /* Encoding of the file mode. */ | 27 | /* Encoding of the file mode. */ |
| 231 | 28 |
lib/libc/include/generic-glibc/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/statvfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/statx-generic.h+4-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic statx-related definitions and declarations. | 1 | /* Generic statx-related definitions and declarations. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -40,6 +40,7 @@ | ... | @@ -40,6 +40,7 @@ |
| 40 | # define STATX_BASIC_STATS 0x07ffU | 40 | # define STATX_BASIC_STATS 0x07ffU |
| 41 | # define STATX_ALL 0x0fffU | 41 | # define STATX_ALL 0x0fffU |
| 42 | # define STATX_BTIME 0x0800U | 42 | # define STATX_BTIME 0x0800U |
| 43 | # define STATX_MNT_ID 0x1000U | ||
| 43 | # define STATX__RESERVED 0x80000000U | 44 | # define STATX__RESERVED 0x80000000U |
| 44 | 45 | ||
| 45 | # define STATX_ATTR_COMPRESSED 0x0004 | 46 | # define STATX_ATTR_COMPRESSED 0x0004 |
| ... | @@ -48,7 +49,9 @@ | ... | @@ -48,7 +49,9 @@ |
| 48 | # define STATX_ATTR_NODUMP 0x0040 | 49 | # define STATX_ATTR_NODUMP 0x0040 |
| 49 | # define STATX_ATTR_ENCRYPTED 0x0800 | 50 | # define STATX_ATTR_ENCRYPTED 0x0800 |
| 50 | # define STATX_ATTR_AUTOMOUNT 0x1000 | 51 | # define STATX_ATTR_AUTOMOUNT 0x1000 |
| 52 | # define STATX_ATTR_MOUNT_ROOT 0x2000 | ||
| 51 | # define STATX_ATTR_VERITY 0x100000 | 53 | # define STATX_ATTR_VERITY 0x100000 |
| 54 | # define STATX_ATTR_DAX 0x200000 | ||
| 52 | #endif /* !STATX_TYPE */ | 55 | #endif /* !STATX_TYPE */ |
| 53 | 56 | ||
| 54 | __BEGIN_DECLS | 57 | __BEGIN_DECLS |
lib/libc/include/generic-glibc/bits/statx.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* statx-related definitions and declarations. Linux version. | 1 | /* statx-related definitions and declarations. Linux version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdint-intn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define intN_t types. | 1 | /* Define intN_t types. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdint-uintn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define uintN_t types. | 1 | /* Define uintN_t types. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdio-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for stdio functions. | 1 | /* -mlong-double-64 compatibility mode for stdio functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdio.h+4-4| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Optimizing macros and inline functions for stdio functions. | 1 | /* Optimizing macros and inline functions for stdio functions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | #ifdef __USE_EXTERN_INLINES | 33 | #ifdef __USE_EXTERN_INLINES |
| 34 | /* For -D_FORTIFY_SOURCE{,=2} bits/stdio2.h will define a different | 34 | /* For -D_FORTIFY_SOURCE{,=2,=3} bits/stdio2.h will define a different |
| 35 | inline. */ | 35 | inline. */ |
| 36 | # if !(__USE_FORTIFY_LEVEL > 0 && defined __fortify_function) | 36 | # if !(__USE_FORTIFY_LEVEL > 0 && defined __fortify_function) |
| 37 | /* Write formatted output to stdout from argument list ARG. */ | 37 | /* Write formatted output to stdout from argument list ARG. */ |
| ... | @@ -60,7 +60,7 @@ fgetc_unlocked (FILE *__fp) | ... | @@ -60,7 +60,7 @@ fgetc_unlocked (FILE *__fp) |
| 60 | # endif /* misc */ | 60 | # endif /* misc */ |
| 61 | 61 | ||
| 62 | 62 | ||
| 63 | # ifdef __USE_POSIX | 63 | # ifdef __USE_POSIX199506 |
| 64 | /* This is defined in POSIX.1:1996. */ | 64 | /* This is defined in POSIX.1:1996. */ |
| 65 | __STDIO_INLINE int | 65 | __STDIO_INLINE int |
| 66 | getc_unlocked (FILE *__fp) | 66 | getc_unlocked (FILE *__fp) |
| ... | @@ -95,7 +95,7 @@ fputc_unlocked (int __c, FILE *__stream) | ... | @@ -95,7 +95,7 @@ fputc_unlocked (int __c, FILE *__stream) |
| 95 | # endif /* misc */ | 95 | # endif /* misc */ |
| 96 | 96 | ||
| 97 | 97 | ||
| 98 | # ifdef __USE_POSIX | 98 | # ifdef __USE_POSIX199506 |
| 99 | /* This is defined in POSIX.1:1996. */ | 99 | /* This is defined in POSIX.1:1996. */ |
| 100 | __STDIO_INLINE int | 100 | __STDIO_INLINE int |
| 101 | putc_unlocked (int __c, FILE *__stream) | 101 | putc_unlocked (int __c, FILE *__stream) |
lib/libc/include/generic-glibc/bits/stdio2.h+35-29| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for stdio functions. | 1 | /* Checking macros for stdio functions. |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -36,12 +36,13 @@ __fortify_function int | ... | @@ -36,12 +36,13 @@ __fortify_function int |
| 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) |
| 37 | { | 37 | { |
| 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, |
| 39 | 				 __bos (__s), __fmt, __va_arg_pack ()); | 39 | 				 __glibc_objsize (__s), __fmt, |
| 40 | 				 __va_arg_pack ()); | ||
| 40 | } | 41 | } |
| 41 | #elif !defined __cplusplus | 42 | #elif !defined __cplusplus |
| 42 | # define sprintf(str, ...) \ | 43 | # define sprintf(str, ...) \ |
| 43 | __builtin___sprintf_chk (str, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | 44 | __builtin___sprintf_chk (str, __USE_FORTIFY_LEVEL - 1,		 \ |
| 44 | 			 __VA_ARGS__) | 45 | 			 __glibc_objsize (str), __VA_ARGS__) |
| 45 | #endif | 46 | #endif |
| 46 | 47 | ||
| 47 | __fortify_function int | 48 | __fortify_function int |
| ... | @@ -49,7 +50,7 @@ __NTH (vsprintf (char *__restrict __s, const char *__restrict __fmt, | ... | @@ -49,7 +50,7 @@ __NTH (vsprintf (char *__restrict __s, const char *__restrict __fmt, |
| 49 | 		 __gnuc_va_list __ap)) | 50 | 		 __gnuc_va_list __ap)) |
| 50 | { | 51 | { |
| 51 | return __builtin___vsprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | 52 | return __builtin___vsprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, |
| 52 | 				 __bos (__s), __fmt, __ap); | 53 | 				 __glibc_objsize (__s), __fmt, __ap); |
| 53 | } | 54 | } |
| 54 | 55 | ||
| 55 | #if defined __USE_ISOC99 || defined __USE_UNIX98 | 56 | #if defined __USE_ISOC99 || defined __USE_UNIX98 |
| ... | @@ -68,12 +69,13 @@ __NTH (snprintf (char *__restrict __s, size_t __n, | ... | @@ -68,12 +69,13 @@ __NTH (snprintf (char *__restrict __s, size_t __n, |
| 68 | 		 const char *__restrict __fmt, ...)) | 69 | 		 const char *__restrict __fmt, ...)) |
| 69 | { | 70 | { |
| 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, |
| 71 | 				 __bos (__s), __fmt, __va_arg_pack ()); | 72 | 				 __glibc_objsize (__s), __fmt, |
| 73 | 				 __va_arg_pack ()); | ||
| 72 | } | 74 | } |
| 73 | # elif !defined __cplusplus | 75 | # elif !defined __cplusplus |
| 74 | # define snprintf(str, len, ...) \ | 76 | # define snprintf(str, len, ...) \ |
| 75 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, __bos (str), \ | 77 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1,		 \ |
| 76 | 			 __VA_ARGS__) | 78 | 			 __glibc_objsize (str), __VA_ARGS__) |
| 77 | # endif | 79 | # endif |
| 78 | 80 | ||
| 79 | __fortify_function int | 81 | __fortify_function int |
| ... | @@ -81,7 +83,7 @@ __NTH (vsnprintf (char *__restrict __s, size_t __n, | ... | @@ -81,7 +83,7 @@ __NTH (vsnprintf (char *__restrict __s, size_t __n, |
| 81 | 		 const char *__restrict __fmt, __gnuc_va_list __ap)) | 83 | 		 const char *__restrict __fmt, __gnuc_va_list __ap)) |
| 82 | { | 84 | { |
| 83 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | 85 | return __builtin___vsnprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, |
| 84 | 				 __bos (__s), __fmt, __ap); | 86 | 				 __glibc_objsize (__s), __fmt, __ap); |
| 85 | } | 87 | } |
| 86 | 88 | ||
| 87 | #endif | 89 | #endif |
| ... | @@ -237,8 +239,8 @@ extern char *__REDIRECT (__gets_warn, (char *__str), gets) | ... | @@ -237,8 +239,8 @@ extern char *__REDIRECT (__gets_warn, (char *__str), gets) |
| 237 | __fortify_function __wur char * | 239 | __fortify_function __wur char * |
| 238 | gets (char *__str) | 240 | gets (char *__str) |
| 239 | { | 241 | { |
| 240 | if (__bos (__str) != (size_t) -1) | 242 | if (__glibc_objsize (__str) != (size_t) -1) |
| 241 | return __gets_chk (__str, __bos (__str)); | 243 | return __gets_chk (__str, __glibc_objsize (__str)); |
| 242 | return __gets_warn (__str); | 244 | return __gets_warn (__str); |
| 243 | } | 245 | } |
| 244 | #endif | 246 | #endif |
| ... | @@ -259,13 +261,13 @@ extern char *__REDIRECT (__fgets_chk_warn, | ... | @@ -259,13 +261,13 @@ extern char *__REDIRECT (__fgets_chk_warn, |
| 259 | __fortify_function __wur __attr_access ((__write_only__, 1, 2)) char * | 261 | __fortify_function __wur __attr_access ((__write_only__, 1, 2)) char * |
| 260 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | 262 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) |
| 261 | { | 263 | { |
| 262 | if (__bos (__s) != (size_t) -1) | 264 | if (__glibc_objsize (__s) != (size_t) -1) |
| 263 | { | 265 | { |
| 264 | if (!__builtin_constant_p (__n) || __n <= 0) | 266 | if (!__builtin_constant_p (__n) || __n <= 0) |
| 265 | 	return __fgets_chk (__s, __bos (__s), __n, __stream); | 267 | 	return __fgets_chk (__s, __glibc_objsize (__s), __n, __stream); |
| 266 | 268 | ||
| 267 | if ((size_t) __n > __bos (__s)) | 269 | if ((size_t) __n > __glibc_objsize (__s)) |
| 268 | 	return __fgets_chk_warn (__s, __bos (__s), __n, __stream); | 270 | 	return __fgets_chk_warn (__s, __glibc_objsize (__s), __n, __stream); |
| 269 | } | 271 | } |
| 270 | return __fgets_alias (__s, __n, __stream); | 272 | return __fgets_alias (__s, __n, __stream); |
| 271 | } | 273 | } |
| ... | @@ -289,15 +291,17 @@ __fortify_function __wur size_t | ... | @@ -289,15 +291,17 @@ __fortify_function __wur size_t |
| 289 | fread (void *__restrict __ptr, size_t __size, size_t __n, | 291 | fread (void *__restrict __ptr, size_t __size, size_t __n, |
| 290 | FILE *__restrict __stream) | 292 | FILE *__restrict __stream) |
| 291 | { | 293 | { |
| 292 | if (__bos0 (__ptr) != (size_t) -1) | 294 | if (__glibc_objsize0 (__ptr) != (size_t) -1) |
| 293 | { | 295 | { |
| 294 | if (!__builtin_constant_p (__size) | 296 | if (!__builtin_constant_p (__size) |
| 295 | 	 || !__builtin_constant_p (__n) | 297 | 	 || !__builtin_constant_p (__n) |
| 296 | 	 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) | 298 | 	 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) |
| 297 | 	return __fread_chk (__ptr, __bos0 (__ptr), __size, __n, __stream); | 299 | 	return __fread_chk (__ptr, __glibc_objsize0 (__ptr), __size, __n, |
| 300 | 			 __stream); | ||
| 298 | 301 | ||
| 299 | if (__size * __n > __bos0 (__ptr)) | 302 | if (__size * __n > __glibc_objsize0 (__ptr)) |
| 300 | 	return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); | 303 | 	return __fread_chk_warn (__ptr, __glibc_objsize0 (__ptr), __size, __n, |
| 304 | 				 __stream); | ||
| 301 | } | 305 | } |
| 302 | return __fread_alias (__ptr, __size, __n, __stream); | 306 | return __fread_alias (__ptr, __size, __n, __stream); |
| 303 | } | 307 | } |
| ... | @@ -319,13 +323,15 @@ extern char *__REDIRECT (__fgets_unlocked_chk_warn, | ... | @@ -319,13 +323,15 @@ extern char *__REDIRECT (__fgets_unlocked_chk_warn, |
| 319 | __fortify_function __wur __attr_access ((__write_only__, 1, 2)) char * | 323 | __fortify_function __wur __attr_access ((__write_only__, 1, 2)) char * |
| 320 | fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) | 324 | fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) |
| 321 | { | 325 | { |
| 322 | if (__bos (__s) != (size_t) -1) | 326 | if (__glibc_objsize (__s) != (size_t) -1) |
| 323 | { | 327 | { |
| 324 | if (!__builtin_constant_p (__n) || __n <= 0) | 328 | if (!__builtin_constant_p (__n) || __n <= 0) |
| 325 | 	return __fgets_unlocked_chk (__s, __bos (__s), __n, __stream); | 329 | 	return __fgets_unlocked_chk (__s, __glibc_objsize (__s), __n, |
| 330 | 				 __stream); | ||
| 326 | 331 | ||
| 327 | if ((size_t) __n > __bos (__s)) | 332 | if ((size_t) __n > __glibc_objsize (__s)) |
| 328 | 	return __fgets_unlocked_chk_warn (__s, __bos (__s), __n, __stream); | 333 | 	return __fgets_unlocked_chk_warn (__s, __glibc_objsize (__s), __n, |
| 334 | 					 __stream); | ||
| 329 | } | 335 | } |
| 330 | return __fgets_unlocked_alias (__s, __n, __stream); | 336 | return __fgets_unlocked_alias (__s, __n, __stream); |
| 331 | } | 337 | } |
| ... | @@ -352,17 +358,17 @@ __fortify_function __wur size_t | ... | @@ -352,17 +358,17 @@ __fortify_function __wur size_t |
| 352 | fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, | 358 | fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, |
| 353 | 		FILE *__restrict __stream) | 359 | 		FILE *__restrict __stream) |
| 354 | { | 360 | { |
| 355 | if (__bos0 (__ptr) != (size_t) -1) | 361 | if (__glibc_objsize0 (__ptr) != (size_t) -1) |
| 356 | { | 362 | { |
| 357 | if (!__builtin_constant_p (__size) | 363 | if (!__builtin_constant_p (__size) |
| 358 | 	 || !__builtin_constant_p (__n) | 364 | 	 || !__builtin_constant_p (__n) |
| 359 | 	 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) | 365 | 	 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2))) |
| 360 | 	return __fread_unlocked_chk (__ptr, __bos0 (__ptr), __size, __n, | 366 | 	return __fread_unlocked_chk (__ptr, __glibc_objsize0 (__ptr), __size, |
| 361 | 				 __stream); | 367 | 				 __n, __stream); |
| 362 | 368 | ||
| 363 | if (__size * __n > __bos0 (__ptr)) | 369 | if (__size * __n > __glibc_objsize0 (__ptr)) |
| 364 | 	return __fread_unlocked_chk_warn (__ptr, __bos0 (__ptr), __size, __n, | 370 | 	return __fread_unlocked_chk_warn (__ptr, __glibc_objsize0 (__ptr), |
| 365 | 					 __stream); | 371 | 					 __size, __n, __stream); |
| 366 | } | 372 | } |
| 367 | 373 | ||
| 368 | # ifdef __USE_EXTERN_INLINES | 374 | # ifdef __USE_EXTERN_INLINES |
lib/libc/include/generic-glibc/bits/stdio_lim.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdlib-bsearch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Perform binary search - inline version. | 1 | /* Perform binary search - inline version. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdlib-float.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Floating-point inline functions for stdlib.h. | 1 | /* Floating-point inline functions for stdlib.h. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdlib-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for <stdlib.h> functions. | 1 | /* -mlong-double-64 compatibility mode for <stdlib.h> functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/stdlib.h+25-19| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for stdlib functions. | 1 | /* Checking macros for stdlib functions. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -36,13 +36,14 @@ extern char *__REDIRECT_NTH (__realpath_chk_warn, | ... | @@ -36,13 +36,14 @@ extern char *__REDIRECT_NTH (__realpath_chk_warn, |
| 36 | __fortify_function __wur char * | 36 | __fortify_function __wur char * |
| 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) | 37 | __NTH (realpath (const char *__restrict __name, char *__restrict __resolved)) |
| 38 | { | 38 | { |
| 39 | if (__bos (__resolved) != (size_t) -1) | 39 | if (__glibc_objsize (__resolved) != (size_t) -1) |
| 40 | { | 40 | { |
| 41 | #if defined _LIBC_LIMITS_H_ && defined PATH_MAX | 41 | #if defined _LIBC_LIMITS_H_ && defined PATH_MAX |
| 42 | if (__bos (__resolved) < PATH_MAX) | 42 | if (__glibc_objsize (__resolved) < PATH_MAX) |
| 43 | 	return __realpath_chk_warn (__name, __resolved, __bos (__resolved)); | 43 | 	return __realpath_chk_warn (__name, __resolved, |
| 44 | 				 __glibc_objsize (__resolved)); | ||
| 44 | #endif | 45 | #endif |
| 45 | return __realpath_chk (__name, __resolved, __bos (__resolved)); | 46 | return __realpath_chk (__name, __resolved, __glibc_objsize (__resolved)); |
| 46 | } | 47 | } |
| 47 | 48 | ||
| 48 | return __realpath_alias (__name, __resolved); | 49 | return __realpath_alias (__name, __resolved); |
| ... | @@ -64,12 +65,14 @@ extern int __REDIRECT_NTH (__ptsname_r_chk_warn, | ... | @@ -64,12 +65,14 @@ extern int __REDIRECT_NTH (__ptsname_r_chk_warn, |
| 64 | __fortify_function int | 65 | __fortify_function int |
| 65 | __NTH (ptsname_r (int __fd, char *__buf, size_t __buflen)) | 66 | __NTH (ptsname_r (int __fd, char *__buf, size_t __buflen)) |
| 66 | { | 67 | { |
| 67 | if (__bos (__buf) != (size_t) -1) | 68 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 68 | { | 69 | { |
| 69 | if (!__builtin_constant_p (__buflen)) | 70 | if (!__builtin_constant_p (__buflen)) |
| 70 | 	return __ptsname_r_chk (__fd, __buf, __buflen, __bos (__buf)); | 71 | 	return __ptsname_r_chk (__fd, __buf, __buflen, |
| 71 | if (__buflen > __bos (__buf)) | 72 | 				__glibc_objsize (__buf)); |
| 72 | 	return __ptsname_r_chk_warn (__fd, __buf, __buflen, __bos (__buf)); | 73 | if (__buflen > __glibc_objsize (__buf)) |
| 74 | 	return __ptsname_r_chk_warn (__fd, __buf, __buflen, | ||
| 75 | 				 __glibc_objsize (__buf)); | ||
| 73 | } | 76 | } |
| 74 | return __ptsname_r_alias (__fd, __buf, __buflen); | 77 | return __ptsname_r_alias (__fd, __buf, __buflen); |
| 75 | } | 78 | } |
| ... | @@ -90,8 +93,9 @@ __NTH (wctomb (char *__s, wchar_t __wchar)) | ... | @@ -90,8 +93,9 @@ __NTH (wctomb (char *__s, wchar_t __wchar)) |
| 90 | #if defined MB_LEN_MAX && MB_LEN_MAX != __STDLIB_MB_LEN_MAX | 93 | #if defined MB_LEN_MAX && MB_LEN_MAX != __STDLIB_MB_LEN_MAX |
| 91 | # error "Assumed value of MB_LEN_MAX wrong" | 94 | # error "Assumed value of MB_LEN_MAX wrong" |
| 92 | #endif | 95 | #endif |
| 93 | if (__bos (__s) != (size_t) -1 && __STDLIB_MB_LEN_MAX > __bos (__s)) | 96 | if (__glibc_objsize (__s) != (size_t) -1 |
| 94 | return __wctomb_chk (__s, __wchar, __bos (__s)); | 97 | && __STDLIB_MB_LEN_MAX > __glibc_objsize (__s)) |
| 98 | return __wctomb_chk (__s, __wchar, __glibc_objsize (__s)); | ||
| 95 | return __wctomb_alias (__s, __wchar); | 99 | return __wctomb_alias (__s, __wchar); |
| 96 | } | 100 | } |
| 97 | 101 | ||
| ... | @@ -116,15 +120,16 @@ __fortify_function size_t | ... | @@ -116,15 +120,16 @@ __fortify_function size_t |
| 116 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, | 120 | __NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, |
| 117 | 		 size_t __len)) | 121 | 		 size_t __len)) |
| 118 | { | 122 | { |
| 119 | if (__bos (__dst) != (size_t) -1) | 123 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 120 | { | 124 | { |
| 121 | if (!__builtin_constant_p (__len)) | 125 | if (!__builtin_constant_p (__len)) |
| 122 | 	return __mbstowcs_chk (__dst, __src, __len, | 126 | 	return __mbstowcs_chk (__dst, __src, __len, |
| 123 | 			 __bos (__dst) / sizeof (wchar_t)); | 127 | 			 __glibc_objsize (__dst) / sizeof (wchar_t)); |
| 124 | 128 | ||
| 125 | if (__len > __bos (__dst) / sizeof (wchar_t)) | 129 | if (__len > __glibc_objsize (__dst) / sizeof (wchar_t)) |
| 126 | 	return __mbstowcs_chk_warn (__dst, __src, __len, | 130 | 	return __mbstowcs_chk_warn (__dst, __src, __len, |
| 127 | 				 __bos (__dst) / sizeof (wchar_t)); | 131 | 				 (__glibc_objsize (__dst) |
| 132 | 				 / sizeof (wchar_t))); | ||
| 128 | } | 133 | } |
| 129 | return __mbstowcs_alias (__dst, __src, __len); | 134 | return __mbstowcs_alias (__dst, __src, __len); |
| 130 | } | 135 | } |
| ... | @@ -149,12 +154,13 @@ __fortify_function size_t | ... | @@ -149,12 +154,13 @@ __fortify_function size_t |
| 149 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, | 154 | __NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, |
| 150 | 		 size_t __len)) | 155 | 		 size_t __len)) |
| 151 | { | 156 | { |
| 152 | if (__bos (__dst) != (size_t) -1) | 157 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 153 | { | 158 | { |
| 154 | if (!__builtin_constant_p (__len)) | 159 | if (!__builtin_constant_p (__len)) |
| 155 | 	return __wcstombs_chk (__dst, __src, __len, __bos (__dst)); | 160 | 	return __wcstombs_chk (__dst, __src, __len, __glibc_objsize (__dst)); |
| 156 | if (__len > __bos (__dst)) | 161 | if (__len > __glibc_objsize (__dst)) |
| 157 | 	return __wcstombs_chk_warn (__dst, __src, __len, __bos (__dst)); | 162 | 	return __wcstombs_chk_warn (__dst, __src, __len, |
| 163 | 				 __glibc_objsize (__dst)); | ||
| 158 | } | 164 | } |
| 159 | return __wcstombs_alias (__dst, __src, __len); | 165 | return __wcstombs_alias (__dst, __src, __len); |
| 160 | } | 166 | } |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/string_fortified.h+26-27| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -22,22 +22,19 @@ | ... | @@ -22,22 +22,19 @@ |
| 22 | # error "Never use <bits/string_fortified.h> directly; include <string.h> instead." | 22 | # error "Never use <bits/string_fortified.h> directly; include <string.h> instead." |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | #if !__GNUC_PREREQ (5,0) | ||
| 26 | __warndecl (__warn_memset_zero_len, | ||
| 27 | 	 "memset used with constant zero length parameter; this could be due to transposed parameters"); | ||
| 28 | #endif | ||
| 29 | |||
| 30 | __fortify_function void * | 25 | __fortify_function void * |
| 31 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, |
| 32 | 	 size_t __len)) | 27 | 	 size_t __len)) |
| 33 | { | 28 | { |
| 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | 29 | return __builtin___memcpy_chk (__dest, __src, __len, |
| 30 | 				 __glibc_objsize0 (__dest)); | ||
| 35 | } | 31 | } |
| 36 | 32 | ||
| 37 | __fortify_function void * | 33 | __fortify_function void * |
| 38 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) | 34 | __NTH (memmove (void *__dest, const void *__src, size_t __len)) |
| 39 | { | 35 | { |
| 40 | return __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); | 36 | return __builtin___memmove_chk (__dest, __src, __len, |
| 37 | 				 __glibc_objsize0 (__dest)); | ||
| 41 | } | 38 | } |
| 42 | 39 | ||
| 43 | #ifdef __USE_GNU | 40 | #ifdef __USE_GNU |
| ... | @@ -45,7 +42,8 @@ __fortify_function void * | ... | @@ -45,7 +42,8 @@ __fortify_function void * |
| 45 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | 42 | __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, |
| 46 | 		size_t __len)) | 43 | 		size_t __len)) |
| 47 | { | 44 | { |
| 48 | return __builtin___mempcpy_chk (__dest, __src, __len, __bos0 (__dest)); | 45 | return __builtin___mempcpy_chk (__dest, __src, __len, |
| 46 | 				 __glibc_objsize0 (__dest)); | ||
| 49 | } | 47 | } |
| 50 | #endif | 48 | #endif |
| 51 | 49 | ||
| ... | @@ -58,17 +56,8 @@ __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, | ... | @@ -58,17 +56,8 @@ __NTH (mempcpy (void *__restrict __dest, const void *__restrict __src, |
| 58 | __fortify_function void * | 56 | __fortify_function void * |
| 59 | __NTH (memset (void *__dest, int __ch, size_t __len)) | 57 | __NTH (memset (void *__dest, int __ch, size_t __len)) |
| 60 | { | 58 | { |
| 61 | /* GCC-5.0 and newer implements these checks in the compiler, so we don't | 59 | return __builtin___memset_chk (__dest, __ch, __len, |
| 62 | need them here. */ | 60 | 				 __glibc_objsize0 (__dest)); |
| 63 | #if !__GNUC_PREREQ (5,0) | ||
| 64 | if (__builtin_constant_p (__len) && __len == 0 | ||
| 65 | && (!__builtin_constant_p (__ch) || __ch != 0)) | ||
| 66 | { | ||
| 67 | __warn_memset_zero_len (); | ||
| 68 | return __dest; | ||
| 69 | } | ||
| 70 | #endif | ||
| 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ||
| 72 | } | 61 | } |
| 73 | 62 | ||
| 74 | #ifdef __USE_MISC | 63 | #ifdef __USE_MISC |
| ... | @@ -80,21 +69,21 @@ void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen) | ... | @@ -80,21 +69,21 @@ void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen) |
| 80 | __fortify_function void | 69 | __fortify_function void |
| 81 | __NTH (explicit_bzero (void *__dest, size_t __len)) | 70 | __NTH (explicit_bzero (void *__dest, size_t __len)) |
| 82 | { | 71 | { |
| 83 | __explicit_bzero_chk (__dest, __len, __bos0 (__dest)); | 72 | __explicit_bzero_chk (__dest, __len, __glibc_objsize0 (__dest)); |
| 84 | } | 73 | } |
| 85 | #endif | 74 | #endif |
| 86 | 75 | ||
| 87 | __fortify_function char * | 76 | __fortify_function char * |
| 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) |
| 89 | { | 78 | { |
| 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); | 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); |
| 91 | } | 80 | } |
| 92 | 81 | ||
| 93 | #ifdef __USE_GNU | 82 | #ifdef __USE_GNU |
| 94 | __fortify_function char * | 83 | __fortify_function char * |
| 95 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) | 84 | __NTH (stpcpy (char *__restrict __dest, const char *__restrict __src)) |
| 96 | { | 85 | { |
| 97 | return __builtin___stpcpy_chk (__dest, __src, __bos (__dest)); | 86 | return __builtin___stpcpy_chk (__dest, __src, __glibc_objsize (__dest)); |
| 98 | } | 87 | } |
| 99 | #endif | 88 | #endif |
| 100 | 89 | ||
| ... | @@ -103,10 +92,18 @@ __fortify_function char * | ... | @@ -103,10 +92,18 @@ __fortify_function char * |
| 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, |
| 104 | 		size_t __len)) | 93 | 		size_t __len)) |
| 105 | { | 94 | { |
| 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | 95 | return __builtin___strncpy_chk (__dest, __src, __len, |
| 96 | 				 __glibc_objsize (__dest)); | ||
| 107 | } | 97 | } |
| 108 | 98 | ||
| 109 | /* XXX We have no corresponding builtin yet. */ | 99 | #if __GNUC_PREREQ (4, 7) || __glibc_clang_prereq (2, 6) |
| 100 | __fortify_function char * | ||
| 101 | __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ||
| 102 | { | ||
| 103 | return __builtin___stpncpy_chk (__dest, __src, __n, | ||
| 104 | 				 __glibc_objsize (__dest)); | ||
| 105 | } | ||
| 106 | #else | ||
| 110 | extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, | 107 | extern char *__stpncpy_chk (char *__dest, const char *__src, size_t __n, |
| 111 | 			 size_t __destlen) __THROW | 108 | 			 size_t __destlen) __THROW |
| 112 | __attr_access ((__write_only__, 1, 3)) __attr_access ((__read_only__, 2)); | 109 | __attr_access ((__write_only__, 1, 3)) __attr_access ((__read_only__, 2)); |
| ... | @@ -121,12 +118,13 @@ __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) | ... | @@ -121,12 +118,13 @@ __NTH (stpncpy (char *__dest, const char *__src, size_t __n)) |
| 121 | return __stpncpy_chk (__dest, __src, __n, __bos (__dest)); | 118 | return __stpncpy_chk (__dest, __src, __n, __bos (__dest)); |
| 122 | return __stpncpy_alias (__dest, __src, __n); | 119 | return __stpncpy_alias (__dest, __src, __n); |
| 123 | } | 120 | } |
| 121 | #endif | ||
| 124 | 122 | ||
| 125 | 123 | ||
| 126 | __fortify_function char * | 124 | __fortify_function char * |
| 127 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | 125 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) |
| 128 | { | 126 | { |
| 129 | return __builtin___strcat_chk (__dest, __src, __bos (__dest)); | 127 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); |
| 130 | } | 128 | } |
| 131 | 129 | ||
| 132 | 130 | ||
| ... | @@ -134,7 +132,8 @@ __fortify_function char * | ... | @@ -134,7 +132,8 @@ __fortify_function char * |
| 134 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, | 132 | __NTH (strncat (char *__restrict __dest, const char *__restrict __src, |
| 135 | 		size_t __len)) | 133 | 		size_t __len)) |
| 136 | { | 134 | { |
| 137 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | 135 | return __builtin___strncat_chk (__dest, __src, __len, |
| 136 | 				 __glibc_objsize (__dest)); | ||
| 138 | } | 137 | } |
| 139 | 138 | ||
| 140 | #endif /* bits/string_fortified.h */ | 139 | #endif /* bits/string_fortified.h */ |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/strings_fortified.h+5-3| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Fortify macros for strings.h functions. | 1 | /* Fortify macros for strings.h functions. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -22,13 +22,15 @@ | ... | @@ -22,13 +22,15 @@ |
| 22 | __fortify_function void | 22 | __fortify_function void |
| 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) | 23 | __NTH (bcopy (const void *__src, void *__dest, size_t __len)) |
| 24 | { | 24 | { |
| 25 | (void) __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); | 25 | (void) __builtin___memmove_chk (__dest, __src, __len, |
| 26 | 				 __glibc_objsize0 (__dest)); | ||
| 26 | } | 27 | } |
| 27 | 28 | ||
| 28 | __fortify_function void | 29 | __fortify_function void |
| 29 | __NTH (bzero (void *__dest, size_t __len)) | 30 | __NTH (bzero (void *__dest, size_t __len)) |
| 30 | { | 31 | { |
| 31 | (void) __builtin___memset_chk (__dest, '\0', __len, __bos0 (__dest)); | 32 | (void) __builtin___memset_chk (__dest, '\0', __len, |
| 33 | 				 __glibc_objsize0 (__dest)); | ||
| 32 | } | 34 | } |
| 33 | 35 | ||
| 34 | #endif | 36 | #endif |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Default mutex implementation struct definitions. | 1 | /* Default mutex implementation struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal rwlock struct definitions. | 1 | /* MIPS internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/struct_stat.h created+218| ... | @@ -0,0 +1,218 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <sgidefs.h> | ||
| 27 | |||
| 28 | #if _MIPS_SIM == _ABIO32 | ||
| 29 | /* Structure describing file characteristics. */ | ||
| 30 | struct stat | ||
| 31 | { | ||
| 32 | unsigned long int st_dev; | ||
| 33 | long int st_pad1[3]; | ||
| 34 | #ifndef __USE_FILE_OFFSET64 | ||
| 35 | __ino_t st_ino;		/* File serial number.		*/ | ||
| 36 | #else | ||
| 37 | __ino64_t st_ino;		/* File serial number.		*/ | ||
| 38 | #endif | ||
| 39 | __mode_t st_mode;		/* File mode. */ | ||
| 40 | __nlink_t st_nlink;		/* Link count. */ | ||
| 41 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 42 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 43 | unsigned long int st_rdev;	/* Device number, if device. */ | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | long int st_pad2[2]; | ||
| 46 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 47 | /* SVR4 added this extra long to allow for expansion of off_t. */ | ||
| 48 | long int st_pad3; | ||
| 49 | #else | ||
| 50 | long int st_pad2[3]; | ||
| 51 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 52 | #endif | ||
| 53 | #ifdef __USE_XOPEN2K8 | ||
| 54 | /* Nanosecond resolution timestamps are stored in a format | ||
| 55 | equivalent to 'struct timespec'. This is the type used | ||
| 56 | whenever possible but the Unix namespace rules do not allow the | ||
| 57 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 58 | Therefore we have to handle the use of this header in strictly | ||
| 59 | standard-compliant sources special. */ | ||
| 60 | struct timespec st_atim; /* Time of last access. */ | ||
| 61 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 62 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 63 | # define st_atime st_atim.tv_sec /* Backward compatibility. */ | ||
| 64 | # define st_mtime st_mtim.tv_sec | ||
| 65 | # define st_ctime st_ctim.tv_sec | ||
| 66 | #else | ||
| 67 | __time_t st_atime;			/* Time of last access. */ | ||
| 68 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 69 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 70 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 71 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 72 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 73 | #endif | ||
| 74 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 75 | #ifndef __USE_FILE_OFFSET64 | ||
| 76 | __blkcnt_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 77 | #else | ||
| 78 | long int st_pad4; | ||
| 79 | __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 80 | #endif | ||
| 81 | long int st_pad5[14]; | ||
| 82 | }; | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | unsigned long int st_dev; | ||
| 88 | long int st_pad1[3]; | ||
| 89 | __ino64_t st_ino;		/* File serial number.		*/ | ||
| 90 | __mode_t st_mode;		/* File mode. */ | ||
| 91 | __nlink_t st_nlink;		/* Link count. */ | ||
| 92 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 93 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 94 | unsigned long int st_rdev;	/* Device number, if device. */ | ||
| 95 | long int st_pad2[3]; | ||
| 96 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 97 | # ifdef __USE_XOPEN2K8 | ||
| 98 | /* Nanosecond resolution timestamps are stored in a format | ||
| 99 | equivalent to 'struct timespec'. This is the type used | ||
| 100 | whenever possible but the Unix namespace rules do not allow the | ||
| 101 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 102 | Therefore we have to handle the use of this header in strictly | ||
| 103 | standard-compliant sources special. */ | ||
| 104 | struct timespec st_atim; /* Time of last access. */ | ||
| 105 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 106 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 107 | # else | ||
| 108 | __time_t st_atime;			/* Time of last access. */ | ||
| 109 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 110 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 111 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 112 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 113 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 114 | # endif | ||
| 115 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 116 | long int st_pad3; | ||
| 117 | __blkcnt64_t st_blocks;	/* Number of 512-byte blocks allocated. */ | ||
| 118 | long int st_pad4[14]; | ||
| 119 | }; | ||
| 120 | #endif | ||
| 121 | #else | ||
| 122 | struct stat | ||
| 123 | { | ||
| 124 | __dev_t st_dev; | ||
| 125 | int	st_pad1[3];		/* Reserved for st_dev expansion */ | ||
| 126 | #ifndef __USE_FILE_OFFSET64 | ||
| 127 | __ino_t st_ino; | ||
| 128 | #else | ||
| 129 | __ino64_t st_ino; | ||
| 130 | #endif | ||
| 131 | __mode_t st_mode; | ||
| 132 | __nlink_t st_nlink; | ||
| 133 | __uid_t st_uid; | ||
| 134 | __gid_t st_gid; | ||
| 135 | __dev_t st_rdev; | ||
| 136 | #if !defined __USE_FILE_OFFSET64 | ||
| 137 | unsigned int st_pad2[2];	/* Reserved for st_rdev expansion */ | ||
| 138 | __off_t st_size; | ||
| 139 | int st_pad3; | ||
| 140 | #else | ||
| 141 | unsigned int st_pad2[3];	/* Reserved for st_rdev expansion */ | ||
| 142 | __off64_t st_size; | ||
| 143 | #endif | ||
| 144 | #ifdef __USE_XOPEN2K8 | ||
| 145 | /* Nanosecond resolution timestamps are stored in a format | ||
| 146 | equivalent to 'struct timespec'. This is the type used | ||
| 147 | whenever possible but the Unix namespace rules do not allow the | ||
| 148 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 149 | Therefore we have to handle the use of this header in strictly | ||
| 150 | standard-compliant sources special. */ | ||
| 151 | struct timespec st_atim; /* Time of last access. */ | ||
| 152 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 153 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 154 | # define st_atime st_atim.tv_sec /* Backward compatibility. */ | ||
| 155 | # define st_mtime st_mtim.tv_sec | ||
| 156 | # define st_ctime st_ctim.tv_sec | ||
| 157 | #else | ||
| 158 | __time_t st_atime;			/* Time of last access. */ | ||
| 159 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 160 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 161 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 162 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 163 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 164 | #endif | ||
| 165 | __blksize_t st_blksize; | ||
| 166 | unsigned int st_pad4; | ||
| 167 | #ifndef __USE_FILE_OFFSET64 | ||
| 168 | __blkcnt_t st_blocks; | ||
| 169 | #else | ||
| 170 | __blkcnt64_t st_blocks; | ||
| 171 | #endif | ||
| 172 | int st_pad5[14]; | ||
| 173 | }; | ||
| 174 | |||
| 175 | #ifdef __USE_LARGEFILE64 | ||
| 176 | struct stat64 | ||
| 177 | { | ||
| 178 | __dev_t st_dev; | ||
| 179 | unsigned int st_pad1[3];	/* Reserved for st_dev expansion */ | ||
| 180 | __ino64_t st_ino; | ||
| 181 | __mode_t st_mode; | ||
| 182 | __nlink_t st_nlink; | ||
| 183 | __uid_t st_uid; | ||
| 184 | __gid_t st_gid; | ||
| 185 | __dev_t st_rdev; | ||
| 186 | unsigned int st_pad2[3];	/* Reserved for st_rdev expansion */ | ||
| 187 | __off64_t st_size; | ||
| 188 | # ifdef __USE_XOPEN2K8 | ||
| 189 | /* Nanosecond resolution timestamps are stored in a format | ||
| 190 | equivalent to 'struct timespec'. This is the type used | ||
| 191 | whenever possible but the Unix namespace rules do not allow the | ||
| 192 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 193 | Therefore we have to handle the use of this header in strictly | ||
| 194 | standard-compliant sources special. */ | ||
| 195 | struct timespec st_atim; /* Time of last access. */ | ||
| 196 | struct timespec st_mtim; /* Time of last modification. */ | ||
| 197 | struct timespec st_ctim; /* Time of last status change. */ | ||
| 198 | # else | ||
| 199 | __time_t st_atime;			/* Time of last access. */ | ||
| 200 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 201 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 202 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 203 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 204 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 205 | # endif | ||
| 206 | __blksize_t st_blksize; | ||
| 207 | unsigned int st_pad3; | ||
| 208 | __blkcnt64_t st_blocks; | ||
| 209 | int st_pad4[14]; | ||
| 210 | }; | ||
| 211 | #endif | ||
| 212 | #endif | ||
| 213 | |||
| 214 | /* Tell code we have these members. */ | ||
| 215 | #define	_STATBUF_ST_BLKSIZE | ||
| 216 | #define	_STATBUF_ST_RDEV | ||
| 217 | |||
| 218 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/syscall.h+14-2| ... | @@ -1,11 +1,11 @@ | ... | @@ -1,11 +1,11 @@ |
| 1 | /* Generated at libc build time from syscall list. */ | 1 | /* Generated at libc build time from syscall list. */ |
| 2 | /* The system call list corresponds to kernel 5.7. */ | 2 | /* The system call list corresponds to kernel 5.10. */ |
| 3 | 3 | ||
| 4 | #ifndef _SYSCALL_H | 4 | #ifndef _SYSCALL_H |
| 5 | # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." | 5 | # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." |
| 6 | #endif | 6 | #endif |
| 7 | 7 | ||
| 8 | #define __GLIBC_LINUX_VERSION_CODE 329472 | 8 | #define __GLIBC_LINUX_VERSION_CODE 330240 |
| 9 | 9 | ||
| 10 | #ifdef __NR_FAST_atomic_update | 10 | #ifdef __NR_FAST_atomic_update |
| 11 | # define SYS_FAST_atomic_update __NR_FAST_atomic_update | 11 | # define SYS_FAST_atomic_update __NR_FAST_atomic_update |
| ... | @@ -227,6 +227,10 @@ | ... | @@ -227,6 +227,10 @@ |
| 227 | # define SYS_close __NR_close | 227 | # define SYS_close __NR_close |
| 228 | #endif | 228 | #endif |
| 229 | 229 | ||
| 230 | #ifdef __NR_close_range | ||
| 231 | # define SYS_close_range __NR_close_range | ||
| 232 | #endif | ||
| 233 | |||
| 230 | #ifdef __NR_cmpxchg_badaddr | 234 | #ifdef __NR_cmpxchg_badaddr |
| 231 | # define SYS_cmpxchg_badaddr __NR_cmpxchg_badaddr | 235 | # define SYS_cmpxchg_badaddr __NR_cmpxchg_badaddr |
| 232 | #endif | 236 | #endif |
| ... | @@ -331,6 +335,10 @@ | ... | @@ -331,6 +335,10 @@ |
| 331 | # define SYS_faccessat __NR_faccessat | 335 | # define SYS_faccessat __NR_faccessat |
| 332 | #endif | 336 | #endif |
| 333 | 337 | ||
| 338 | #ifdef __NR_faccessat2 | ||
| 339 | # define SYS_faccessat2 __NR_faccessat2 | ||
| 340 | #endif | ||
| 341 | |||
| 334 | #ifdef __NR_fadvise64 | 342 | #ifdef __NR_fadvise64 |
| 335 | # define SYS_fadvise64 __NR_fadvise64 | 343 | # define SYS_fadvise64 __NR_fadvise64 |
| 336 | #endif | 344 | #endif |
| ... | @@ -1635,6 +1643,10 @@ | ... | @@ -1635,6 +1643,10 @@ |
| 1635 | # define SYS_prlimit64 __NR_prlimit64 | 1643 | # define SYS_prlimit64 __NR_prlimit64 |
| 1636 | #endif | 1644 | #endif |
| 1637 | 1645 | ||
| 1646 | #ifdef __NR_process_madvise | ||
| 1647 | # define SYS_process_madvise __NR_process_madvise | ||
| 1648 | #endif | ||
| 1649 | |||
| 1638 | #ifdef __NR_process_vm_readv | 1650 | #ifdef __NR_process_vm_readv |
| 1639 | # define SYS_process_vm_readv __NR_process_vm_readv | 1651 | # define SYS_process_vm_readv __NR_process_vm_readv |
| 1640 | #endif | 1652 | #endif |
lib/libc/include/generic-glibc/bits/syslog-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for syslog functions. | 1 | /* -mlong-double-64 compatibility mode for syslog functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/syslog-path.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* <bits/syslog-path.h> -- _PATH_LOG definition | 1 | /* <bits/syslog-path.h> -- _PATH_LOG definition |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/syslog.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for syslog functions. | 1 | /* Checking macros for syslog functions. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/sysmacros.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of macros to access `dev_t' values. | 1 | /* Definitions of macros to access `dev_t' values. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/generic version. | 1 | /* termios baud rate selection definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/generic version. | 1 | /* termios c_cc symbolic constant definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-c_cflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios control mode definitions. Linux/generic version. | 1 | /* termios control mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-c_iflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios input mode definitions. Linux/generic version. | 1 | /* termios input mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/generic version. | 1 | /* termios local mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/generic version. | 1 | /* termios output mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-misc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud platform specific definitions. Linux/generic version. | 1 | /* termios baud platform specific definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/generic version. | 1 | /* struct termios definition. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios tcflag symbolic contants definitions. Linux/generic version. | 1 | /* termios tcflag symbolic contants definitions. Linux/generic version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/termios.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios type and macro definitions. Linux version. | 1 | /* termios type and macro definitions. Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/thread-shared-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Common threading primitives definitions for both POSIX and C11. | 1 | /* Common threading primitives definitions for both POSIX and C11. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/time.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-dependent timing definitions. Linux version. | 1 | /* System-dependent timing definitions. Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/time64.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/time64.h -- underlying types for __time64_t. Generic version. | 1 | /* bits/time64.h -- underlying types for __time64_t. Generic version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/timesize.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit size of the time_t type at glibc build time, general case. | 1 | /* Bit size of the time_t type at glibc build time, general case. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/timex.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/types.h -- definitions of __*_t types underlying *_t types. | 1 | /* bits/types.h -- definitions of __*_t types underlying *_t types. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/__locale_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of struct __locale_struct and __locale_t. | 1 | /* Definition of struct __locale_struct and __locale_t. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. | 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. |
| 5 | 5 |
lib/libc/include/generic-glibc/bits/types/__sigval_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __sigval_t. | 1 | /* Define __sigval_t. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/cookie_io_functions_t.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/error_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define error_t. | 1 | /* Define error_t. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/locale_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of locale_t. | 1 | /* Definition of locale_t. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. Linux version. | 1 | /* Define stack_t. Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_FILE.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct___jmp_buf_tag.h created+37| ... | @@ -0,0 +1,37 @@ | ||
| 1 | /* Define struct __jmp_buf_tag. | ||
| 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef	__jmp_buf_tag_defined | ||
| 20 | #define	__jmp_buf_tag_defined 1 | ||
| 21 | |||
| 22 | #include <bits/setjmp.h>		/* Get `__jmp_buf'. */ | ||
| 23 | #include <bits/types/__sigset_t.h> | ||
| 24 | |||
| 25 | /* Calling environment, plus possibly a saved signal mask. */ | ||
| 26 | struct __jmp_buf_tag | ||
| 27 | { | ||
| 28 | /* NOTE: The machine-dependent definitions of `__sigsetjmp' | ||
| 29 | assume that a `jmp_buf' begins with a `__jmp_buf' and that | ||
| 30 | `__mask_was_saved' follows it. Do not move these members | ||
| 31 | or add others before it. */ | ||
| 32 | __jmp_buf __jmpbuf;		/* Calling environment. */ | ||
| 33 | int __mask_was_saved;	/* Saved the signal mask? */ | ||
| 34 | __sigset_t __saved_mask;	/* Saved signal mask. */ | ||
| 35 | }; | ||
| 36 | |||
| 37 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/types/struct_iovec.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define struct iovec. | 1 | /* Define struct iovec. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic implementation of the SysV message struct msqid_ds. | 1 | /* Generic implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_rusage.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define struct rusage. | 1 | /* Define struct rusage. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_sched_param.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Sched parameter structure. Generic version. | 1 | /* Sched parameter structure. Generic version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic implementation of the semaphore struct semid_ds. | 1 | /* Generic implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic implementation of the shared memory struct shmid_ds. | 1 | /* Generic implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define struct sigstack. | 1 | /* Define struct sigstack. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_statx.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of the generic version of struct statx. | 1 | /* Definition of the generic version of struct statx. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_statx_timestamp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of the generic version of struct statx_timestamp. | 1 | /* Definition of the generic version of struct statx_timestamp. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/types/struct_timeb.h created+15| ... | @@ -0,0 +1,15 @@ | ||
| 1 | #ifndef __timeb_defined | ||
| 2 | #define __timeb_defined 1 | ||
| 3 | |||
| 4 | #include <bits/types/time_t.h> | ||
| 5 | |||
| 6 | /* Structure returned by the 'ftime' function. */ | ||
| 7 | struct timeb | ||
| 8 | { | ||
| 9 | time_t time;		/* Seconds since epoch, as from 'time'. */ | ||
| 10 | unsigned short int millitm;	/* Additional milliseconds. */ | ||
| 11 | short int timezone;		/* Minutes west of GMT. */ | ||
| 12 | short int dstflag;		/* Nonzero if Daylight Savings Time used. */ | ||
| 13 | }; | ||
| 14 | |||
| 15 | #endif | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Generic version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Generic version. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/uintn-identity.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Inline functions to return unsigned integer values unchanged. | 1 | /* Inline functions to return unsigned integer values unchanged. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/uio-ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Operating system-specific extensions to sys/uio.h - Linux version. | 1 | /* Operating system-specific extensions to sys/uio.h - Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/uio_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Implementation limits related to sys/uio.h - Linux version. | 1 | /* Implementation limits related to sys/uio.h - Linux version. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/unistd.h+67-55| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for unistd functions. | 1 | /* Checking macros for unistd functions. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -35,13 +35,14 @@ extern ssize_t __REDIRECT (__read_chk_warn, | ... | @@ -35,13 +35,14 @@ extern ssize_t __REDIRECT (__read_chk_warn, |
| 35 | __fortify_function __wur ssize_t | 35 | __fortify_function __wur ssize_t |
| 36 | read (int __fd, void *__buf, size_t __nbytes) | 36 | read (int __fd, void *__buf, size_t __nbytes) |
| 37 | { | 37 | { |
| 38 | if (__bos0 (__buf) != (size_t) -1) | 38 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 39 | { | 39 | { |
| 40 | if (!__builtin_constant_p (__nbytes)) | 40 | if (!__builtin_constant_p (__nbytes)) |
| 41 | 	return __read_chk (__fd, __buf, __nbytes, __bos0 (__buf)); | 41 | 	return __read_chk (__fd, __buf, __nbytes, __glibc_objsize0 (__buf)); |
| 42 | 42 | ||
| 43 | if (__nbytes > __bos0 (__buf)) | 43 | if (__nbytes > __glibc_objsize0 (__buf)) |
| 44 | 	return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf)); | 44 | 	return __read_chk_warn (__fd, __buf, __nbytes, |
| 45 | 				__glibc_objsize0 (__buf)); | ||
| 45 | } | 46 | } |
| 46 | return __read_alias (__fd, __buf, __nbytes); | 47 | return __read_alias (__fd, __buf, __nbytes); |
| 47 | } | 48 | } |
| ... | @@ -77,14 +78,15 @@ extern ssize_t __REDIRECT (__pread64_chk_warn, | ... | @@ -77,14 +78,15 @@ extern ssize_t __REDIRECT (__pread64_chk_warn, |
| 77 | __fortify_function __wur ssize_t | 78 | __fortify_function __wur ssize_t |
| 78 | pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) | 79 | pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) |
| 79 | { | 80 | { |
| 80 | if (__bos0 (__buf) != (size_t) -1) | 81 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 81 | { | 82 | { |
| 82 | if (!__builtin_constant_p (__nbytes)) | 83 | if (!__builtin_constant_p (__nbytes)) |
| 83 | 	return __pread_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); | 84 | 	return __pread_chk (__fd, __buf, __nbytes, __offset, |
| 85 | 			 __glibc_objsize0 (__buf)); | ||
| 84 | 86 | ||
| 85 | if ( __nbytes > __bos0 (__buf)) | 87 | if ( __nbytes > __glibc_objsize0 (__buf)) |
| 86 | 	return __pread_chk_warn (__fd, __buf, __nbytes, __offset, | 88 | 	return __pread_chk_warn (__fd, __buf, __nbytes, __offset, |
| 87 | 				 __bos0 (__buf)); | 89 | 				 __glibc_objsize0 (__buf)); |
| 88 | } | 90 | } |
| 89 | return __pread_alias (__fd, __buf, __nbytes, __offset); | 91 | return __pread_alias (__fd, __buf, __nbytes, __offset); |
| 90 | } | 92 | } |
| ... | @@ -92,14 +94,15 @@ pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) | ... | @@ -92,14 +94,15 @@ pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) |
| 92 | __fortify_function __wur ssize_t | 94 | __fortify_function __wur ssize_t |
| 93 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | 95 | pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) |
| 94 | { | 96 | { |
| 95 | if (__bos0 (__buf) != (size_t) -1) | 97 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 96 | { | 98 | { |
| 97 | if (!__builtin_constant_p (__nbytes)) | 99 | if (!__builtin_constant_p (__nbytes)) |
| 98 | 	return __pread64_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); | 100 | 	return __pread64_chk (__fd, __buf, __nbytes, __offset, |
| 101 | 			 __glibc_objsize0 (__buf)); | ||
| 99 | 102 | ||
| 100 | if ( __nbytes > __bos0 (__buf)) | 103 | if ( __nbytes > __glibc_objsize0 (__buf)) |
| 101 | 	return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, | 104 | 	return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, |
| 102 | 				 __bos0 (__buf)); | 105 | 				 __glibc_objsize0 (__buf)); |
| 103 | } | 106 | } |
| 104 | 107 | ||
| 105 | return __pread64_alias (__fd, __buf, __nbytes, __offset); | 108 | return __pread64_alias (__fd, __buf, __nbytes, __offset); |
| ... | @@ -110,14 +113,15 @@ pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | ... | @@ -110,14 +113,15 @@ pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) |
| 110 | __fortify_function __wur ssize_t | 113 | __fortify_function __wur ssize_t |
| 111 | pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) | 114 | pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) |
| 112 | { | 115 | { |
| 113 | if (__bos0 (__buf) != (size_t) -1) | 116 | if (__glibc_objsize0 (__buf) != (size_t) -1) |
| 114 | { | 117 | { |
| 115 | if (!__builtin_constant_p (__nbytes)) | 118 | if (!__builtin_constant_p (__nbytes)) |
| 116 | 	return __pread64_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); | 119 | 	return __pread64_chk (__fd, __buf, __nbytes, __offset, |
| 120 | 			 __glibc_objsize0 (__buf)); | ||
| 117 | 121 | ||
| 118 | if ( __nbytes > __bos0 (__buf)) | 122 | if ( __nbytes > __glibc_objsize0 (__buf)) |
| 119 | 	return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, | 123 | 	return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, |
| 120 | 				 __bos0 (__buf)); | 124 | 				 __glibc_objsize0 (__buf)); |
| 121 | } | 125 | } |
| 122 | 126 | ||
| 123 | return __pread64_alias (__fd, __buf, __nbytes, __offset); | 127 | return __pread64_alias (__fd, __buf, __nbytes, __offset); |
| ... | @@ -145,13 +149,14 @@ __fortify_function __nonnull ((1, 2)) __wur ssize_t | ... | @@ -145,13 +149,14 @@ __fortify_function __nonnull ((1, 2)) __wur ssize_t |
| 145 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, | 149 | __NTH (readlink (const char *__restrict __path, char *__restrict __buf, |
| 146 | 		 size_t __len)) | 150 | 		 size_t __len)) |
| 147 | { | 151 | { |
| 148 | if (__bos (__buf) != (size_t) -1) | 152 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 149 | { | 153 | { |
| 150 | if (!__builtin_constant_p (__len)) | 154 | if (!__builtin_constant_p (__len)) |
| 151 | 	return __readlink_chk (__path, __buf, __len, __bos (__buf)); | 155 | 	return __readlink_chk (__path, __buf, __len, __glibc_objsize (__buf)); |
| 152 | 156 | ||
| 153 | if ( __len > __bos (__buf)) | 157 | if ( __len > __glibc_objsize (__buf)) |
| 154 | 	return __readlink_chk_warn (__path, __buf, __len, __bos (__buf)); | 158 | 	return __readlink_chk_warn (__path, __buf, __len, |
| 159 | 				 __glibc_objsize (__buf)); | ||
| 155 | } | 160 | } |
| 156 | return __readlink_alias (__path, __buf, __len); | 161 | return __readlink_alias (__path, __buf, __len); |
| 157 | } | 162 | } |
| ... | @@ -179,14 +184,15 @@ __fortify_function __nonnull ((2, 3)) __wur ssize_t | ... | @@ -179,14 +184,15 @@ __fortify_function __nonnull ((2, 3)) __wur ssize_t |
| 179 | __NTH (readlinkat (int __fd, const char *__restrict __path, | 184 | __NTH (readlinkat (int __fd, const char *__restrict __path, |
| 180 | 		 char *__restrict __buf, size_t __len)) | 185 | 		 char *__restrict __buf, size_t __len)) |
| 181 | { | 186 | { |
| 182 | if (__bos (__buf) != (size_t) -1) | 187 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 183 | { | 188 | { |
| 184 | if (!__builtin_constant_p (__len)) | 189 | if (!__builtin_constant_p (__len)) |
| 185 | 	return __readlinkat_chk (__fd, __path, __buf, __len, __bos (__buf)); | 190 | 	return __readlinkat_chk (__fd, __path, __buf, __len, |
| 191 | 				 __glibc_objsize (__buf)); | ||
| 186 | 192 | ||
| 187 | if (__len > __bos (__buf)) | 193 | if (__len > __glibc_objsize (__buf)) |
| 188 | 	return __readlinkat_chk_warn (__fd, __path, __buf, __len, | 194 | 	return __readlinkat_chk_warn (__fd, __path, __buf, __len, |
| 189 | 				 __bos (__buf)); | 195 | 				 __glibc_objsize (__buf)); |
| 190 | } | 196 | } |
| 191 | return __readlinkat_alias (__fd, __path, __buf, __len); | 197 | return __readlinkat_alias (__fd, __path, __buf, __len); |
| 192 | } | 198 | } |
| ... | @@ -206,13 +212,13 @@ extern char *__REDIRECT_NTH (__getcwd_chk_warn, | ... | @@ -206,13 +212,13 @@ extern char *__REDIRECT_NTH (__getcwd_chk_warn, |
| 206 | __fortify_function __wur char * | 212 | __fortify_function __wur char * |
| 207 | __NTH (getcwd (char *__buf, size_t __size)) | 213 | __NTH (getcwd (char *__buf, size_t __size)) |
| 208 | { | 214 | { |
| 209 | if (__bos (__buf) != (size_t) -1) | 215 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 210 | { | 216 | { |
| 211 | if (!__builtin_constant_p (__size)) | 217 | if (!__builtin_constant_p (__size)) |
| 212 | 	return __getcwd_chk (__buf, __size, __bos (__buf)); | 218 | 	return __getcwd_chk (__buf, __size, __glibc_objsize (__buf)); |
| 213 | 219 | ||
| 214 | if (__size > __bos (__buf)) | 220 | if (__size > __glibc_objsize (__buf)) |
| 215 | 	return __getcwd_chk_warn (__buf, __size, __bos (__buf)); | 221 | 	return __getcwd_chk_warn (__buf, __size, __glibc_objsize (__buf)); |
| 216 | } | 222 | } |
| 217 | return __getcwd_alias (__buf, __size); | 223 | return __getcwd_alias (__buf, __size); |
| 218 | } | 224 | } |
| ... | @@ -227,8 +233,8 @@ extern char *__REDIRECT_NTH (__getwd_warn, (char *__buf), getwd) | ... | @@ -227,8 +233,8 @@ extern char *__REDIRECT_NTH (__getwd_warn, (char *__buf), getwd) |
| 227 | __fortify_function __nonnull ((1)) __attribute_deprecated__ __wur char * | 233 | __fortify_function __nonnull ((1)) __attribute_deprecated__ __wur char * |
| 228 | __NTH (getwd (char *__buf)) | 234 | __NTH (getwd (char *__buf)) |
| 229 | { | 235 | { |
| 230 | if (__bos (__buf) != (size_t) -1) | 236 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 231 | return __getwd_chk (__buf, __bos (__buf)); | 237 | return __getwd_chk (__buf, __glibc_objsize (__buf)); |
| 232 | return __getwd_warn (__buf); | 238 | return __getwd_warn (__buf); |
| 233 | } | 239 | } |
| 234 | #endif | 240 | #endif |
| ... | @@ -248,13 +254,14 @@ extern size_t __REDIRECT_NTH (__confstr_chk_warn, | ... | @@ -248,13 +254,14 @@ extern size_t __REDIRECT_NTH (__confstr_chk_warn, |
| 248 | __fortify_function size_t | 254 | __fortify_function size_t |
| 249 | __NTH (confstr (int __name, char *__buf, size_t __len)) | 255 | __NTH (confstr (int __name, char *__buf, size_t __len)) |
| 250 | { | 256 | { |
| 251 | if (__bos (__buf) != (size_t) -1) | 257 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 252 | { | 258 | { |
| 253 | if (!__builtin_constant_p (__len)) | 259 | if (!__builtin_constant_p (__len)) |
| 254 | 	return __confstr_chk (__name, __buf, __len, __bos (__buf)); | 260 | 	return __confstr_chk (__name, __buf, __len, __glibc_objsize (__buf)); |
| 255 | 261 | ||
| 256 | if (__bos (__buf) < __len) | 262 | if (__glibc_objsize (__buf) < __len) |
| 257 | 	return __confstr_chk_warn (__name, __buf, __len, __bos (__buf)); | 263 | 	return __confstr_chk_warn (__name, __buf, __len, |
| 264 | 				 __glibc_objsize (__buf)); | ||
| 258 | } | 265 | } |
| 259 | return __confstr_alias (__name, __buf, __len); | 266 | return __confstr_alias (__name, __buf, __len); |
| 260 | } | 267 | } |
| ... | @@ -273,13 +280,13 @@ extern int __REDIRECT_NTH (__getgroups_chk_warn, | ... | @@ -273,13 +280,13 @@ extern int __REDIRECT_NTH (__getgroups_chk_warn, |
| 273 | __fortify_function int | 280 | __fortify_function int |
| 274 | __NTH (getgroups (int __size, __gid_t __list[])) | 281 | __NTH (getgroups (int __size, __gid_t __list[])) |
| 275 | { | 282 | { |
| 276 | if (__bos (__list) != (size_t) -1) | 283 | if (__glibc_objsize (__list) != (size_t) -1) |
| 277 | { | 284 | { |
| 278 | if (!__builtin_constant_p (__size) || __size < 0) | 285 | if (!__builtin_constant_p (__size) || __size < 0) |
| 279 | 	return __getgroups_chk (__size, __list, __bos (__list)); | 286 | 	return __getgroups_chk (__size, __list, __glibc_objsize (__list)); |
| 280 | 287 | ||
| 281 | if (__size * sizeof (__gid_t) > __bos (__list)) | 288 | if (__size * sizeof (__gid_t) > __glibc_objsize (__list)) |
| 282 | 	return __getgroups_chk_warn (__size, __list, __bos (__list)); | 289 | 	return __getgroups_chk_warn (__size, __list, __glibc_objsize (__list)); |
| 283 | } | 290 | } |
| 284 | return __getgroups_alias (__size, __list); | 291 | return __getgroups_alias (__size, __list); |
| 285 | } | 292 | } |
| ... | @@ -300,13 +307,15 @@ extern int __REDIRECT_NTH (__ttyname_r_chk_warn, | ... | @@ -300,13 +307,15 @@ extern int __REDIRECT_NTH (__ttyname_r_chk_warn, |
| 300 | __fortify_function int | 307 | __fortify_function int |
| 301 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) | 308 | __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) |
| 302 | { | 309 | { |
| 303 | if (__bos (__buf) != (size_t) -1) | 310 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 304 | { | 311 | { |
| 305 | if (!__builtin_constant_p (__buflen)) | 312 | if (!__builtin_constant_p (__buflen)) |
| 306 | 	return __ttyname_r_chk (__fd, __buf, __buflen, __bos (__buf)); | 313 | 	return __ttyname_r_chk (__fd, __buf, __buflen, |
| 314 | 				__glibc_objsize (__buf)); | ||
| 307 | 315 | ||
| 308 | if (__buflen > __bos (__buf)) | 316 | if (__buflen > __glibc_objsize (__buf)) |
| 309 | 	return __ttyname_r_chk_warn (__fd, __buf, __buflen, __bos (__buf)); | 317 | 	return __ttyname_r_chk_warn (__fd, __buf, __buflen, |
| 318 | 				 __glibc_objsize (__buf)); | ||
| 310 | } | 319 | } |
| 311 | return __ttyname_r_alias (__fd, __buf, __buflen); | 320 | return __ttyname_r_alias (__fd, __buf, __buflen); |
| 312 | } | 321 | } |
| ... | @@ -326,13 +335,14 @@ extern int __REDIRECT (__getlogin_r_chk_warn, | ... | @@ -326,13 +335,14 @@ extern int __REDIRECT (__getlogin_r_chk_warn, |
| 326 | __fortify_function int | 335 | __fortify_function int |
| 327 | getlogin_r (char *__buf, size_t __buflen) | 336 | getlogin_r (char *__buf, size_t __buflen) |
| 328 | { | 337 | { |
| 329 | if (__bos (__buf) != (size_t) -1) | 338 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 330 | { | 339 | { |
| 331 | if (!__builtin_constant_p (__buflen)) | 340 | if (!__builtin_constant_p (__buflen)) |
| 332 | 	return __getlogin_r_chk (__buf, __buflen, __bos (__buf)); | 341 | 	return __getlogin_r_chk (__buf, __buflen, __glibc_objsize (__buf)); |
| 333 | 342 | ||
| 334 | if (__buflen > __bos (__buf)) | 343 | if (__buflen > __glibc_objsize (__buf)) |
| 335 | 	return __getlogin_r_chk_warn (__buf, __buflen, __bos (__buf)); | 344 | 	return __getlogin_r_chk_warn (__buf, __buflen, |
| 345 | 				 __glibc_objsize (__buf)); | ||
| 336 | } | 346 | } |
| 337 | return __getlogin_r_alias (__buf, __buflen); | 347 | return __getlogin_r_alias (__buf, __buflen); |
| 338 | } | 348 | } |
| ... | @@ -354,13 +364,14 @@ extern int __REDIRECT_NTH (__gethostname_chk_warn, | ... | @@ -354,13 +364,14 @@ extern int __REDIRECT_NTH (__gethostname_chk_warn, |
| 354 | __fortify_function int | 364 | __fortify_function int |
| 355 | __NTH (gethostname (char *__buf, size_t __buflen)) | 365 | __NTH (gethostname (char *__buf, size_t __buflen)) |
| 356 | { | 366 | { |
| 357 | if (__bos (__buf) != (size_t) -1) | 367 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 358 | { | 368 | { |
| 359 | if (!__builtin_constant_p (__buflen)) | 369 | if (!__builtin_constant_p (__buflen)) |
| 360 | 	return __gethostname_chk (__buf, __buflen, __bos (__buf)); | 370 | 	return __gethostname_chk (__buf, __buflen, __glibc_objsize (__buf)); |
| 361 | 371 | ||
| 362 | if (__buflen > __bos (__buf)) | 372 | if (__buflen > __glibc_objsize (__buf)) |
| 363 | 	return __gethostname_chk_warn (__buf, __buflen, __bos (__buf)); | 373 | 	return __gethostname_chk_warn (__buf, __buflen, |
| 374 | 				 __glibc_objsize (__buf)); | ||
| 364 | } | 375 | } |
| 365 | return __gethostname_alias (__buf, __buflen); | 376 | return __gethostname_alias (__buf, __buflen); |
| 366 | } | 377 | } |
| ... | @@ -384,13 +395,14 @@ extern int __REDIRECT_NTH (__getdomainname_chk_warn, | ... | @@ -384,13 +395,14 @@ extern int __REDIRECT_NTH (__getdomainname_chk_warn, |
| 384 | __fortify_function int | 395 | __fortify_function int |
| 385 | __NTH (getdomainname (char *__buf, size_t __buflen)) | 396 | __NTH (getdomainname (char *__buf, size_t __buflen)) |
| 386 | { | 397 | { |
| 387 | if (__bos (__buf) != (size_t) -1) | 398 | if (__glibc_objsize (__buf) != (size_t) -1) |
| 388 | { | 399 | { |
| 389 | if (!__builtin_constant_p (__buflen)) | 400 | if (!__builtin_constant_p (__buflen)) |
| 390 | 	return __getdomainname_chk (__buf, __buflen, __bos (__buf)); | 401 | 	return __getdomainname_chk (__buf, __buflen, __glibc_objsize (__buf)); |
| 391 | 402 | ||
| 392 | if (__buflen > __bos (__buf)) | 403 | if (__buflen > __glibc_objsize (__buf)) |
| 393 | 	return __getdomainname_chk_warn (__buf, __buflen, __bos (__buf)); | 404 | 	return __getdomainname_chk_warn (__buf, __buflen, |
| 405 | 					 __glibc_objsize (__buf)); | ||
| 394 | } | 406 | } |
| 395 | return __getdomainname_alias (__buf, __buflen); | 407 | return __getdomainname_alias (__buf, __buflen); |
| 396 | } | 408 | } |
lib/libc/include/generic-glibc/bits/unistd_ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific extensions of <unistd.h>, Linux version. | 1 | /* System-specific extensions of <unistd.h>, Linux version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/utmp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The `struct utmp' type, describing entries in the utmp file. | 1 | /* The `struct utmp' type, describing entries in the utmp file. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/utmpx.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structures and definitions for the user accounting database. GNU version. | 1 | /* Structures and definitions for the user accounting database. GNU version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/utsname.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/waitflags.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of flag bits for `waitpid' et al. | 1 | /* Definitions of flag bits for `waitpid' et al. |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/waitstatus.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of status bits for `wait' et al. | 1 | /* Definitions of status bits for `wait' et al. |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/wchar-ldbl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* -mlong-double-64 compatibility mode for <wchar.h> functions. | 1 | /* -mlong-double-64 compatibility mode for <wchar.h> functions. |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2006-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/wchar.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* wchar_t type related definitions. | 1 | /* wchar_t type related definitions. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/wchar2.h+83-65| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Checking macros for wchar functions. | 1 | /* Checking macros for wchar functions. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -39,15 +39,15 @@ __fortify_function wchar_t * | ... | @@ -39,15 +39,15 @@ __fortify_function wchar_t * |
| 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | 39 | __NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, |
| 40 | 		size_t __n)) | 40 | 		size_t __n)) |
| 41 | { | 41 | { |
| 42 | if (__bos0 (__s1) != (size_t) -1) | 42 | if (__glibc_objsize0 (__s1) != (size_t) -1) |
| 43 | { | 43 | { |
| 44 | if (!__builtin_constant_p (__n)) | 44 | if (!__builtin_constant_p (__n)) |
| 45 | 	return __wmemcpy_chk (__s1, __s2, __n, | 45 | 	return __wmemcpy_chk (__s1, __s2, __n, |
| 46 | 			 __bos0 (__s1) / sizeof (wchar_t)); | 46 | 			 __glibc_objsize0 (__s1) / sizeof (wchar_t)); |
| 47 | 47 | ||
| 48 | if (__n > __bos0 (__s1) / sizeof (wchar_t)) | 48 | if (__n > __glibc_objsize0 (__s1) / sizeof (wchar_t)) |
| 49 | 	return __wmemcpy_chk_warn (__s1, __s2, __n, | 49 | 	return __wmemcpy_chk_warn (__s1, __s2, __n, |
| 50 | 				 __bos0 (__s1) / sizeof (wchar_t)); | 50 | 				 __glibc_objsize0 (__s1) / sizeof (wchar_t)); |
| 51 | } | 51 | } |
| 52 | return __wmemcpy_alias (__s1, __s2, __n); | 52 | return __wmemcpy_alias (__s1, __s2, __n); |
| 53 | } | 53 | } |
| ... | @@ -67,15 +67,16 @@ extern wchar_t *__REDIRECT_NTH (__wmemmove_chk_warn, | ... | @@ -67,15 +67,16 @@ extern wchar_t *__REDIRECT_NTH (__wmemmove_chk_warn, |
| 67 | __fortify_function wchar_t * | 67 | __fortify_function wchar_t * |
| 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) | 68 | __NTH (wmemmove (wchar_t *__s1, const wchar_t *__s2, size_t __n)) |
| 69 | { | 69 | { |
| 70 | if (__bos0 (__s1) != (size_t) -1) | 70 | if (__glibc_objsize0 (__s1) != (size_t) -1) |
| 71 | { | 71 | { |
| 72 | if (!__builtin_constant_p (__n)) | 72 | if (!__builtin_constant_p (__n)) |
| 73 | 	return __wmemmove_chk (__s1, __s2, __n, | 73 | 	return __wmemmove_chk (__s1, __s2, __n, |
| 74 | 			 __bos0 (__s1) / sizeof (wchar_t)); | 74 | 			 __glibc_objsize0 (__s1) / sizeof (wchar_t)); |
| 75 | 75 | ||
| 76 | if (__n > __bos0 (__s1) / sizeof (wchar_t)) | 76 | if (__n > __glibc_objsize0 (__s1) / sizeof (wchar_t)) |
| 77 | 	return __wmemmove_chk_warn (__s1, __s2, __n, | 77 | 	return __wmemmove_chk_warn (__s1, __s2, __n, |
| 78 | 				 __bos0 (__s1) / sizeof (wchar_t)); | 78 | 				 (__glibc_objsize0 (__s1) |
| 79 | 				 / sizeof (wchar_t))); | ||
| 79 | } | 80 | } |
| 80 | return __wmemmove_alias (__s1, __s2, __n); | 81 | return __wmemmove_alias (__s1, __s2, __n); |
| 81 | } | 82 | } |
| ... | @@ -100,15 +101,16 @@ __fortify_function wchar_t * | ... | @@ -100,15 +101,16 @@ __fortify_function wchar_t * |
| 100 | __NTH (wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, | 101 | __NTH (wmempcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2, |
| 101 | 		 size_t __n)) | 102 | 		 size_t __n)) |
| 102 | { | 103 | { |
| 103 | if (__bos0 (__s1) != (size_t) -1) | 104 | if (__glibc_objsize0 (__s1) != (size_t) -1) |
| 104 | { | 105 | { |
| 105 | if (!__builtin_constant_p (__n)) | 106 | if (!__builtin_constant_p (__n)) |
| 106 | 	return __wmempcpy_chk (__s1, __s2, __n, | 107 | 	return __wmempcpy_chk (__s1, __s2, __n, |
| 107 | 			 __bos0 (__s1) / sizeof (wchar_t)); | 108 | 			 __glibc_objsize0 (__s1) / sizeof (wchar_t)); |
| 108 | 109 | ||
| 109 | if (__n > __bos0 (__s1) / sizeof (wchar_t)) | 110 | if (__n > __glibc_objsize0 (__s1) / sizeof (wchar_t)) |
| 110 | 	return __wmempcpy_chk_warn (__s1, __s2, __n, | 111 | 	return __wmempcpy_chk_warn (__s1, __s2, __n, |
| 111 | 				 __bos0 (__s1) / sizeof (wchar_t)); | 112 | 				 (__glibc_objsize0 (__s1) |
| 113 | 				 / sizeof (wchar_t))); | ||
| 112 | } | 114 | } |
| 113 | return __wmempcpy_alias (__s1, __s2, __n); | 115 | return __wmempcpy_alias (__s1, __s2, __n); |
| 114 | } | 116 | } |
| ... | @@ -128,14 +130,15 @@ extern wchar_t *__REDIRECT_NTH (__wmemset_chk_warn, | ... | @@ -128,14 +130,15 @@ extern wchar_t *__REDIRECT_NTH (__wmemset_chk_warn, |
| 128 | __fortify_function wchar_t * | 130 | __fortify_function wchar_t * |
| 129 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) | 131 | __NTH (wmemset (wchar_t *__s, wchar_t __c, size_t __n)) |
| 130 | { | 132 | { |
| 131 | if (__bos0 (__s) != (size_t) -1) | 133 | if (__glibc_objsize0 (__s) != (size_t) -1) |
| 132 | { | 134 | { |
| 133 | if (!__builtin_constant_p (__n)) | 135 | if (!__builtin_constant_p (__n)) |
| 134 | 	return __wmemset_chk (__s, __c, __n, __bos0 (__s) / sizeof (wchar_t)); | 136 | 	return __wmemset_chk (__s, __c, __n, |
| 137 | 			 __glibc_objsize0 (__s) / sizeof (wchar_t)); | ||
| 135 | 138 | ||
| 136 | if (__n > __bos0 (__s) / sizeof (wchar_t)) | 139 | if (__n > __glibc_objsize0 (__s) / sizeof (wchar_t)) |
| 137 | 	return __wmemset_chk_warn (__s, __c, __n, | 140 | 	return __wmemset_chk_warn (__s, __c, __n, |
| 138 | 				 __bos0 (__s) / sizeof (wchar_t)); | 141 | 				 __glibc_objsize0 (__s) / sizeof (wchar_t)); |
| 139 | } | 142 | } |
| 140 | return __wmemset_alias (__s, __c, __n); | 143 | return __wmemset_alias (__s, __c, __n); |
| 141 | } | 144 | } |
| ... | @@ -151,8 +154,9 @@ extern wchar_t *__REDIRECT_NTH (__wcscpy_alias, | ... | @@ -151,8 +154,9 @@ extern wchar_t *__REDIRECT_NTH (__wcscpy_alias, |
| 151 | __fortify_function wchar_t * | 154 | __fortify_function wchar_t * |
| 152 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | 155 | __NTH (wcscpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) |
| 153 | { | 156 | { |
| 154 | if (__bos (__dest) != (size_t) -1) | 157 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 155 | return __wcscpy_chk (__dest, __src, __bos (__dest) / sizeof (wchar_t)); | 158 | return __wcscpy_chk (__dest, __src, |
| 159 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); | ||
| 156 | return __wcscpy_alias (__dest, __src); | 160 | return __wcscpy_alias (__dest, __src); |
| 157 | } | 161 | } |
| 158 | 162 | ||
| ... | @@ -167,8 +171,9 @@ extern wchar_t *__REDIRECT_NTH (__wcpcpy_alias, | ... | @@ -167,8 +171,9 @@ extern wchar_t *__REDIRECT_NTH (__wcpcpy_alias, |
| 167 | __fortify_function wchar_t * | 171 | __fortify_function wchar_t * |
| 168 | __NTH (wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | 172 | __NTH (wcpcpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) |
| 169 | { | 173 | { |
| 170 | if (__bos (__dest) != (size_t) -1) | 174 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 171 | return __wcpcpy_chk (__dest, __src, __bos (__dest) / sizeof (wchar_t)); | 175 | return __wcpcpy_chk (__dest, __src, |
| 176 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); | ||
| 172 | return __wcpcpy_alias (__dest, __src); | 177 | return __wcpcpy_alias (__dest, __src); |
| 173 | } | 178 | } |
| 174 | 179 | ||
| ... | @@ -191,14 +196,15 @@ __fortify_function wchar_t * | ... | @@ -191,14 +196,15 @@ __fortify_function wchar_t * |
| 191 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | 196 | __NTH (wcsncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, |
| 192 | 		size_t __n)) | 197 | 		size_t __n)) |
| 193 | { | 198 | { |
| 194 | if (__bos (__dest) != (size_t) -1) | 199 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 195 | { | 200 | { |
| 196 | if (!__builtin_constant_p (__n)) | 201 | if (!__builtin_constant_p (__n)) |
| 197 | 	return __wcsncpy_chk (__dest, __src, __n, | 202 | 	return __wcsncpy_chk (__dest, __src, __n, |
| 198 | 			 __bos (__dest) / sizeof (wchar_t)); | 203 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); |
| 199 | if (__n > __bos (__dest) / sizeof (wchar_t)) | 204 | if (__n > __glibc_objsize (__dest) / sizeof (wchar_t)) |
| 200 | 	return __wcsncpy_chk_warn (__dest, __src, __n, | 205 | 	return __wcsncpy_chk_warn (__dest, __src, __n, |
| 201 | 				 __bos (__dest) / sizeof (wchar_t)); | 206 | 				 (__glibc_objsize (__dest) |
| 207 | 				 / sizeof (wchar_t))); | ||
| 202 | } | 208 | } |
| 203 | return __wcsncpy_alias (__dest, __src, __n); | 209 | return __wcsncpy_alias (__dest, __src, __n); |
| 204 | } | 210 | } |
| ... | @@ -222,14 +228,15 @@ __fortify_function wchar_t * | ... | @@ -222,14 +228,15 @@ __fortify_function wchar_t * |
| 222 | __NTH (wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | 228 | __NTH (wcpncpy (wchar_t *__restrict __dest, const wchar_t *__restrict __src, |
| 223 | 		size_t __n)) | 229 | 		size_t __n)) |
| 224 | { | 230 | { |
| 225 | if (__bos (__dest) != (size_t) -1) | 231 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 226 | { | 232 | { |
| 227 | if (!__builtin_constant_p (__n)) | 233 | if (!__builtin_constant_p (__n)) |
| 228 | 	return __wcpncpy_chk (__dest, __src, __n, | 234 | 	return __wcpncpy_chk (__dest, __src, __n, |
| 229 | 			 __bos (__dest) / sizeof (wchar_t)); | 235 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); |
| 230 | if (__n > __bos (__dest) / sizeof (wchar_t)) | 236 | if (__n > __glibc_objsize (__dest) / sizeof (wchar_t)) |
| 231 | 	return __wcpncpy_chk_warn (__dest, __src, __n, | 237 | 	return __wcpncpy_chk_warn (__dest, __src, __n, |
| 232 | 				 __bos (__dest) / sizeof (wchar_t)); | 238 | 				 (__glibc_objsize (__dest) |
| 239 | 				 / sizeof (wchar_t))); | ||
| 233 | } | 240 | } |
| 234 | return __wcpncpy_alias (__dest, __src, __n); | 241 | return __wcpncpy_alias (__dest, __src, __n); |
| 235 | } | 242 | } |
| ... | @@ -245,8 +252,9 @@ extern wchar_t *__REDIRECT_NTH (__wcscat_alias, | ... | @@ -245,8 +252,9 @@ extern wchar_t *__REDIRECT_NTH (__wcscat_alias, |
| 245 | __fortify_function wchar_t * | 252 | __fortify_function wchar_t * |
| 246 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) | 253 | __NTH (wcscat (wchar_t *__restrict __dest, const wchar_t *__restrict __src)) |
| 247 | { | 254 | { |
| 248 | if (__bos (__dest) != (size_t) -1) | 255 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 249 | return __wcscat_chk (__dest, __src, __bos (__dest) / sizeof (wchar_t)); | 256 | return __wcscat_chk (__dest, __src, |
| 257 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); | ||
| 250 | return __wcscat_alias (__dest, __src); | 258 | return __wcscat_alias (__dest, __src); |
| 251 | } | 259 | } |
| 252 | 260 | ||
| ... | @@ -263,9 +271,9 @@ __fortify_function wchar_t * | ... | @@ -263,9 +271,9 @@ __fortify_function wchar_t * |
| 263 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, | 271 | __NTH (wcsncat (wchar_t *__restrict __dest, const wchar_t *__restrict __src, |
| 264 | 		size_t __n)) | 272 | 		size_t __n)) |
| 265 | { | 273 | { |
| 266 | if (__bos (__dest) != (size_t) -1) | 274 | if (__glibc_objsize (__dest) != (size_t) -1) |
| 267 | return __wcsncat_chk (__dest, __src, __n, | 275 | return __wcsncat_chk (__dest, __src, __n, |
| 268 | 			 __bos (__dest) / sizeof (wchar_t)); | 276 | 			 __glibc_objsize (__dest) / sizeof (wchar_t)); |
| 269 | return __wcsncat_alias (__dest, __src, __n); | 277 | return __wcsncat_alias (__dest, __src, __n); |
| 270 | } | 278 | } |
| 271 | 279 | ||
| ... | @@ -285,18 +293,18 @@ __fortify_function int | ... | @@ -285,18 +293,18 @@ __fortify_function int |
| 285 | __NTH (swprintf (wchar_t *__restrict __s, size_t __n, | 293 | __NTH (swprintf (wchar_t *__restrict __s, size_t __n, |
| 286 | 		 const wchar_t *__restrict __fmt, ...)) | 294 | 		 const wchar_t *__restrict __fmt, ...)) |
| 287 | { | 295 | { |
| 288 | if (__bos (__s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1) | 296 | if (__glibc_objsize (__s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1) |
| 289 | return __swprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | 297 | return __swprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, |
| 290 | 			 __bos (__s) / sizeof (wchar_t), | 298 | 			 __glibc_objsize (__s) / sizeof (wchar_t), |
| 291 | 			 __fmt, __va_arg_pack ()); | 299 | 			 __fmt, __va_arg_pack ()); |
| 292 | return __swprintf_alias (__s, __n, __fmt, __va_arg_pack ()); | 300 | return __swprintf_alias (__s, __n, __fmt, __va_arg_pack ()); |
| 293 | } | 301 | } |
| 294 | #elif !defined __cplusplus | 302 | #elif !defined __cplusplus |
| 295 | /* XXX We might want to have support in gcc for swprintf. */ | 303 | /* XXX We might want to have support in gcc for swprintf. */ |
| 296 | # define swprintf(s, n, ...) \ | 304 | # define swprintf(s, n, ...) \ |
| 297 | (__bos (s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1			 \ | 305 | (__glibc_objsize (s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1		 \ |
| 298 | ? __swprintf_chk (s, n, __USE_FORTIFY_LEVEL - 1,			 \ | 306 | ? __swprintf_chk (s, n, __USE_FORTIFY_LEVEL - 1,			 \ |
| 299 | 		 __bos (s) / sizeof (wchar_t), __VA_ARGS__)		 \ | 307 | 		 __glibc_objsize (s) / sizeof (wchar_t), __VA_ARGS__)	 \ |
| 300 | : swprintf (s, n, __VA_ARGS__)) | 308 | : swprintf (s, n, __VA_ARGS__)) |
| 301 | #endif | 309 | #endif |
| 302 | 310 | ||
| ... | @@ -315,9 +323,10 @@ __fortify_function int | ... | @@ -315,9 +323,10 @@ __fortify_function int |
| 315 | __NTH (vswprintf (wchar_t *__restrict __s, size_t __n, | 323 | __NTH (vswprintf (wchar_t *__restrict __s, size_t __n, |
| 316 | 		 const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) | 324 | 		 const wchar_t *__restrict __fmt, __gnuc_va_list __ap)) |
| 317 | { | 325 | { |
| 318 | if (__bos (__s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1) | 326 | if (__glibc_objsize (__s) != (size_t) -1 || __USE_FORTIFY_LEVEL > 1) |
| 319 | return __vswprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | 327 | return __vswprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, |
| 320 | 			 __bos (__s) / sizeof (wchar_t), __fmt, __ap); | 328 | 			 __glibc_objsize (__s) / sizeof (wchar_t), __fmt, |
| 329 | 			 __ap); | ||
| 321 | return __vswprintf_alias (__s, __n, __fmt, __ap); | 330 | return __vswprintf_alias (__s, __n, __fmt, __ap); |
| 322 | } | 331 | } |
| 323 | 332 | ||
| ... | @@ -383,14 +392,15 @@ extern wchar_t *__REDIRECT (__fgetws_chk_warn, | ... | @@ -383,14 +392,15 @@ extern wchar_t *__REDIRECT (__fgetws_chk_warn, |
| 383 | __fortify_function __wur wchar_t * | 392 | __fortify_function __wur wchar_t * |
| 384 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | 393 | fgetws (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) |
| 385 | { | 394 | { |
| 386 | if (__bos (__s) != (size_t) -1) | 395 | if (__glibc_objsize (__s) != (size_t) -1) |
| 387 | { | 396 | { |
| 388 | if (!__builtin_constant_p (__n) || __n <= 0) | 397 | if (!__builtin_constant_p (__n) || __n <= 0) |
| 389 | 	return __fgetws_chk (__s, __bos (__s) / sizeof (wchar_t), | 398 | 	return __fgetws_chk (__s, __glibc_objsize (__s) / sizeof (wchar_t), |
| 390 | 			 __n, __stream); | 399 | 			 __n, __stream); |
| 391 | 400 | ||
| 392 | if ((size_t) __n > __bos (__s) / sizeof (wchar_t)) | 401 | if ((size_t) __n > __glibc_objsize (__s) / sizeof (wchar_t)) |
| 393 | 	return __fgetws_chk_warn (__s, __bos (__s) / sizeof (wchar_t), | 402 | 	return __fgetws_chk_warn (__s, |
| 403 | 				 __glibc_objsize (__s) / sizeof (wchar_t), | ||
| 394 | 				 __n, __stream); | 404 | 				 __n, __stream); |
| 395 | } | 405 | } |
| 396 | return __fgetws_alias (__s, __n, __stream); | 406 | return __fgetws_alias (__s, __n, __stream); |
| ... | @@ -414,14 +424,17 @@ extern wchar_t *__REDIRECT (__fgetws_unlocked_chk_warn, | ... | @@ -414,14 +424,17 @@ extern wchar_t *__REDIRECT (__fgetws_unlocked_chk_warn, |
| 414 | __fortify_function __wur wchar_t * | 424 | __fortify_function __wur wchar_t * |
| 415 | fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) | 425 | fgetws_unlocked (wchar_t *__restrict __s, int __n, __FILE *__restrict __stream) |
| 416 | { | 426 | { |
| 417 | if (__bos (__s) != (size_t) -1) | 427 | if (__glibc_objsize (__s) != (size_t) -1) |
| 418 | { | 428 | { |
| 419 | if (!__builtin_constant_p (__n) || __n <= 0) | 429 | if (!__builtin_constant_p (__n) || __n <= 0) |
| 420 | 	return __fgetws_unlocked_chk (__s, __bos (__s) / sizeof (wchar_t), | 430 | 	return __fgetws_unlocked_chk (__s, |
| 431 | 				 __glibc_objsize (__s) / sizeof (wchar_t), | ||
| 421 | 				 __n, __stream); | 432 | 				 __n, __stream); |
| 422 | 433 | ||
| 423 | if ((size_t) __n > __bos (__s) / sizeof (wchar_t)) | 434 | if ((size_t) __n > __glibc_objsize (__s) / sizeof (wchar_t)) |
| 424 | 	return __fgetws_unlocked_chk_warn (__s, __bos (__s) / sizeof (wchar_t), | 435 | 	return __fgetws_unlocked_chk_warn (__s, |
| 436 | 					 (__glibc_objsize (__s) | ||
| 437 | 					 / sizeof (wchar_t)), | ||
| 425 | 					 __n, __stream); | 438 | 					 __n, __stream); |
| 426 | } | 439 | } |
| 427 | return __fgetws_unlocked_alias (__s, __n, __stream); | 440 | return __fgetws_unlocked_alias (__s, __n, __stream); |
| ... | @@ -447,8 +460,9 @@ __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, | ... | @@ -447,8 +460,9 @@ __NTH (wcrtomb (char *__restrict __s, wchar_t __wchar, |
| 447 | #if defined MB_LEN_MAX && MB_LEN_MAX != __WCHAR_MB_LEN_MAX | 460 | #if defined MB_LEN_MAX && MB_LEN_MAX != __WCHAR_MB_LEN_MAX |
| 448 | # error "Assumed value of MB_LEN_MAX wrong" | 461 | # error "Assumed value of MB_LEN_MAX wrong" |
| 449 | #endif | 462 | #endif |
| 450 | if (__bos (__s) != (size_t) -1 && __WCHAR_MB_LEN_MAX > __bos (__s)) | 463 | if (__glibc_objsize (__s) != (size_t) -1 |
| 451 | return __wcrtomb_chk (__s, __wchar, __ps, __bos (__s)); | 464 | && __WCHAR_MB_LEN_MAX > __glibc_objsize (__s)) |
| 465 | return __wcrtomb_chk (__s, __wchar, __ps, __glibc_objsize (__s)); | ||
| 452 | return __wcrtomb_alias (__s, __wchar, __ps); | 466 | return __wcrtomb_alias (__s, __wchar, __ps); |
| 453 | } | 467 | } |
| 454 | 468 | ||
| ... | @@ -474,15 +488,16 @@ __fortify_function size_t | ... | @@ -474,15 +488,16 @@ __fortify_function size_t |
| 474 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | 488 | __NTH (mbsrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, |
| 475 | 		 size_t __len, mbstate_t *__restrict __ps)) | 489 | 		 size_t __len, mbstate_t *__restrict __ps)) |
| 476 | { | 490 | { |
| 477 | if (__bos (__dst) != (size_t) -1) | 491 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 478 | { | 492 | { |
| 479 | if (!__builtin_constant_p (__len)) | 493 | if (!__builtin_constant_p (__len)) |
| 480 | 	return __mbsrtowcs_chk (__dst, __src, __len, __ps, | 494 | 	return __mbsrtowcs_chk (__dst, __src, __len, __ps, |
| 481 | 				__bos (__dst) / sizeof (wchar_t)); | 495 | 				__glibc_objsize (__dst) / sizeof (wchar_t)); |
| 482 | 496 | ||
| 483 | if (__len > __bos (__dst) / sizeof (wchar_t)) | 497 | if (__len > __glibc_objsize (__dst) / sizeof (wchar_t)) |
| 484 | 	return __mbsrtowcs_chk_warn (__dst, __src, __len, __ps, | 498 | 	return __mbsrtowcs_chk_warn (__dst, __src, __len, __ps, |
| 485 | 				 __bos (__dst) / sizeof (wchar_t)); | 499 | 				 (__glibc_objsize (__dst) |
| 500 | 				 / sizeof (wchar_t))); | ||
| 486 | } | 501 | } |
| 487 | return __mbsrtowcs_alias (__dst, __src, __len, __ps); | 502 | return __mbsrtowcs_alias (__dst, __src, __len, __ps); |
| 488 | } | 503 | } |
| ... | @@ -508,13 +523,15 @@ __fortify_function size_t | ... | @@ -508,13 +523,15 @@ __fortify_function size_t |
| 508 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | 523 | __NTH (wcsrtombs (char *__restrict __dst, const wchar_t **__restrict __src, |
| 509 | 		 size_t __len, mbstate_t *__restrict __ps)) | 524 | 		 size_t __len, mbstate_t *__restrict __ps)) |
| 510 | { | 525 | { |
| 511 | if (__bos (__dst) != (size_t) -1) | 526 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 512 | { | 527 | { |
| 513 | if (!__builtin_constant_p (__len)) | 528 | if (!__builtin_constant_p (__len)) |
| 514 | 	return __wcsrtombs_chk (__dst, __src, __len, __ps, __bos (__dst)); | 529 | 	return __wcsrtombs_chk (__dst, __src, __len, __ps, |
| 530 | 				__glibc_objsize (__dst)); | ||
| 515 | 531 | ||
| 516 | if (__len > __bos (__dst)) | 532 | if (__len > __glibc_objsize (__dst)) |
| 517 | 	return __wcsrtombs_chk_warn (__dst, __src, __len, __ps, __bos (__dst)); | 533 | 	return __wcsrtombs_chk_warn (__dst, __src, __len, __ps, |
| 534 | 				 __glibc_objsize (__dst)); | ||
| 518 | } | 535 | } |
| 519 | return __wcsrtombs_alias (__dst, __src, __len, __ps); | 536 | return __wcsrtombs_alias (__dst, __src, __len, __ps); |
| 520 | } | 537 | } |
| ... | @@ -542,15 +559,16 @@ __fortify_function size_t | ... | @@ -542,15 +559,16 @@ __fortify_function size_t |
| 542 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, | 559 | __NTH (mbsnrtowcs (wchar_t *__restrict __dst, const char **__restrict __src, |
| 543 | 		 size_t __nmc, size_t __len, mbstate_t *__restrict __ps)) | 560 | 		 size_t __nmc, size_t __len, mbstate_t *__restrict __ps)) |
| 544 | { | 561 | { |
| 545 | if (__bos (__dst) != (size_t) -1) | 562 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 546 | { | 563 | { |
| 547 | if (!__builtin_constant_p (__len)) | 564 | if (!__builtin_constant_p (__len)) |
| 548 | 	return __mbsnrtowcs_chk (__dst, __src, __nmc, __len, __ps, | 565 | 	return __mbsnrtowcs_chk (__dst, __src, __nmc, __len, __ps, |
| 549 | 				 __bos (__dst) / sizeof (wchar_t)); | 566 | 				 __glibc_objsize (__dst) / sizeof (wchar_t)); |
| 550 | 567 | ||
| 551 | if (__len > __bos (__dst) / sizeof (wchar_t)) | 568 | if (__len > __glibc_objsize (__dst) / sizeof (wchar_t)) |
| 552 | 	return __mbsnrtowcs_chk_warn (__dst, __src, __nmc, __len, __ps, | 569 | 	return __mbsnrtowcs_chk_warn (__dst, __src, __nmc, __len, __ps, |
| 553 | 				 __bos (__dst) / sizeof (wchar_t)); | 570 | 				 (__glibc_objsize (__dst) |
| 571 | 				 / sizeof (wchar_t))); | ||
| 554 | } | 572 | } |
| 555 | return __mbsnrtowcs_alias (__dst, __src, __nmc, __len, __ps); | 573 | return __mbsnrtowcs_alias (__dst, __src, __nmc, __len, __ps); |
| 556 | } | 574 | } |
| ... | @@ -578,15 +596,15 @@ __fortify_function size_t | ... | @@ -578,15 +596,15 @@ __fortify_function size_t |
| 578 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, | 596 | __NTH (wcsnrtombs (char *__restrict __dst, const wchar_t **__restrict __src, |
| 579 | 		 size_t __nwc, size_t __len, mbstate_t *__restrict __ps)) | 597 | 		 size_t __nwc, size_t __len, mbstate_t *__restrict __ps)) |
| 580 | { | 598 | { |
| 581 | if (__bos (__dst) != (size_t) -1) | 599 | if (__glibc_objsize (__dst) != (size_t) -1) |
| 582 | { | 600 | { |
| 583 | if (!__builtin_constant_p (__len)) | 601 | if (!__builtin_constant_p (__len)) |
| 584 | 	return __wcsnrtombs_chk (__dst, __src, __nwc, __len, __ps, | 602 | 	return __wcsnrtombs_chk (__dst, __src, __nwc, __len, __ps, |
| 585 | 				 __bos (__dst)); | 603 | 				 __glibc_objsize (__dst)); |
| 586 | 604 | ||
| 587 | if (__len > __bos (__dst)) | 605 | if (__len > __glibc_objsize (__dst)) |
| 588 | 	return __wcsnrtombs_chk_warn (__dst, __src, __nwc, __len, __ps, | 606 | 	return __wcsnrtombs_chk_warn (__dst, __src, __nwc, __len, __ps, |
| 589 | 				 __bos (__dst)); | 607 | 				 __glibc_objsize (__dst)); |
| 590 | } | 608 | } |
| 591 | return __wcsnrtombs_alias (__dst, __src, __nwc, __len, __ps); | 609 | return __wcsnrtombs_alias (__dst, __src, __nwc, __len, __ps); |
| 592 | } | 610 | } |
lib/libc/include/generic-glibc/bits/wctype-wchar.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/wordsize.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/bits/xopen_lim.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/byteswap.h+4-3| ... | @@ -1,4 +1,5 @@ | ... | @@ -1,4 +1,5 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Swap byte order for 16, 32 and 64 bit values |
| 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 3 | 4 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -24,10 +25,10 @@ | ... | @@ -24,10 +25,10 @@ |
| 24 | #include <bits/byteswap.h> | 25 | #include <bits/byteswap.h> |
| 25 | 26 | ||
| 26 | 27 | ||
| 27 | /* The following definitions must all be macros since otherwise some | 28 | /* The following definitions must all be macros, otherwise some |
| 28 | of the possible optimizations are not possible. */ | 29 | of the possible optimizations are not possible. */ |
| 29 | 30 | ||
| 30 | /* Return a value with all bytes in the 16 bit argument swapped. */ | 31 | /* Return a value with both bytes in the 16 bit argument swapped. */ |
| 31 | #define bswap_16(x) __bswap_16 (x) | 32 | #define bswap_16(x) __bswap_16 (x) |
| 32 | 33 | ||
| 33 | /* Return a value with all bytes in the 32 bit argument swapped. */ | 34 | /* Return a value with all bytes in the 32 bit argument swapped. */ |
lib/libc/include/generic-glibc/complex.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/cpio.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Extended cpio format from POSIX.1. | 1 | /* Extended cpio format from POSIX.1. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 4 | NOTE: The canonical source of this file is maintained with the GNU cpio. | 4 | NOTE: The canonical source of this file is maintained with the GNU cpio. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/crypt.h+1-1| ... | @@ -1,7 +1,7 @@ | ... | @@ -1,7 +1,7 @@ |
| 1 | /* | 1 | /* |
| 2 | * UFC-crypt: ultra fast crypt(3) implementation | 2 | * UFC-crypt: ultra fast crypt(3) implementation |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 1991-2020 Free Software Foundation, Inc. | 4 | * Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 5 | * | 5 | * |
| 6 | * The GNU C Library is free software; you can redistribute it and/or | 6 | * The GNU C Library is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU Lesser General Public | 7 | * modify it under the terms of the GNU Lesser General Public |
lib/libc/include/generic-glibc/ctype.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/dirent.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/dlfcn.h+2-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* User functions for run-time dynamic loading. | 1 | /* User functions for run-time dynamic loading. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
| 40 | # define RTLD_DEFAULT	((void *) 0) | 40 | # define RTLD_DEFAULT	((void *) 0) |
| 41 | 41 | ||
| 42 | 42 | ||
| 43 | /* Type for namespace indeces. */ | 43 | /* Type for namespace indices. */ |
| 44 | typedef long int Lmid_t; | 44 | typedef long int Lmid_t; |
| 45 | 45 | ||
| 46 | /* Special namespace ID values. */ | 46 | /* Special namespace ID values. */ |
lib/libc/include/generic-glibc/elf.h+25-33| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* This file defines standard ELF types, structures, and macros. | 1 | /* This file defines standard ELF types, structures, and macros. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -19,10 +19,6 @@ | ... | @@ -19,10 +19,6 @@ |
| 19 | #ifndef _ELF_H | 19 | #ifndef _ELF_H |
| 20 | #define	_ELF_H 1 | 20 | #define	_ELF_H 1 |
| 21 | 21 | ||
| 22 | #include <features.h> | ||
| 23 | |||
| 24 | __BEGIN_DECLS | ||
| 25 | |||
| 26 | /* Standard ELF types. */ | 22 | /* Standard ELF types. */ |
| 27 | 23 | ||
| 28 | #include <stdint.h> | 24 | #include <stdint.h> |
| ... | @@ -322,7 +318,7 @@ typedef struct | ... | @@ -322,7 +318,7 @@ typedef struct |
| 322 | 				/* reserved 184 */ | 318 | 				/* reserved 184 */ |
| 323 | #define EM_AVR32	185	/* Amtel 32-bit microprocessor */ | 319 | #define EM_AVR32	185	/* Amtel 32-bit microprocessor */ |
| 324 | #define EM_STM8		186	/* STMicroelectronics STM8 */ | 320 | #define EM_STM8		186	/* STMicroelectronics STM8 */ |
| 325 | #define EM_TILE64	187	/* Tileta TILE64 */ | 321 | #define EM_TILE64	187	/* Tilera TILE64 */ |
| 326 | #define EM_TILEPRO	188	/* Tilera TILEPro */ | 322 | #define EM_TILEPRO	188	/* Tilera TILEPro */ |
| 327 | #define EM_MICROBLAZE	189	/* Xilinx MicroBlaze */ | 323 | #define EM_MICROBLAZE	189	/* Xilinx MicroBlaze */ |
| 328 | #define EM_CUDA		190	/* NVIDIA CUDA */ | 324 | #define EM_CUDA		190	/* NVIDIA CUDA */ |
| ... | @@ -445,7 +441,7 @@ typedef struct | ... | @@ -445,7 +441,7 @@ typedef struct |
| 445 | #define SHT_FINI_ARRAY	 15		/* Array of destructors */ | 441 | #define SHT_FINI_ARRAY	 15		/* Array of destructors */ |
| 446 | #define SHT_PREINIT_ARRAY 16		/* Array of pre-constructors */ | 442 | #define SHT_PREINIT_ARRAY 16		/* Array of pre-constructors */ |
| 447 | #define SHT_GROUP	 17		/* Section group */ | 443 | #define SHT_GROUP	 17		/* Section group */ |
| 448 | #define SHT_SYMTAB_SHNDX 18		/* Extended section indeces */ | 444 | #define SHT_SYMTAB_SHNDX 18		/* Extended section indices */ |
| 449 | #define	SHT_NUM		 19		/* Number of defined types. */ | 445 | #define	SHT_NUM		 19		/* Number of defined types. */ |
| 450 | #define SHT_LOOS	 0x60000000	/* Start OS-specific. */ | 446 | #define SHT_LOOS	 0x60000000	/* Start OS-specific. */ |
| 451 | #define SHT_GNU_ATTRIBUTES 0x6ffffff5	/* Object attributes. */ | 447 | #define SHT_GNU_ATTRIBUTES 0x6ffffff5	/* Object attributes. */ |
| ... | @@ -482,6 +478,7 @@ typedef struct | ... | @@ -482,6 +478,7 @@ typedef struct |
| 482 | #define SHF_COMPRESSED	 (1 << 11)	/* Section with compressed data. */ | 478 | #define SHF_COMPRESSED	 (1 << 11)	/* Section with compressed data. */ |
| 483 | #define SHF_MASKOS	 0x0ff00000	/* OS-specific. */ | 479 | #define SHF_MASKOS	 0x0ff00000	/* OS-specific. */ |
| 484 | #define SHF_MASKPROC	 0xf0000000	/* Processor-specific */ | 480 | #define SHF_MASKPROC	 0xf0000000	/* Processor-specific */ |
| 481 | #define SHF_GNU_RETAIN	 (1 << 21) /* Not to be GCed by linker. */ | ||
| 485 | #define SHF_ORDERED	 (1 << 30)	/* Special ordering requirement | 482 | #define SHF_ORDERED	 (1 << 30)	/* Special ordering requirement |
| 486 | 					 (Solaris). */ | 483 | 					 (Solaris). */ |
| 487 | #define SHF_EXCLUDE	 (1U << 31)	/* Section is excluded unless | 484 | #define SHF_EXCLUDE	 (1U << 31)	/* Section is excluded unless |
| ... | @@ -1050,7 +1047,7 @@ typedef struct | ... | @@ -1050,7 +1047,7 @@ typedef struct |
| 1050 | #define	VER_NDX_LORESERVE	0xff00	/* Beginning of reserved entries. */ | 1047 | #define	VER_NDX_LORESERVE	0xff00	/* Beginning of reserved entries. */ |
| 1051 | #define	VER_NDX_ELIMINATE	0xff01	/* Symbol is to be eliminated. */ | 1048 | #define	VER_NDX_ELIMINATE	0xff01	/* Symbol is to be eliminated. */ |
| 1052 | 1049 | ||
| 1053 | /* Auxialiary version information. */ | 1050 | /* Auxiliary version information. */ |
| 1054 | 1051 | ||
| 1055 | typedef struct | 1052 | typedef struct |
| 1056 | { | 1053 | { |
| ... | @@ -1327,31 +1324,26 @@ typedef struct | ... | @@ -1327,31 +1324,26 @@ typedef struct |
| 1327 | 1324 | ||
| 1328 | /* The x86 instruction sets indicated by the corresponding bits are | 1325 | /* The x86 instruction sets indicated by the corresponding bits are |
| 1329 | used in program. Their support in the hardware is optional. */ | 1326 | used in program. Their support in the hardware is optional. */ |
| 1330 | #define GNU_PROPERTY_X86_ISA_1_USED		0xc0000000 | 1327 | #define GNU_PROPERTY_X86_ISA_1_USED		0xc0010002 |
| 1331 | /* The x86 instruction sets indicated by the corresponding bits are | 1328 | /* The x86 instruction sets indicated by the corresponding bits are |
| 1332 | used in program and they must be supported by the hardware. */ | 1329 | used in program and they must be supported by the hardware. */ |
| 1333 | #define GNU_PROPERTY_X86_ISA_1_NEEDED		0xc0000001 | 1330 | #define GNU_PROPERTY_X86_ISA_1_NEEDED		0xc0008002 |
| 1334 | /* X86 processor-specific features used in program. */ | 1331 | /* X86 processor-specific features used in program. */ |
| 1335 | #define GNU_PROPERTY_X86_FEATURE_1_AND		0xc0000002 | 1332 | #define GNU_PROPERTY_X86_FEATURE_1_AND		0xc0000002 |
| 1336 | 1333 | ||
| 1337 | #define GNU_PROPERTY_X86_ISA_1_486		(1U << 0) | 1334 | /* GNU_PROPERTY_X86_ISA_1_BASELINE: CMOV, CX8 (cmpxchg8b), FPU (fld), |
| 1338 | #define GNU_PROPERTY_X86_ISA_1_586		(1U << 1) | 1335 | MMX, OSFXSR (fxsave), SCE (syscall), SSE and SSE2. */ |
| 1339 | #define GNU_PROPERTY_X86_ISA_1_686		(1U << 2) | 1336 | #define GNU_PROPERTY_X86_ISA_1_BASELINE		(1U << 0) |
| 1340 | #define GNU_PROPERTY_X86_ISA_1_SSE		(1U << 3) | 1337 | /* GNU_PROPERTY_X86_ISA_1_V2: GNU_PROPERTY_X86_ISA_1_BASELINE, |
| 1341 | #define GNU_PROPERTY_X86_ISA_1_SSE2		(1U << 4) | 1338 | CMPXCHG16B (cmpxchg16b), LAHF-SAHF (lahf), POPCNT (popcnt), SSE3, |
| 1342 | #define GNU_PROPERTY_X86_ISA_1_SSE3		(1U << 5) | 1339 | SSSE3, SSE4.1 and SSE4.2. */ |
| 1343 | #define GNU_PROPERTY_X86_ISA_1_SSSE3		(1U << 6) | 1340 | #define GNU_PROPERTY_X86_ISA_1_V2		(1U << 1) |
| 1344 | #define GNU_PROPERTY_X86_ISA_1_SSE4_1		(1U << 7) | 1341 | /* GNU_PROPERTY_X86_ISA_1_V3: GNU_PROPERTY_X86_ISA_1_V2, AVX, AVX2, BMI1, |
| 1345 | #define GNU_PROPERTY_X86_ISA_1_SSE4_2		(1U << 8) | 1342 | BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE. */ |
| 1346 | #define GNU_PROPERTY_X86_ISA_1_AVX		(1U << 9) | 1343 | #define GNU_PROPERTY_X86_ISA_1_V3		(1U << 2) |
| 1347 | #define GNU_PROPERTY_X86_ISA_1_AVX2		(1U << 10) | 1344 | /* GNU_PROPERTY_X86_ISA_1_V4: GNU_PROPERTY_X86_ISA_1_V3, AVX512F, |
| 1348 | #define GNU_PROPERTY_X86_ISA_1_AVX512F		(1U << 11) | 1345 | AVX512BW, AVX512CD, AVX512DQ and AVX512VL. */ |
| 1349 | #define GNU_PROPERTY_X86_ISA_1_AVX512CD		(1U << 12) | 1346 | #define GNU_PROPERTY_X86_ISA_1_V4		(1U << 3) |
| 1350 | #define GNU_PROPERTY_X86_ISA_1_AVX512ER		(1U << 13) | ||
| 1351 | #define GNU_PROPERTY_X86_ISA_1_AVX512PF		(1U << 14) | ||
| 1352 | #define GNU_PROPERTY_X86_ISA_1_AVX512VL		(1U << 15) | ||
| 1353 | #define GNU_PROPERTY_X86_ISA_1_AVX512DQ		(1U << 16) | ||
| 1354 | #define GNU_PROPERTY_X86_ISA_1_AVX512BW		(1U << 17) | ||
| 1355 | 1347 | ||
| 1356 | /* This indicates that all executable sections are compatible with | 1348 | /* This indicates that all executable sections are compatible with |
| 1357 | IBT. */ | 1349 | IBT. */ |
| ... | @@ -2143,9 +2135,9 @@ enum | ... | @@ -2143,9 +2135,9 @@ enum |
| 2143 | #define EFA_PARISC_1_1		 0x0210 /* PA-RISC 1.1 big-endian. */ | 2135 | #define EFA_PARISC_1_1		 0x0210 /* PA-RISC 1.1 big-endian. */ |
| 2144 | #define EFA_PARISC_2_0		 0x0214 /* PA-RISC 2.0 big-endian. */ | 2136 | #define EFA_PARISC_2_0		 0x0214 /* PA-RISC 2.0 big-endian. */ |
| 2145 | 2137 | ||
| 2146 | /* Additional section indeces. */ | 2138 | /* Additional section indices. */ |
| 2147 | 2139 | ||
| 2148 | #define SHN_PARISC_ANSI_COMMON	0xff00	 /* Section for tenatively declared | 2140 | #define SHN_PARISC_ANSI_COMMON	0xff00	 /* Section for tentatively declared |
| 2149 | 					 symbols in ANSI C. */ | 2141 | 					 symbols in ANSI C. */ |
| 2150 | #define SHN_PARISC_HUGE_COMMON	0xff01	 /* Common blocks in huge model. */ | 2142 | #define SHN_PARISC_HUGE_COMMON	0xff01	 /* Common blocks in huge model. */ |
| 2151 | 2143 | ||
| ... | @@ -2875,6 +2867,8 @@ enum | ... | @@ -2875,6 +2867,8 @@ enum |
| 2875 | #define R_AARCH64_IRELATIVE	1032	/* STT_GNU_IFUNC relocation. */ | 2867 | #define R_AARCH64_IRELATIVE	1032	/* STT_GNU_IFUNC relocation. */ |
| 2876 | 2868 | ||
| 2877 | /* AArch64 specific values for the Dyn d_tag field. */ | 2869 | /* AArch64 specific values for the Dyn d_tag field. */ |
| 2870 | #define DT_AARCH64_BTI_PLT	(DT_LOPROC + 1) | ||
| 2871 | #define DT_AARCH64_PAC_PLT	(DT_LOPROC + 3) | ||
| 2878 | #define DT_AARCH64_VARIANT_PCS	(DT_LOPROC + 5) | 2872 | #define DT_AARCH64_VARIANT_PCS	(DT_LOPROC + 5) |
| 2879 | #define DT_AARCH64_NUM		6 | 2873 | #define DT_AARCH64_NUM		6 |
| 2880 | 2874 | ||
| ... | @@ -3972,7 +3966,7 @@ enum | ... | @@ -3972,7 +3966,7 @@ enum |
| 3972 | #define R_METAG_RELBRANCH	4 | 3966 | #define R_METAG_RELBRANCH	4 |
| 3973 | #define R_METAG_GETSETOFF	5 | 3967 | #define R_METAG_GETSETOFF	5 |
| 3974 | 3968 | ||
| 3975 | /* Backward compatability */ | 3969 | /* Backward compatibility */ |
| 3976 | #define R_METAG_REG32OP1	6 | 3970 | #define R_METAG_REG32OP1	6 |
| 3977 | #define R_METAG_REG32OP2	7 | 3971 | #define R_METAG_REG32OP2	7 |
| 3978 | #define R_METAG_REG32OP3	8 | 3972 | #define R_METAG_REG32OP3	8 |
| ... | @@ -4103,6 +4097,4 @@ enum | ... | @@ -4103,6 +4097,4 @@ enum |
| 4103 | #define R_ARC_TLS_LE_S9		0x4a | 4097 | #define R_ARC_TLS_LE_S9		0x4a |
| 4104 | #define R_ARC_TLS_LE_32		0x4b | 4098 | #define R_ARC_TLS_LE_32		0x4b |
| 4105 | 4099 | ||
| 4106 | __END_DECLS | ||
| 4107 | |||
| 4108 | #endif	/* elf.h */ | 4100 | #endif	/* elf.h */ |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/endian.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/envz.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Routines for dealing with '\0' separated environment vectors | 1 | /* Routines for dealing with '\0' separated environment vectors |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/err.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* 4.4BSD utility functions for error messages. | 1 | /* 4.4BSD utility functions for error messages. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/errno.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/error.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declaration for error-reporting function | 1 | /* Declaration for error-reporting function |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/execinfo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fcntl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/features.h+10-2| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -397,7 +397,15 @@ | ... | @@ -397,7 +397,15 @@ |
| 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) |
| 398 | # elif !__GNUC_PREREQ (4, 1) | 398 | # elif !__GNUC_PREREQ (4, 1) |
| 399 | # warning _FORTIFY_SOURCE requires GCC 4.1 or later | 399 | # warning _FORTIFY_SOURCE requires GCC 4.1 or later |
| 400 | # elif _FORTIFY_SOURCE > 2 && __glibc_clang_prereq (9, 0) | ||
| 401 | # if _FORTIFY_SOURCE > 3 | ||
| 402 | # warning _FORTIFY_SOURCE > 3 is treated like 3 on this platform | ||
| 403 | # endif | ||
| 404 | # define __USE_FORTIFY_LEVEL 3 | ||
| 400 | # elif _FORTIFY_SOURCE > 1 | 405 | # elif _FORTIFY_SOURCE > 1 |
| 406 | # if _FORTIFY_SOURCE > 2 | ||
| 407 | # warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform | ||
| 408 | # endif | ||
| 401 | # define __USE_FORTIFY_LEVEL 2 | 409 | # define __USE_FORTIFY_LEVEL 2 |
| 402 | # else | 410 | # else |
| 403 | # define __USE_FORTIFY_LEVEL 1 | 411 | # define __USE_FORTIFY_LEVEL 1 |
| ... | @@ -454,7 +462,7 @@ | ... | @@ -454,7 +462,7 @@ |
| 454 | /* Major and minor version number of the GNU C library package. Use | 462 | /* Major and minor version number of the GNU C library package. Use |
| 455 | these macros to test for features in specific releases. */ | 463 | these macros to test for features in specific releases. */ |
| 456 | #define	__GLIBC__	2 | 464 | #define	__GLIBC__	2 |
| 457 | #define	__GLIBC_MINOR__	32 | 465 | #define	__GLIBC_MINOR__	33 |
| 458 | 466 | ||
| 459 | #define __GLIBC_PREREQ(maj, min) \ | 467 | #define __GLIBC_PREREQ(maj, min) \ |
| 460 | 	((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) | 468 | 	((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) |
lib/libc/include/generic-glibc/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/finclude/math-vector-fortran.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | ! Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | ! This file is part of the GNU C Library. | 3 | ! This file is part of the GNU C Library. |
| 4 | ! | 4 | ! |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fmtmsg.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Message display handling. | 1 | /* Message display handling. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fnmatch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fpregdef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. Mips version. | 1 | /* FPU control word bits. Mips version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/fts.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* File tree traversal functions declarations. | 1 | /* File tree traversal functions declarations. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/ftw.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/gconv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/getopt.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for getopt. | 1 | /* Declarations for getopt. |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1989-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Unlike the bulk of the getopt implementation, this file is NOT part | 4 | Unlike the bulk of the getopt implementation, this file is NOT part |
| 5 | of gnulib; gnulib also has a getopt.h but it is different. | 5 | of gnulib; gnulib also has a getopt.h but it is different. |
lib/libc/include/generic-glibc/glob.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/gnu-versions.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Header with interface version macros for library pieces copied elsewhere. | 1 | /* Header with interface version macros for library pieces copied elsewhere. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/gnu/libc-version.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Interface to GNU libc specific functions for version information. | 1 | /* Interface to GNU libc specific functions for version information. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/grp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/gshadow.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2009-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/iconv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/ifaddrs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* ifaddrs.h -- declarations for getting network interface addresses | 1 | /* ifaddrs.h -- declarations for getting network interface addresses |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/inttypes.h+1-119| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -311,124 +311,6 @@ extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, | ... | @@ -311,124 +311,6 @@ extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr, |
| 311 | 			 __gwchar_t ** __restrict __endptr, int __base) | 311 | 			 __gwchar_t ** __restrict __endptr, int __base) |
| 312 | __THROW; | 312 | __THROW; |
| 313 | 313 | ||
| 314 | #ifdef __USE_EXTERN_INLINES | ||
| 315 | |||
| 316 | # if __WORDSIZE == 64 | ||
| 317 | |||
| 318 | extern long int __strtol_internal (const char *__restrict __nptr, | ||
| 319 | 				 char **__restrict __endptr, | ||
| 320 | 				 int __base, int __group) | ||
| 321 | __THROW __nonnull ((1)) __wur; | ||
| 322 | /* Like `strtol' but convert to `intmax_t'. */ | ||
| 323 | __extern_inline intmax_t | ||
| 324 | __NTH (strtoimax (const char *__restrict __nptr, char **__restrict __endptr, | ||
| 325 | 		 int __base)) | ||
| 326 | { | ||
| 327 | return __strtol_internal (__nptr, __endptr, __base, 0); | ||
| 328 | } | ||
| 329 | |||
| 330 | extern unsigned long int __strtoul_internal (const char *__restrict __nptr, | ||
| 331 | 					 char ** __restrict __endptr, | ||
| 332 | 					 int __base, int __group) | ||
| 333 | __THROW __nonnull ((1)) __wur; | ||
| 334 | /* Like `strtoul' but convert to `uintmax_t'. */ | ||
| 335 | __extern_inline uintmax_t | ||
| 336 | __NTH (strtoumax (const char *__restrict __nptr, char **__restrict __endptr, | ||
| 337 | 		 int __base)) | ||
| 338 | { | ||
| 339 | return __strtoul_internal (__nptr, __endptr, __base, 0); | ||
| 340 | } | ||
| 341 | |||
| 342 | extern long int __wcstol_internal (const __gwchar_t * __restrict __nptr, | ||
| 343 | 				 __gwchar_t **__restrict __endptr, | ||
| 344 | 				 int __base, int __group) | ||
| 345 | __THROW __nonnull ((1)) __wur; | ||
| 346 | /* Like `wcstol' but convert to `intmax_t'. */ | ||
| 347 | __extern_inline intmax_t | ||
| 348 | __NTH (wcstoimax (const __gwchar_t *__restrict __nptr, | ||
| 349 | 		 __gwchar_t **__restrict __endptr, int __base)) | ||
| 350 | { | ||
| 351 | return __wcstol_internal (__nptr, __endptr, __base, 0); | ||
| 352 | } | ||
| 353 | |||
| 354 | extern unsigned long int __wcstoul_internal (const __gwchar_t * | ||
| 355 | 					 __restrict __nptr, | ||
| 356 | 					 __gwchar_t ** | ||
| 357 | 					 __restrict __endptr, | ||
| 358 | 					 int __base, int __group) | ||
| 359 | __THROW __nonnull ((1)) __wur; | ||
| 360 | /* Like `wcstoul' but convert to `uintmax_t'. */ | ||
| 361 | __extern_inline uintmax_t | ||
| 362 | __NTH (wcstoumax (const __gwchar_t *__restrict __nptr, | ||
| 363 | 		 __gwchar_t **__restrict __endptr, int __base)) | ||
| 364 | { | ||
| 365 | return __wcstoul_internal (__nptr, __endptr, __base, 0); | ||
| 366 | } | ||
| 367 | |||
| 368 | # else /* __WORDSIZE == 32 */ | ||
| 369 | |||
| 370 | __extension__ | ||
| 371 | extern long long int __strtoll_internal (const char *__restrict __nptr, | ||
| 372 | 					 char **__restrict __endptr, | ||
| 373 | 					 int __base, int __group) | ||
| 374 | __THROW __nonnull ((1)) __wur; | ||
| 375 | /* Like `strtol' but convert to `intmax_t'. */ | ||
| 376 | __extern_inline intmax_t | ||
| 377 | __NTH (strtoimax (const char *__restrict __nptr, char **__restrict __endptr, | ||
| 378 | 		 int __base)) | ||
| 379 | { | ||
| 380 | return __strtoll_internal (__nptr, __endptr, __base, 0); | ||
| 381 | } | ||
| 382 | |||
| 383 | __extension__ | ||
| 384 | extern unsigned long long int __strtoull_internal (const char * | ||
| 385 | 						 __restrict __nptr, | ||
| 386 | 						 char ** | ||
| 387 | 						 __restrict __endptr, | ||
| 388 | 						 int __base, | ||
| 389 | 						 int __group) | ||
| 390 | __THROW __nonnull ((1)) __wur; | ||
| 391 | /* Like `strtoul' but convert to `uintmax_t'. */ | ||
| 392 | __extern_inline uintmax_t | ||
| 393 | __NTH (strtoumax (const char *__restrict __nptr, char **__restrict __endptr, | ||
| 394 | 		 int __base)) | ||
| 395 | { | ||
| 396 | return __strtoull_internal (__nptr, __endptr, __base, 0); | ||
| 397 | } | ||
| 398 | |||
| 399 | __extension__ | ||
| 400 | extern long long int __wcstoll_internal (const __gwchar_t *__restrict __nptr, | ||
| 401 | 					 __gwchar_t **__restrict __endptr, | ||
| 402 | 					 int __base, int __group) | ||
| 403 | __THROW __nonnull ((1)) __wur; | ||
| 404 | /* Like `wcstol' but convert to `intmax_t'. */ | ||
| 405 | __extern_inline intmax_t | ||
| 406 | __NTH (wcstoimax (const __gwchar_t *__restrict __nptr, | ||
| 407 | 		 __gwchar_t **__restrict __endptr, int __base)) | ||
| 408 | { | ||
| 409 | return __wcstoll_internal (__nptr, __endptr, __base, 0); | ||
| 410 | } | ||
| 411 | |||
| 412 | |||
| 413 | __extension__ | ||
| 414 | extern unsigned long long int __wcstoull_internal (const __gwchar_t * | ||
| 415 | 						 __restrict __nptr, | ||
| 416 | 						 __gwchar_t ** | ||
| 417 | 						 __restrict __endptr, | ||
| 418 | 						 int __base, | ||
| 419 | 						 int __group) | ||
| 420 | __THROW __nonnull ((1)) __wur; | ||
| 421 | /* Like `wcstoul' but convert to `uintmax_t'. */ | ||
| 422 | __extern_inline uintmax_t | ||
| 423 | __NTH (wcstoumax (const __gwchar_t *__restrict __nptr, | ||
| 424 | 		 __gwchar_t **__restrict __endptr, int __base)) | ||
| 425 | { | ||
| 426 | return __wcstoull_internal (__nptr, __endptr, __base, 0); | ||
| 427 | } | ||
| 428 | |||
| 429 | # endif	/* __WORDSIZE == 32	*/ | ||
| 430 | #endif	/* Use extern inlines. */ | ||
| 431 | |||
| 432 | __END_DECLS | 314 | __END_DECLS |
| 433 | 315 | ||
| 434 | #endif /* inttypes.h */ | 316 | #endif /* inttypes.h */ |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/langinfo.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Access to locale-dependent parameters. | 1 | /* Access to locale-dependent parameters. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/libgen.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/libintl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Message catalogs for internationalization. | 1 | /* Message catalogs for internationalization. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | This file is derived from the file libgettext.h in the GNU gettext package. | 4 | This file is derived from the file libgettext.h in the GNU gettext package. |
| 5 | 5 |
lib/libc/include/generic-glibc/limits.h+13-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -178,6 +178,18 @@ | ... | @@ -178,6 +178,18 @@ |
| 178 | # endif | 178 | # endif |
| 179 | #endif /* Use IEC_60559_BFP_EXT. */ | 179 | #endif /* Use IEC_60559_BFP_EXT. */ |
| 180 | 180 | ||
| 181 | /* The macros for _Bool are not defined by GCC's <limits.h> before GCC | ||
| 182 | 11, or if _GNU_SOURCE is defined rather than enabling C2x support | ||
| 183 | with -std. */ | ||
| 184 | #if __GLIBC_USE (ISOC2X) | ||
| 185 | # ifndef BOOL_MAX | ||
| 186 | # define BOOL_MAX 1 | ||
| 187 | # endif | ||
| 188 | # ifndef BOOL_WIDTH | ||
| 189 | # define BOOL_WIDTH 1 | ||
| 190 | # endif | ||
| 191 | #endif | ||
| 192 | |||
| 181 | #ifdef	__USE_POSIX | 193 | #ifdef	__USE_POSIX |
| 182 | /* POSIX adds things to <limits.h>. */ | 194 | /* POSIX adds things to <limits.h>. */ |
| 183 | # include <bits/posix1_lim.h> | 195 | # include <bits/posix1_lim.h> |
lib/libc/include/generic-glibc/link.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Data structure for communication from the run-time dynamic linker for | 1 | /* Data structure for communication from the run-time dynamic linker for |
| 2 | loaded ELF shared objects. | 2 | loaded ELF shared objects. |
| 3 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/locale.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/malloc.h+22-2| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Prototypes and definition for malloc implementation. | 1 | /* Prototypes and definition for malloc implementation. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -97,8 +97,28 @@ struct mallinfo | ... | @@ -97,8 +97,28 @@ struct mallinfo |
| 97 | int keepcost; /* top-most, releasable (via malloc_trim) space */ | 97 | int keepcost; /* top-most, releasable (via malloc_trim) space */ |
| 98 | }; | 98 | }; |
| 99 | 99 | ||
| 100 | /* SVID2/XPG mallinfo2 structure which can handle allocations | ||
| 101 | bigger than 4GB. */ | ||
| 102 | |||
| 103 | struct mallinfo2 | ||
| 104 | { | ||
| 105 | size_t arena; /* non-mmapped space allocated from system */ | ||
| 106 | size_t ordblks; /* number of free chunks */ | ||
| 107 | size_t smblks; /* number of fastbin blocks */ | ||
| 108 | size_t hblks; /* number of mmapped regions */ | ||
| 109 | size_t hblkhd; /* space in mmapped regions */ | ||
| 110 | size_t usmblks; /* always 0, preserved for backwards compatibility */ | ||
| 111 | size_t fsmblks; /* space available in freed fastbin blocks */ | ||
| 112 | size_t uordblks; /* total allocated space */ | ||
| 113 | size_t fordblks; /* total free space */ | ||
| 114 | size_t keepcost; /* top-most, releasable (via malloc_trim) space */ | ||
| 115 | }; | ||
| 116 | |||
| 117 | /* Returns a copy of the updated current mallinfo. */ | ||
| 118 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ||
| 119 | |||
| 100 | /* Returns a copy of the updated current mallinfo. */ | 120 | /* Returns a copy of the updated current mallinfo. */ |
| 101 | extern struct mallinfo mallinfo (void) __THROW; | 121 | extern struct mallinfo2 mallinfo2 (void) __THROW; |
| 102 | 122 | ||
| 103 | /* SVID2/XPG mallopt options */ | 123 | /* SVID2/XPG mallopt options */ |
| 104 | #ifndef M_MXFAST | 124 | #ifndef M_MXFAST |
lib/libc/include/generic-glibc/math.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for math functions. | 1 | /* Declarations for math functions. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/mcheck.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/memory.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/mntent.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Utilities for reading/writing fstab, mtab, etc. | 1 | /* Utilities for reading/writing fstab, mtab, etc. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/monetary.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Header file for monetary value formatting functions. | 1 | /* Header file for monetary value formatting functions. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/mqueue.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/net/ethernet.h+2-3| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -56,7 +56,6 @@ struct ether_header | ... | @@ -56,7 +56,6 @@ struct ether_header |
| 56 | #define	ETHERTYPE_IPV6		0x86dd		/* IP protocol version 6 */ | 56 | #define	ETHERTYPE_IPV6		0x86dd		/* IP protocol version 6 */ |
| 57 | #define ETHERTYPE_LOOPBACK	0x9000		/* used to test interfaces */ | 57 | #define ETHERTYPE_LOOPBACK	0x9000		/* used to test interfaces */ |
| 58 | 58 | ||
| 59 | |||
| 60 | #define	ETHER_ADDR_LEN	ETH_ALEN /* size of ethernet addr */ | 59 | #define	ETHER_ADDR_LEN	ETH_ALEN /* size of ethernet addr */ |
| 61 | #define	ETHER_TYPE_LEN	2 /* bytes in type field */ | 60 | #define	ETHER_TYPE_LEN	2 /* bytes in type field */ |
| 62 | #define	ETHER_CRC_LEN	4 /* bytes in CRC field */ | 61 | #define	ETHER_CRC_LEN	4 /* bytes in CRC field */ |
| ... | @@ -64,7 +63,7 @@ struct ether_header | ... | @@ -64,7 +63,7 @@ struct ether_header |
| 64 | #define	ETHER_MIN_LEN	(ETH_ZLEN + ETHER_CRC_LEN) /* min packet length */ | 63 | #define	ETHER_MIN_LEN	(ETH_ZLEN + ETHER_CRC_LEN) /* min packet length */ |
| 65 | #define	ETHER_MAX_LEN	(ETH_FRAME_LEN + ETHER_CRC_LEN) /* max packet length */ | 64 | #define	ETHER_MAX_LEN	(ETH_FRAME_LEN + ETHER_CRC_LEN) /* max packet length */ |
| 66 | 65 | ||
| 67 | /* make sure ethenet length is valid */ | 66 | /* make sure ethernet length is valid */ |
| 68 | #define	ETHER_IS_VALID_LEN(foo)	\ | 67 | #define	ETHER_IS_VALID_LEN(foo)	\ |
| 69 | 	((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN) | 68 | 	((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN) |
| 70 | 69 |
lib/libc/include/generic-glibc/net/if.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* net/if.h -- declarations for inquiring about network interfaces | 1 | /* net/if.h -- declarations for inquiring about network interfaces |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/net/if_arp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for Address Resolution Protocol. | 1 | /* Definitions for Address Resolution Protocol. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. | 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. |
| 5 | 5 |
lib/libc/include/generic-glibc/net/if_packet.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for use with Linux SOCK_PACKET sockets. | 1 | /* Definitions for use with Linux SOCK_PACKET sockets. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/net/if_shaper.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/net/if_slip.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/net/route.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netash/ash.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for use with Linux AF_ASH sockets. | 1 | /* Definitions for use with Linux AF_ASH sockets. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netatalk/at.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netax25/ax25.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netdb.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/neteconet/ec.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for use with Linux AF_ECONET sockets. | 1 | /* Definitions for use with Linux AF_ECONET sockets. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/ether.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Functions for storing Ethernet addresses in ASCII and mapping to hostnames. | 1 | /* Functions for storing Ethernet addresses in ASCII and mapping to hostnames. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/icmp6.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/if_ether.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/if_fddi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/if_tr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/igmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/in.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/in_systm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System specific type definitions for networking code. | 1 | /* System specific type definitions for networking code. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/ip.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/ip6.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/ip_icmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netinet/udp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netipx/ipx.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netiucv/iucv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netpacket/packet.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for use with Linux AF_PACKET sockets. | 1 | /* Definitions for use with Linux AF_PACKET sockets. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netrom/netrom.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/netrose/rose.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for Rose packet radio address family. | 1 | /* Definitions for Rose packet radio address family. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/nl_types.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/nss.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/obstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* obstack.h - object stack macros | 1 | /* obstack.h - object stack macros |
| 2 | Copyright (C) 1988-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1988-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/printf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/proc_service.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Callback interface for libthread_db, functions users must define. | 1 | /* Callback interface for libthread_db, functions users must define. |
| 2 | Copyright (C) 1999-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/pthread.h+31-13| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -28,6 +28,7 @@ | ... | @@ -28,6 +28,7 @@ |
| 28 | #include <bits/wordsize.h> | 28 | #include <bits/wordsize.h> |
| 29 | #include <bits/types/struct_timespec.h> | 29 | #include <bits/types/struct_timespec.h> |
| 30 | #include <bits/types/__sigset_t.h> | 30 | #include <bits/types/__sigset_t.h> |
| 31 | #include <bits/types/struct___jmp_buf_tag.h> | ||
| 31 | 32 | ||
| 32 | 33 | ||
| 33 | /* Detach state. */ | 34 | /* Detach state. */ |
| ... | @@ -511,13 +512,15 @@ extern void pthread_testcancel (void); | ... | @@ -511,13 +512,15 @@ extern void pthread_testcancel (void); |
| 511 | 512 | ||
| 512 | /* Cancellation handling with integration into exception handling. */ | 513 | /* Cancellation handling with integration into exception handling. */ |
| 513 | 514 | ||
| 515 | struct __cancel_jmp_buf_tag | ||
| 516 | { | ||
| 517 | __jmp_buf __cancel_jmp_buf; | ||
| 518 | int __mask_was_saved; | ||
| 519 | }; | ||
| 520 | |||
| 514 | typedef struct | 521 | typedef struct |
| 515 | { | 522 | { |
| 516 | struct | 523 | struct __cancel_jmp_buf_tag __cancel_jmp_buf[1]; |
| 517 | { | ||
| 518 | __jmp_buf __cancel_jmp_buf; | ||
| 519 | int __mask_was_saved; | ||
| 520 | } __cancel_jmp_buf[1]; | ||
| 521 | void *__pad[4]; | 524 | void *__pad[4]; |
| 522 | } __pthread_unwind_buf_t __attribute__ ((__aligned__)); | 525 | } __pthread_unwind_buf_t __attribute__ ((__aligned__)); |
| 523 | 526 | ||
| ... | @@ -657,8 +660,8 @@ __pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame) | ... | @@ -657,8 +660,8 @@ __pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame) |
| 657 | __pthread_unwind_buf_t __cancel_buf;				 \ | 660 | __pthread_unwind_buf_t __cancel_buf;				 \ |
| 658 | void (*__cancel_routine) (void *) = (routine);			 \ | 661 | void (*__cancel_routine) (void *) = (routine);			 \ |
| 659 | void *__cancel_arg = (arg);						 \ | 662 | void *__cancel_arg = (arg);						 \ |
| 660 | int __not_first_call = __sigsetjmp ((struct __jmp_buf_tag *) (void *) \ | 663 | int __not_first_call = __sigsetjmp_cancel (__cancel_buf.__cancel_jmp_buf, \ |
| 661 | 					__cancel_buf.__cancel_jmp_buf, 0); \ | 664 | 					 0);			 \ |
| 662 | if (__glibc_unlikely (__not_first_call))				 \ | 665 | if (__glibc_unlikely (__not_first_call))				 \ |
| 663 | {									 \ | 666 | {									 \ |
| 664 | 	__cancel_routine (__cancel_arg);				 \ | 667 | 	__cancel_routine (__cancel_arg);				 \ |
| ... | @@ -692,8 +695,8 @@ extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) | ... | @@ -692,8 +695,8 @@ extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) |
| 692 | __pthread_unwind_buf_t __cancel_buf;				 \ | 695 | __pthread_unwind_buf_t __cancel_buf;				 \ |
| 693 | void (*__cancel_routine) (void *) = (routine);			 \ | 696 | void (*__cancel_routine) (void *) = (routine);			 \ |
| 694 | void *__cancel_arg = (arg);						 \ | 697 | void *__cancel_arg = (arg);						 \ |
| 695 | int __not_first_call = __sigsetjmp ((struct __jmp_buf_tag *) (void *) \ | 698 | int __not_first_call = __sigsetjmp_cancel (__cancel_buf.__cancel_jmp_buf, \ |
| 696 | 					__cancel_buf.__cancel_jmp_buf, 0); \ | 699 | 					 0);			 \ |
| 697 | if (__glibc_unlikely (__not_first_call))				 \ | 700 | if (__glibc_unlikely (__not_first_call))				 \ |
| 698 | {									 \ | 701 | {									 \ |
| 699 | 	__cancel_routine (__cancel_arg);				 \ | 702 | 	__cancel_routine (__cancel_arg);				 \ |
| ... | @@ -729,9 +732,24 @@ extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) | ... | @@ -729,9 +732,24 @@ extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) |
| 729 | ; | 732 | ; |
| 730 | #endif | 733 | #endif |
| 731 | 734 | ||
| 732 | /* Function used in the macros. */ | 735 | /* Function used in the macros. Calling __sigsetjmp, with its first |
| 733 | struct __jmp_buf_tag; | 736 | argument declared as an array, results in a -Wstringop-overflow |
| 734 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; | 737 | warning from GCC 11 because struct pthread_unwind_buf is smaller |
| 738 | than jmp_buf. The calls from the macros have __SAVEMASK set to 0, | ||
| 739 | so nothing beyond the common prefix is used and this warning is a | ||
| 740 | false positive. Use an alias with its first argument declared to | ||
| 741 | use the type in the macros if possible to avoid this warning. */ | ||
| 742 | #if __GNUC_PREREQ (11, 0) | ||
| 743 | extern int __REDIRECT_NTHNL (__sigsetjmp_cancel, | ||
| 744 | 			 (struct __cancel_jmp_buf_tag __env[1], | ||
| 745 | 			 int __savemask), | ||
| 746 | 			 __sigsetjmp) __attribute_returns_twice__; | ||
| 747 | #else | ||
| 748 | # define __sigsetjmp_cancel(env, savemask) \ | ||
| 749 | __sigsetjmp ((struct __jmp_buf_tag *) (void *) (env), (savemask)) | ||
| 750 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], | ||
| 751 | 			int __savemask) __THROWNL; | ||
| 752 | #endif | ||
| 735 | 753 | ||
| 736 | 754 | ||
| 737 | /* Mutex handling. */ | 755 | /* Mutex handling. */ |
lib/libc/include/generic-glibc/pty.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Functions for pseudo TTY handling. | 1 | /* Functions for pseudo TTY handling. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/pwd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/re_comp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/regdef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/regex.h+13-8| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Definitions for data structures and routines for the regular | 1 | /* Definitions for data structures and routines for the regular |
| 2 | expression library. | 2 | expression library. |
| 3 | Copyright (C) 1985, 1989-2020 Free Software Foundation, Inc. | 3 | Copyright (C) 1985, 1989-2021 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -600,11 +600,9 @@ extern void re_set_registers (struct re_pattern_buffer *__buffer, | ... | @@ -600,11 +600,9 @@ extern void re_set_registers (struct re_pattern_buffer *__buffer, |
| 600 | #endif	/* Use GNU */ | 600 | #endif	/* Use GNU */ |
| 601 | 601 | ||
| 602 | #if defined _REGEX_RE_COMP || (defined _LIBC && defined __USE_MISC) | 602 | #if defined _REGEX_RE_COMP || (defined _LIBC && defined __USE_MISC) |
| 603 | # ifndef _CRAY | ||
| 604 | /* 4.2 bsd compatibility. */ | 603 | /* 4.2 bsd compatibility. */ |
| 605 | extern char *re_comp (const char *); | 604 | extern char *re_comp (const char *); |
| 606 | extern int re_exec (const char *); | 605 | extern int re_exec (const char *); |
| 607 | # endif | ||
| 608 | #endif | 606 | #endif |
| 609 | 607 | ||
| 610 | /* For plain 'restrict', use glibc's __restrict if defined. | 608 | /* For plain 'restrict', use glibc's __restrict if defined. |
| ... | @@ -614,7 +612,9 @@ extern int re_exec (const char *); | ... | @@ -614,7 +612,9 @@ extern int re_exec (const char *); |
| 614 | 'configure' might #define 'restrict' to those words, so pick a | 612 | 'configure' might #define 'restrict' to those words, so pick a |
| 615 | different name. */ | 613 | different name. */ |
| 616 | #ifndef _Restrict_ | 614 | #ifndef _Restrict_ |
| 617 | # if defined __restrict || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) | 615 | # if defined __restrict \ |
| 616 | || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \ | ||
| 617 | || __clang_major__ >= 3 | ||
| 618 | # define _Restrict_ __restrict | 618 | # define _Restrict_ __restrict |
| 619 | # elif 199901L <= __STDC_VERSION__ || defined restrict | 619 | # elif 199901L <= __STDC_VERSION__ || defined restrict |
| 620 | # define _Restrict_ restrict | 620 | # define _Restrict_ restrict |
| ... | @@ -622,13 +622,18 @@ extern int re_exec (const char *); | ... | @@ -622,13 +622,18 @@ extern int re_exec (const char *); |
| 622 | # define _Restrict_ | 622 | # define _Restrict_ |
| 623 | # endif | 623 | # endif |
| 624 | #endif | 624 | #endif |
| 625 | /* For [restrict], use glibc's __restrict_arr if available. | 625 | /* For the ISO C99 syntax |
| 626 | Otherwise, GCC 3.1 (not in C++ mode) and C99 support [restrict]. */ | 626 | array_name[restrict] |
| 627 | use glibc's __restrict_arr if available. | ||
| 628 | Otherwise, GCC 3.1 and clang support this syntax (but not in C++ mode). | ||
| 629 | Other ISO C99 compilers support it as well. */ | ||
| 627 | #ifndef _Restrict_arr_ | 630 | #ifndef _Restrict_arr_ |
| 628 | # ifdef __restrict_arr | 631 | # ifdef __restrict_arr |
| 629 | # define _Restrict_arr_ __restrict_arr | 632 | # define _Restrict_arr_ __restrict_arr |
| 630 | # elif ((199901L <= __STDC_VERSION__ || 3 < __GNUC__ + (1 <= __GNUC_MINOR__)) \ | 633 | # elif ((199901L <= __STDC_VERSION__ \ |
| 631 | && !defined __GNUG__) | 634 | || 3 < __GNUC__ + (1 <= __GNUC_MINOR__) \ |
| 635 | || __clang_major__ >= 3) \ | ||
| 636 | && !defined __cplusplus) | ||
| 632 | # define _Restrict_arr_ _Restrict_ | 637 | # define _Restrict_arr_ _Restrict_ |
| 633 | # else | 638 | # else |
| 634 | # define _Restrict_arr_ | 639 | # define _Restrict_arr_ |
lib/libc/include/generic-glibc/regexp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. | 3 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. |
| 4 | 4 |
lib/libc/include/generic-glibc/sched.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. | 1 | /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/scsi/scsi.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/scsi/scsi_ioctl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/scsi/sg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/search.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations for System V style searching functions. | 1 | /* Declarations for System V style searching functions. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/setjmp.h+2-15| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -27,20 +27,7 @@ | ... | @@ -27,20 +27,7 @@ |
| 27 | __BEGIN_DECLS | 27 | __BEGIN_DECLS |
| 28 | 28 | ||
| 29 | #include <bits/setjmp.h>		/* Get `__jmp_buf'. */ | 29 | #include <bits/setjmp.h>		/* Get `__jmp_buf'. */ |
| 30 | #include <bits/types/__sigset_t.h> | 30 | #include <bits/types/struct___jmp_buf_tag.h> |
| 31 | |||
| 32 | /* Calling environment, plus possibly a saved signal mask. */ | ||
| 33 | struct __jmp_buf_tag | ||
| 34 | { | ||
| 35 | /* NOTE: The machine-dependent definitions of `__sigsetjmp' | ||
| 36 | assume that a `jmp_buf' begins with a `__jmp_buf' and that | ||
| 37 | `__mask_was_saved' follows it. Do not move these members | ||
| 38 | or add others before it. */ | ||
| 39 | __jmp_buf __jmpbuf;		/* Calling environment. */ | ||
| 40 | int __mask_was_saved;	/* Saved the signal mask? */ | ||
| 41 | __sigset_t __saved_mask;	/* Saved signal mask. */ | ||
| 42 | }; | ||
| 43 | |||
| 44 | 31 | ||
| 45 | typedef struct __jmp_buf_tag jmp_buf[1]; | 32 | typedef struct __jmp_buf_tag jmp_buf[1]; |
| 46 | 33 |
lib/libc/include/generic-glibc/sgidefs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sgtty.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/shadow.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/signal.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/spawn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX spawn interface. | 1 | /* Definitions for POSIX spawn interface. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/stdc-predef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/stdint.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/stdio.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define ISO C stdio on top of C++ iostreams. | 1 | /* Define ISO C stdio on top of C++ iostreams. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/stdio_ext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Functions to access FILE structure internals. | 1 | /* Functions to access FILE structure internals. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/stdlib.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/string.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/strings.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/acct.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/asm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/auxv.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Access to the auxiliary vector. | 1 | /* Access to the auxiliary vector. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/cachectl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/cdefs.h+28-10| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | ||
| 26 | /* The GNU libc does not support any K&R compilers or the traditional mode | 26 | /* The GNU libc does not support any K&R compilers or the traditional mode |
| 27 | of ISO C compilers anymore. Check for some of the combinations not | 27 | of ISO C compilers anymore. Check for some of the combinations not |
| 28 | anymore supported. */ | 28 | supported anymore. */ |
| 29 | #if defined __GNUC__ && !defined __STDC__ | 29 | #if defined __GNUC__ && !defined __STDC__ |
| 30 | # error "You need a ISO C conforming compiler to use the glibc headers" | 30 | # error "You need a ISO C conforming compiler to use the glibc headers" |
| 31 | #endif | 31 | #endif |
| ... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
| 47 | # endif | 47 | # endif |
| 48 | 48 | ||
| 49 | /* GCC can always grok prototypes. For C++ programs we add throw() | 49 | /* GCC can always grok prototypes. For C++ programs we add throw() |
| 50 | to help it optimize the function calls. But this works only with | 50 | to help it optimize the function calls. But this only works with |
| 51 | gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions | 51 | gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions |
| 52 | as non-throwing using a function attribute since programs can use | 52 | as non-throwing using a function attribute since programs can use |
| 53 | the -fexceptions options for C code as well. */ | 53 | the -fexceptions options for C code as well. */ |
| ... | @@ -58,10 +58,14 @@ | ... | @@ -58,10 +58,14 @@ |
| 58 | # define __NTHNL(fct) __attribute__ ((__nothrow__)) fct | 58 | # define __NTHNL(fct) __attribute__ ((__nothrow__)) fct |
| 59 | # else | 59 | # else |
| 60 | # if defined __cplusplus && __GNUC_PREREQ (2,8) | 60 | # if defined __cplusplus && __GNUC_PREREQ (2,8) |
| 61 | # define __THROW	throw () | 61 | # if __cplusplus >= 201103L |
| 62 | # define __THROWNL	throw () | 62 | # define __THROW	noexcept (true) |
| 63 | # define __NTH(fct)	__LEAF_ATTR fct throw () | 63 | # else |
| 64 | # define __NTHNL(fct) fct throw () | 64 | # define __THROW	throw () |
| 65 | # endif | ||
| 66 | # define __THROWNL	__THROW | ||
| 67 | # define __NTH(fct)	__LEAF_ATTR fct __THROW | ||
| 68 | # define __NTHNL(fct) fct __THROW | ||
| 65 | # else | 69 | # else |
| 66 | # define __THROW | 70 | # define __THROW |
| 67 | # define __THROWNL | 71 | # define __THROWNL |
| ... | @@ -123,14 +127,20 @@ | ... | @@ -123,14 +127,20 @@ |
| 123 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) | 127 | #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) |
| 124 | #define __bos0(ptr) __builtin_object_size (ptr, 0) | 128 | #define __bos0(ptr) __builtin_object_size (ptr, 0) |
| 125 | 129 | ||
| 130 | /* Use __builtin_dynamic_object_size at _FORTIFY_SOURCE=3 when available. */ | ||
| 131 | #if __USE_FORTIFY_LEVEL == 3 && __glibc_clang_prereq (9, 0) | ||
| 132 | # define __glibc_objsize0(__o) __builtin_dynamic_object_size (__o, 0) | ||
| 133 | # define __glibc_objsize(__o) __builtin_dynamic_object_size (__o, 1) | ||
| 134 | #else | ||
| 135 | # define __glibc_objsize0(__o) __bos0 (__o) | ||
| 136 | # define __glibc_objsize(__o) __bos (__o) | ||
| 137 | #endif | ||
| 138 | |||
| 126 | #if __GNUC_PREREQ (4,3) | 139 | #if __GNUC_PREREQ (4,3) |
| 127 | # define __warndecl(name, msg) \ | ||
| 128 | extern void name (void) __attribute__((__warning__ (msg))) | ||
| 129 | # define __warnattr(msg) __attribute__((__warning__ (msg))) | 140 | # define __warnattr(msg) __attribute__((__warning__ (msg))) |
| 130 | # define __errordecl(name, msg) \ | 141 | # define __errordecl(name, msg) \ |
| 131 | extern void name (void) __attribute__((__error__ (msg))) | 142 | extern void name (void) __attribute__((__error__ (msg))) |
| 132 | #else | 143 | #else |
| 133 | # define __warndecl(name, msg) extern void name (void) | ||
| 134 | # define __warnattr(msg) | 144 | # define __warnattr(msg) |
| 135 | # define __errordecl(name, msg) extern void name (void) | 145 | # define __errordecl(name, msg) extern void name (void) |
| 136 | #endif | 146 | #endif |
| ... | @@ -559,4 +569,12 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf | ... | @@ -559,4 +569,12 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf |
| 559 | # define __attr_access(x) | 569 | # define __attr_access(x) |
| 560 | #endif | 570 | #endif |
| 561 | 571 | ||
| 572 | /* Specify that a function such as setjmp or vfork may return | ||
| 573 | twice. */ | ||
| 574 | #if __GNUC_PREREQ (4, 1) | ||
| 575 | # define __attribute_returns_twice__ __attribute__ ((__returns_twice__)) | ||
| 576 | #else | ||
| 577 | # define __attribute_returns_twice__ /* Ignore. */ | ||
| 578 | #endif | ||
| 579 | |||
| 562 | #endif	 /* sys/cdefs.h */ | 580 | #endif	 /* sys/cdefs.h */ |
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/sys/debugreg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/dir.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/fanotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2010-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2010-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/file.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/fpregdef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/fsuid.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/gmon_out.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by David Mosberger <davidm@cs.arizona.edu>. | 3 | Contributed by David Mosberger <davidm@cs.arizona.edu>. |
| 4 | 4 |
lib/libc/include/generic-glibc/sys/ifunc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions used by AArch64 indirect function resolvers. | 1 | /* Definitions used by AArch64 indirect function resolvers. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/io.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/ioctl.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/ipc.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/kd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/klog.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for BSD-style memory management. | 1 | /* Definitions for BSD-style memory management. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/mount.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Header file for mounting/unmount Linux filesystems. | 1 | /* Header file for mounting/unmount Linux filesystems. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/msg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/mtio.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structures and definitions for magnetic tape I/O control commands. | 1 | /* Structures and definitions for magnetic tape I/O control commands. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/param.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Compatibility header for old-style Unix parameters and limits. | 1 | /* Compatibility header for old-style Unix parameters and limits. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/pci.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/perm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/personality.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/platform/ppc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Facilities specific to the PowerPC architecture | 1 | /* Facilities specific to the PowerPC architecture |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/platform/x86.h created+65| ... | @@ -0,0 +1,65 @@ | ||
| 1 | /* Data structure for x86 CPU features. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Copyright (C) 2008-2021 Free Software Foundation, Inc. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _SYS_PLATFORM_X86_H | ||
| 20 | #define _SYS_PLATFORM_X86_H | ||
| 21 | |||
| 22 | #include <features.h> | ||
| 23 | #include <stdbool.h> | ||
| 24 | #include <bits/platform/x86.h> | ||
| 25 | |||
| 26 | __BEGIN_DECLS | ||
| 27 | |||
| 28 | /* Get a pointer to the CPU feature structure. */ | ||
| 29 | extern const struct cpuid_feature *__x86_get_cpuid_feature_leaf (unsigned int) | ||
| 30 | __attribute__ ((pure)); | ||
| 31 | |||
| 32 | static __inline__ _Bool | ||
| 33 | x86_cpu_has_feature (unsigned int __index) | ||
| 34 | { | ||
| 35 | const struct cpuid_feature *__ptr = __x86_get_cpuid_feature_leaf | ||
| 36 | (__index / (8 * sizeof (unsigned int) * 4)); | ||
| 37 | unsigned int __reg | ||
| 38 | = __index & (8 * sizeof (unsigned int) * 4 - 1); | ||
| 39 | unsigned int __bit = __reg & (8 * sizeof (unsigned int) - 1); | ||
| 40 | __reg /= 8 * sizeof (unsigned int); | ||
| 41 | |||
| 42 | return __ptr->cpuid_array[__reg] & (1 << __bit); | ||
| 43 | } | ||
| 44 | |||
| 45 | static __inline__ _Bool | ||
| 46 | x86_cpu_is_usable (unsigned int __index) | ||
| 47 | { | ||
| 48 | const struct cpuid_feature *__ptr = __x86_get_cpuid_feature_leaf | ||
| 49 | (__index / (8 * sizeof (unsigned int) * 4)); | ||
| 50 | unsigned int __reg | ||
| 51 | = __index & (8 * sizeof (unsigned int) * 4 - 1); | ||
| 52 | unsigned int __bit = __reg & (8 * sizeof (unsigned int) - 1); | ||
| 53 | __reg /= 8 * sizeof (unsigned int); | ||
| 54 | |||
| 55 | return __ptr->usable_array[__reg] & (1 << __bit); | ||
| 56 | } | ||
| 57 | |||
| 58 | /* HAS_CPU_FEATURE evaluates to true if CPU supports the feature. */ | ||
| 59 | #define HAS_CPU_FEATURE(name) x86_cpu_has_feature (x86_cpu_##name) | ||
| 60 | /* CPU_FEATURE_USABLE evaluates to true if the feature is usable. */ | ||
| 61 | #define CPU_FEATURE_USABLE(name) x86_cpu_is_usable (x86_cpu_##name) | ||
| 62 | |||
| 63 | __END_DECLS | ||
| 64 | |||
| 65 | #endif /* _SYS_PLATFORM_X86_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/sys/poll.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Compatibility definitions for System V `poll' interface. | 1 | /* Compatibility definitions for System V `poll' interface. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/prctl.h+19-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -21,6 +21,24 @@ | ... | @@ -21,6 +21,24 @@ |
| 21 | #include <features.h> | 21 | #include <features.h> |
| 22 | #include <linux/prctl.h> /* The magic values come from here */ | 22 | #include <linux/prctl.h> /* The magic values come from here */ |
| 23 | 23 | ||
| 24 | /* Recent extensions to linux which may post-date the kernel headers | ||
| 25 | we're picking up... */ | ||
| 26 | |||
| 27 | /* Memory tagging control operations (for AArch64). */ | ||
| 28 | #ifndef PR_TAGGED_ADDR_ENABLE | ||
| 29 | # define PR_TAGGED_ADDR_ENABLE	(1UL << 8) | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #ifndef PR_MTE_TCF_SHIFT | ||
| 33 | # define PR_MTE_TCF_SHIFT	1 | ||
| 34 | # define PR_MTE_TCF_NONE	(0UL << PR_MTE_TCF_SHIFT) | ||
| 35 | # define PR_MTE_TCF_SYNC	(1UL << PR_MTE_TCF_SHIFT) | ||
| 36 | # define PR_MTE_TCF_ASYNC	(2UL << PR_MTE_TCF_SHIFT) | ||
| 37 | # define PR_MTE_TCF_MASK	(3UL << PR_MTE_TCF_SHIFT) | ||
| 38 | # define PR_MTE_TAG_SHIFT	3 | ||
| 39 | # define PR_MTE_TAG_MASK	(0xffffUL << PR_MTE_TAG_SHIFT) | ||
| 40 | #endif | ||
| 41 | |||
| 24 | __BEGIN_DECLS | 42 | __BEGIN_DECLS |
| 25 | 43 | ||
| 26 | /* Control process execution. */ | 44 | /* Control process execution. */ |
lib/libc/include/generic-glibc/sys/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for core files and libthread_db. Generic Linux version. | 1 | /* Definitions for core files and libthread_db. Generic Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/sys/profil.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux version. | 1 | /* `ptrace' debugger support interface. Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/generic-glibc/sys/quota.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* This just represents the non-kernel parts of <linux/quota.h>. | 1 | /* This just represents the non-kernel parts of <linux/quota.h>. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/random.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Interfaces for obtaining random bytes. | 1 | /* Interfaces for obtaining random bytes. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/raw.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/reboot.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/reg.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/regdef.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/resource.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/select.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `fd_set' type and related macros, and `select'/`pselect' declarations. | 1 | /* `fd_set' type and related macros, and `select'/`pselect' declarations. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/sem.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/sendfile.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sendfile -- copy data directly from one file descriptor to another | 1 | /* sendfile -- copy data directly from one file descriptor to another |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/shm.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/single_threaded.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Support for single-thread optimizations. | 1 | /* Support for single-thread optimizations. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/socket.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declarations of socket constants, types, and functions. | 1 | /* Declarations of socket constants, types, and functions. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/stat.h+1-160| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -367,170 +367,11 @@ extern int utimensat (int __fd, const char *__path, | ... | @@ -367,170 +367,11 @@ extern int utimensat (int __fd, const char *__path, |
| 367 | /* Set file access and modification times of the file associated with FD. */ | 367 | /* Set file access and modification times of the file associated with FD. */ |
| 368 | extern int futimens (int __fd, const struct timespec __times[2]) __THROW; | 368 | extern int futimens (int __fd, const struct timespec __times[2]) __THROW; |
| 369 | #endif | 369 | #endif |
| 370 | |||
| 371 | /* To allow the `struct stat' structure and the file type `mode_t' | ||
| 372 | bits to vary without changing shared library major version number, | ||
| 373 | the `stat' family of functions and `mknod' are in fact inline | ||
| 374 | wrappers around calls to `xstat', `fxstat', `lxstat', and `xmknod', | ||
| 375 | which all take a leading version-number argument designating the | ||
| 376 | data structure and bits used. <bits/stat.h> defines _STAT_VER with | ||
| 377 | the version number corresponding to `struct stat' as defined in | ||
| 378 | that file; and _MKNOD_VER with the version number corresponding to | ||
| 379 | the S_IF* macros defined therein. It is arranged that when not | ||
| 380 | inlined these function are always statically linked; that way a | ||
| 381 | dynamically-linked executable always encodes the version number | ||
| 382 | corresponding to the data structures it uses, so the `x' functions | ||
| 383 | in the shared library can adapt without needing to recompile all | ||
| 384 | callers. */ | ||
| 385 | |||
| 386 | #ifndef _STAT_VER | ||
| 387 | # define _STAT_VER	0 | ||
| 388 | #endif | ||
| 389 | #ifndef _MKNOD_VER | ||
| 390 | # define _MKNOD_VER	0 | ||
| 391 | #endif | ||
| 392 | |||
| 393 | /* Wrappers for stat and mknod system calls. */ | ||
| 394 | #ifndef __USE_FILE_OFFSET64 | ||
| 395 | extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) | ||
| 396 | __THROW __nonnull ((3)); | ||
| 397 | extern int __xstat (int __ver, const char *__filename, | ||
| 398 | 		 struct stat *__stat_buf) __THROW __nonnull ((2, 3)); | ||
| 399 | extern int __lxstat (int __ver, const char *__filename, | ||
| 400 | 		 struct stat *__stat_buf) __THROW __nonnull ((2, 3)); | ||
| 401 | extern int __fxstatat (int __ver, int __fildes, const char *__filename, | ||
| 402 | 		 struct stat *__stat_buf, int __flag) | ||
| 403 | __THROW __nonnull ((3, 4)); | ||
| 404 | #else | ||
| 405 | # ifdef __REDIRECT_NTH | ||
| 406 | extern int __REDIRECT_NTH (__fxstat, (int __ver, int __fildes, | ||
| 407 | 				 struct stat *__stat_buf), __fxstat64) | ||
| 408 | __nonnull ((3)); | ||
| 409 | extern int __REDIRECT_NTH (__xstat, (int __ver, const char *__filename, | ||
| 410 | 				 struct stat *__stat_buf), __xstat64) | ||
| 411 | __nonnull ((2, 3)); | ||
| 412 | extern int __REDIRECT_NTH (__lxstat, (int __ver, const char *__filename, | ||
| 413 | 				 struct stat *__stat_buf), __lxstat64) | ||
| 414 | __nonnull ((2, 3)); | ||
| 415 | extern int __REDIRECT_NTH (__fxstatat, (int __ver, int __fildes, | ||
| 416 | 					const char *__filename, | ||
| 417 | 					struct stat *__stat_buf, int __flag), | ||
| 418 | 			 __fxstatat64) __nonnull ((3, 4)); | ||
| 419 | |||
| 420 | # else | ||
| 421 | # define __fxstat __fxstat64 | ||
| 422 | # define __xstat __xstat64 | ||
| 423 | # define __lxstat __lxstat64 | ||
| 424 | # endif | ||
| 425 | #endif | ||
| 426 | |||
| 427 | #ifdef __USE_LARGEFILE64 | ||
| 428 | extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) | ||
| 429 | __THROW __nonnull ((3)); | ||
| 430 | extern int __xstat64 (int __ver, const char *__filename, | ||
| 431 | 		 struct stat64 *__stat_buf) __THROW __nonnull ((2, 3)); | ||
| 432 | extern int __lxstat64 (int __ver, const char *__filename, | ||
| 433 | 		 struct stat64 *__stat_buf) __THROW __nonnull ((2, 3)); | ||
| 434 | extern int __fxstatat64 (int __ver, int __fildes, const char *__filename, | ||
| 435 | 			 struct stat64 *__stat_buf, int __flag) | ||
| 436 | __THROW __nonnull ((3, 4)); | ||
| 437 | #endif | ||
| 438 | extern int __xmknod (int __ver, const char *__path, __mode_t __mode, | ||
| 439 | 		 __dev_t *__dev) __THROW __nonnull ((2, 4)); | ||
| 440 | |||
| 441 | extern int __xmknodat (int __ver, int __fd, const char *__path, | ||
| 442 | 		 __mode_t __mode, __dev_t *__dev) | ||
| 443 | __THROW __nonnull ((3, 5)); | ||
| 444 | 370 | ||
| 445 | #ifdef __USE_GNU | 371 | #ifdef __USE_GNU |
| 446 | # include <bits/statx.h> | 372 | # include <bits/statx.h> |
| 447 | #endif | 373 | #endif |
| 448 | 374 | ||
| 449 | #ifdef __USE_EXTERN_INLINES | ||
| 450 | /* Inlined versions of the real stat and mknod functions. */ | ||
| 451 | |||
| 452 | __extern_inline int | ||
| 453 | __NTH (stat (const char *__path, struct stat *__statbuf)) | ||
| 454 | { | ||
| 455 | return __xstat (_STAT_VER, __path, __statbuf); | ||
| 456 | } | ||
| 457 | |||
| 458 | # if defined __USE_MISC || defined __USE_XOPEN_EXTENDED | ||
| 459 | __extern_inline int | ||
| 460 | __NTH (lstat (const char *__path, struct stat *__statbuf)) | ||
| 461 | { | ||
| 462 | return __lxstat (_STAT_VER, __path, __statbuf); | ||
| 463 | } | ||
| 464 | # endif | ||
| 465 | |||
| 466 | __extern_inline int | ||
| 467 | __NTH (fstat (int __fd, struct stat *__statbuf)) | ||
| 468 | { | ||
| 469 | return __fxstat (_STAT_VER, __fd, __statbuf); | ||
| 470 | } | ||
| 471 | |||
| 472 | # ifdef __USE_ATFILE | ||
| 473 | __extern_inline int | ||
| 474 | __NTH (fstatat (int __fd, const char *__filename, struct stat *__statbuf, | ||
| 475 | 		int __flag)) | ||
| 476 | { | ||
| 477 | return __fxstatat (_STAT_VER, __fd, __filename, __statbuf, __flag); | ||
| 478 | } | ||
| 479 | # endif | ||
| 480 | |||
| 481 | # ifdef __USE_MISC | ||
| 482 | __extern_inline int | ||
| 483 | __NTH (mknod (const char *__path, __mode_t __mode, __dev_t __dev)) | ||
| 484 | { | ||
| 485 | return __xmknod (_MKNOD_VER, __path, __mode, &__dev); | ||
| 486 | } | ||
| 487 | # endif | ||
| 488 | |||
| 489 | # ifdef __USE_ATFILE | ||
| 490 | __extern_inline int | ||
| 491 | __NTH (mknodat (int __fd, const char *__path, __mode_t __mode, | ||
| 492 | 		__dev_t __dev)) | ||
| 493 | { | ||
| 494 | return __xmknodat (_MKNOD_VER, __fd, __path, __mode, &__dev); | ||
| 495 | } | ||
| 496 | # endif | ||
| 497 | |||
| 498 | # if defined __USE_LARGEFILE64 \ | ||
| 499 | && (! defined __USE_FILE_OFFSET64 \ | ||
| 500 | || (defined __REDIRECT_NTH && defined __OPTIMIZE__)) | ||
| 501 | __extern_inline int | ||
| 502 | __NTH (stat64 (const char *__path, struct stat64 *__statbuf)) | ||
| 503 | { | ||
| 504 | return __xstat64 (_STAT_VER, __path, __statbuf); | ||
| 505 | } | ||
| 506 | |||
| 507 | # if defined __USE_MISC || defined __USE_XOPEN_EXTENDED | ||
| 508 | __extern_inline int | ||
| 509 | __NTH (lstat64 (const char *__path, struct stat64 *__statbuf)) | ||
| 510 | { | ||
| 511 | return __lxstat64 (_STAT_VER, __path, __statbuf); | ||
| 512 | } | ||
| 513 | # endif | ||
| 514 | |||
| 515 | __extern_inline int | ||
| 516 | __NTH (fstat64 (int __fd, struct stat64 *__statbuf)) | ||
| 517 | { | ||
| 518 | return __fxstat64 (_STAT_VER, __fd, __statbuf); | ||
| 519 | } | ||
| 520 | |||
| 521 | # ifdef __USE_ATFILE | ||
| 522 | __extern_inline int | ||
| 523 | __NTH (fstatat64 (int __fd, const char *__filename, struct stat64 *__statbuf, | ||
| 524 | 		 int __flag)) | ||
| 525 | { | ||
| 526 | return __fxstatat64 (_STAT_VER, __fd, __filename, __statbuf, __flag); | ||
| 527 | } | ||
| 528 | # endif | ||
| 529 | |||
| 530 | # endif | ||
| 531 | |||
| 532 | #endif | ||
| 533 | |||
| 534 | __END_DECLS | 375 | __END_DECLS |
| 535 | 376 | ||
| 536 | 377 |
lib/libc/include/generic-glibc/sys/statfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for getting information about a filesystem. | 1 | /* Definitions for getting information about a filesystem. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/statvfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for getting information about a filesystem. | 1 | /* Definitions for getting information about a filesystem. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/swap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Calls to enable and disable swapping on specified locations. Linux version. | 1 | /* Calls to enable and disable swapping on specified locations. Linux version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/syscall.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/sysinfo.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/sysmacros.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of macros to access `dev_t' values. | 1 | /* Definitions of macros to access `dev_t' values. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/sysmips.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/tas.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000. | 3 | Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000. |
| 4 | 4 |
lib/libc/include/generic-glibc/sys/time.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/timeb.h+4-13| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -20,24 +20,15 @@ | ... | @@ -20,24 +20,15 @@ |
| 20 | 20 | ||
| 21 | #include <features.h> | 21 | #include <features.h> |
| 22 | 22 | ||
| 23 | #include <bits/types/time_t.h> | ||
| 24 | |||
| 25 | __BEGIN_DECLS | 23 | __BEGIN_DECLS |
| 26 | 24 | ||
| 27 | /* Structure returned by the `ftime' function. */ | 25 | # include <bits/types/struct_timeb.h> |
| 28 | |||
| 29 | struct timeb | ||
| 30 | { | ||
| 31 | time_t time;		/* Seconds since epoch, as from `time'. */ | ||
| 32 | unsigned short int millitm;	/* Additional milliseconds. */ | ||
| 33 | short int timezone;		/* Minutes west of GMT. */ | ||
| 34 | short int dstflag;		/* Nonzero if Daylight Savings Time used. */ | ||
| 35 | }; | ||
| 36 | 26 | ||
| 37 | /* Fill in TIMEBUF with information about the current time. */ | 27 | /* Fill in TIMEBUF with information about the current time. */ |
| 38 | 28 | ||
| 39 | extern int ftime (struct timeb *__timebuf) | 29 | extern int ftime (struct timeb *__timebuf) |
| 40 | __nonnull ((1)) __attribute_deprecated__; | 30 | __nonnull ((1)) |
| 31 | __attribute_deprecated_msg__ ("Use gettimeofday or clock_gettime instead"); | ||
| 41 | 32 | ||
| 42 | __END_DECLS | 33 | __END_DECLS |
| 43 | 34 |
lib/libc/include/generic-glibc/sys/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/times.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/timex.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/types.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/generic-glibc/sys/uio.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/un.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/utsname.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/vlimit.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/vm86.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/vtimes.h deleted-68| ... | @@ -1,68 +0,0 @@ | ||
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #ifndef _SYS_VTIMES_H | ||
| 19 | #define _SYS_VTIMES_H	1 | ||
| 20 | |||
| 21 | #include <features.h> | ||
| 22 | |||
| 23 | __BEGIN_DECLS | ||
| 24 | |||
| 25 | /* This interface is obsolete; use `getrusage' instead. */ | ||
| 26 | |||
| 27 | /* Granularity of the `vm_utime' and `vm_stime' fields of a `struct vtimes'. | ||
| 28 | (This is the frequency of the machine's power supply, in Hz.) */ | ||
| 29 | #define	VTIMES_UNITS_PER_SECOND	60 | ||
| 30 | |||
| 31 | struct vtimes | ||
| 32 | { | ||
| 33 | /* User time used in units of 1/VTIMES_UNITS_PER_SECOND seconds. */ | ||
| 34 | int vm_utime; | ||
| 35 | /* System time used in units of 1/VTIMES_UNITS_PER_SECOND seconds. */ | ||
| 36 | int vm_stime; | ||
| 37 | |||
| 38 | /* Amount of data and stack memory used (kilobyte-seconds). */ | ||
| 39 | unsigned int vm_idsrss; | ||
| 40 | /* Amount of text memory used (kilobyte-seconds). */ | ||
| 41 | unsigned int vm_ixrss; | ||
| 42 | /* Maximum resident set size (text, data, and stack) (kilobytes). */ | ||
| 43 | int vm_maxrss; | ||
| 44 | |||
| 45 | /* Number of hard page faults (i.e. those that required I/O). */ | ||
| 46 | int vm_majflt; | ||
| 47 | /* Number of soft page faults (i.e. those serviced by reclaiming | ||
| 48 | a page from the list of pages awaiting reallocation. */ | ||
| 49 | int vm_minflt; | ||
| 50 | |||
| 51 | /* Number of times a process was swapped out of physical memory. */ | ||
| 52 | int vm_nswap; | ||
| 53 | |||
| 54 | /* Number of input operations via the file system. Note: This | ||
| 55 | and `ru_oublock' do not include operations with the cache. */ | ||
| 56 | int vm_inblk; | ||
| 57 | /* Number of output operations via the file system. */ | ||
| 58 | int vm_oublk; | ||
| 59 | }; | ||
| 60 | |||
| 61 | /* If CURRENT is not NULL, write statistics for the current process into | ||
| 62 | *CURRENT. If CHILD is not NULL, write statistics for all terminated child | ||
| 63 | processes into *CHILD. Returns 0 for success, -1 for failure. */ | ||
| 64 | extern int vtimes (struct vtimes * __current, struct vtimes * __child) __THROW; | ||
| 65 | |||
| 66 | __END_DECLS | ||
| 67 | |||
| 68 | #endif /* sys/vtimes.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/generic-glibc/sys/wait.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/sys/xattr.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/tar.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Extended tar format from POSIX.1. | 1 | /* Extended tar format from POSIX.1. |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Written by David J. MacKenzie. | 4 | Written by David J. MacKenzie. |
| 5 | 5 |
lib/libc/include/generic-glibc/termios.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/tgmath.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/thread_db.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* thread_db.h -- interface to libthread_db.so library for debugging -lpthread | 1 | /* thread_db.h -- interface to libthread_db.so library for debugging -lpthread |
| 2 | Copyright (C) 1999-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/threads.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* ISO C11 Standard: 7.26 - Thread support library <threads.h>. | 1 | /* ISO C11 Standard: 7.26 - Thread support library <threads.h>. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/time.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/uchar.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/ulimit.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/unistd.h+2-2| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -831,7 +831,7 @@ extern int symlinkat (const char *__from, int __tofd, | ... | @@ -831,7 +831,7 @@ extern int symlinkat (const char *__from, int __tofd, |
| 831 | /* Like readlink but a relative PATH is interpreted relative to FD. */ | 831 | /* Like readlink but a relative PATH is interpreted relative to FD. */ |
| 832 | extern ssize_t readlinkat (int __fd, const char *__restrict __path, | 832 | extern ssize_t readlinkat (int __fd, const char *__restrict __path, |
| 833 | 			 char *__restrict __buf, size_t __len) | 833 | 			 char *__restrict __buf, size_t __len) |
| 834 | __THROW __nonnull ((2, 3)) __wur __attr_access ((__read_only__, 3, 4)); | 834 | __THROW __nonnull ((2, 3)) __wur __attr_access ((__write_only__, 3, 4)); |
| 835 | #endif | 835 | #endif |
| 836 | 836 | ||
| 837 | /* Remove the link NAME. */ | 837 | /* Remove the link NAME. */ |
lib/libc/include/generic-glibc/utime.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/utmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1993-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/utmpx.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/values.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Old compatibility names for <limits.h> and <float.h> constants. | 1 | /* Old compatibility names for <limits.h> and <float.h> constants. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/wchar.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/wctype.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/wordexp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/x86. | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on x86. | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/flt-eval-method.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/fp-logb.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/indirect-return.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of __INDIRECT_RETURN. x86 version. | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-96 version. | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-96 version. | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/math-vector.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Platform-specific SIMD declarations of math functions. | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/i386-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. x86 version. | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/stat.h deleted-210| ... | @@ -1,210 +0,0 @@ | ||
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #ifndef __x86_64__ | ||
| 27 | # define _STAT_VER_LINUX_OLD	1 | ||
| 28 | # define _STAT_VER_KERNEL	1 | ||
| 29 | # define _STAT_VER_SVR4		2 | ||
| 30 | # define _STAT_VER_LINUX	3 | ||
| 31 | |||
| 32 | /* i386 versions of the `xmknod' interface. */ | ||
| 33 | # define _MKNOD_VER_LINUX	1 | ||
| 34 | # define _MKNOD_VER_SVR4	2 | ||
| 35 | # define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | #else | ||
| 37 | # define _STAT_VER_KERNEL	0 | ||
| 38 | # define _STAT_VER_LINUX	1 | ||
| 39 | |||
| 40 | /* x86-64 versions of the `xmknod' interface. */ | ||
| 41 | # define _MKNOD_VER_LINUX	0 | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #define _STAT_VER		_STAT_VER_LINUX | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;		/* Device. */ | ||
| 49 | #ifndef __x86_64__ | ||
| 50 | unsigned short int __pad1; | ||
| 51 | #endif | ||
| 52 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 53 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 54 | #else | ||
| 55 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 56 | #endif | ||
| 57 | #ifndef __x86_64__ | ||
| 58 | __mode_t st_mode;			/* File mode. */ | ||
| 59 | __nlink_t st_nlink;			/* Link count. */ | ||
| 60 | #else | ||
| 61 | __nlink_t st_nlink;		/* Link count. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | #endif | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | #ifdef __x86_64__ | ||
| 67 | int __pad0; | ||
| 68 | #endif | ||
| 69 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 70 | #ifndef __x86_64__ | ||
| 71 | unsigned short int __pad2; | ||
| 72 | #endif | ||
| 73 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 74 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 75 | #else | ||
| 76 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 77 | #endif | ||
| 78 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 79 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 80 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 81 | #else | ||
| 82 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 83 | #endif | ||
| 84 | #ifdef __USE_XOPEN2K8 | ||
| 85 | /* Nanosecond resolution timestamps are stored in a format | ||
| 86 | equivalent to 'struct timespec'. This is the type used | ||
| 87 | whenever possible but the Unix namespace rules do not allow the | ||
| 88 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 89 | Therefore we have to handle the use of this header in strictly | ||
| 90 | standard-compliant sources special. */ | ||
| 91 | struct timespec st_atim;		/* Time of last access. */ | ||
| 92 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 93 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 94 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 95 | # define st_mtime st_mtim.tv_sec | ||
| 96 | # define st_ctime st_ctim.tv_sec | ||
| 97 | #else | ||
| 98 | __time_t st_atime;			/* Time of last access. */ | ||
| 99 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 100 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 101 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 102 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 103 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 104 | #endif | ||
| 105 | #ifdef __x86_64__ | ||
| 106 | __syscall_slong_t __glibc_reserved[3]; | ||
| 107 | #else | ||
| 108 | # ifndef __USE_FILE_OFFSET64 | ||
| 109 | unsigned long int __glibc_reserved4; | ||
| 110 | unsigned long int __glibc_reserved5; | ||
| 111 | # else | ||
| 112 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 113 | # endif | ||
| 114 | #endif | ||
| 115 | }; | ||
| 116 | |||
| 117 | #ifdef __USE_LARGEFILE64 | ||
| 118 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 119 | struct stat64 | ||
| 120 | { | ||
| 121 | __dev_t st_dev;		/* Device. */ | ||
| 122 | # ifdef __x86_64__ | ||
| 123 | __ino64_t st_ino;		/* File serial number. */ | ||
| 124 | __nlink_t st_nlink;		/* Link count. */ | ||
| 125 | __mode_t st_mode;		/* File mode. */ | ||
| 126 | # else | ||
| 127 | unsigned int __pad1; | ||
| 128 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 129 | __mode_t st_mode;			/* File mode. */ | ||
| 130 | __nlink_t st_nlink;			/* Link count. */ | ||
| 131 | # endif | ||
| 132 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 133 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 134 | # ifdef __x86_64__ | ||
| 135 | int __pad0; | ||
| 136 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 137 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 138 | # else | ||
| 139 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 140 | unsigned int __pad2; | ||
| 141 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 142 | # endif | ||
| 143 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 144 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 145 | # ifdef __USE_XOPEN2K8 | ||
| 146 | /* Nanosecond resolution timestamps are stored in a format | ||
| 147 | equivalent to 'struct timespec'. This is the type used | ||
| 148 | whenever possible but the Unix namespace rules do not allow the | ||
| 149 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 150 | Therefore we have to handle the use of this header in strictly | ||
| 151 | standard-compliant sources special. */ | ||
| 152 | struct timespec st_atim;		/* Time of last access. */ | ||
| 153 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 154 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 155 | # else | ||
| 156 | __time_t st_atime;			/* Time of last access. */ | ||
| 157 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 158 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 159 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 160 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 161 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 162 | # endif | ||
| 163 | # ifdef __x86_64__ | ||
| 164 | __syscall_slong_t __glibc_reserved[3]; | ||
| 165 | # else | ||
| 166 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 167 | # endif | ||
| 168 | }; | ||
| 169 | #endif | ||
| 170 | |||
| 171 | /* Tell code we have these members. */ | ||
| 172 | #define	_STATBUF_ST_BLKSIZE | ||
| 173 | #define _STATBUF_ST_RDEV | ||
| 174 | /* Nanosecond resolution time values are supported. */ | ||
| 175 | #define _STATBUF_ST_NSEC | ||
| 176 | |||
| 177 | /* Encoding of the file mode. */ | ||
| 178 | |||
| 179 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 180 | |||
| 181 | /* File types. */ | ||
| 182 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 183 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 184 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 185 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 186 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 187 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 188 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 189 | |||
| 190 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 191 | they do it by enforcing the correct use of the macros. */ | ||
| 192 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 193 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 194 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 195 | |||
| 196 | /* Protection bits. */ | ||
| 197 | |||
| 198 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 199 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 200 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 201 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 202 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 203 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 204 | |||
| 205 | #ifdef __USE_ATFILE | ||
| 206 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 207 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 208 | #endif | ||
| 209 | |||
| 210 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/i386-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal mutex struct definitions. | 1 | /* x86 internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal rwlock struct definitions. | 1 | /* x86 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/i386-linux-gnu/bits/struct_stat.h created+157| ... | @@ -0,0 +1,157 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | struct stat | ||
| 27 | { | ||
| 28 | __dev_t st_dev;		/* Device. */ | ||
| 29 | #ifndef __x86_64__ | ||
| 30 | unsigned short int __pad1; | ||
| 31 | #endif | ||
| 32 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 33 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 34 | #else | ||
| 35 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 36 | #endif | ||
| 37 | #ifndef __x86_64__ | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | #else | ||
| 41 | __nlink_t st_nlink;		/* Link count. */ | ||
| 42 | __mode_t st_mode;		/* File mode. */ | ||
| 43 | #endif | ||
| 44 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 45 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 46 | #ifdef __x86_64__ | ||
| 47 | int __pad0; | ||
| 48 | #endif | ||
| 49 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 50 | #ifndef __x86_64__ | ||
| 51 | unsigned short int __pad2; | ||
| 52 | #endif | ||
| 53 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 59 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 60 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 61 | #else | ||
| 62 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 63 | #endif | ||
| 64 | #ifdef __USE_XOPEN2K8 | ||
| 65 | /* Nanosecond resolution timestamps are stored in a format | ||
| 66 | equivalent to 'struct timespec'. This is the type used | ||
| 67 | whenever possible but the Unix namespace rules do not allow the | ||
| 68 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 69 | Therefore we have to handle the use of this header in strictly | ||
| 70 | standard-compliant sources special. */ | ||
| 71 | struct timespec st_atim;		/* Time of last access. */ | ||
| 72 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 73 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 74 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 75 | # define st_mtime st_mtim.tv_sec | ||
| 76 | # define st_ctime st_ctim.tv_sec | ||
| 77 | #else | ||
| 78 | __time_t st_atime;			/* Time of last access. */ | ||
| 79 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 80 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 81 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 82 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 83 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 84 | #endif | ||
| 85 | #ifdef __x86_64__ | ||
| 86 | __syscall_slong_t __glibc_reserved[3]; | ||
| 87 | #else | ||
| 88 | # ifndef __USE_FILE_OFFSET64 | ||
| 89 | unsigned long int __glibc_reserved4; | ||
| 90 | unsigned long int __glibc_reserved5; | ||
| 91 | # else | ||
| 92 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 93 | # endif | ||
| 94 | #endif | ||
| 95 | }; | ||
| 96 | |||
| 97 | #ifdef __USE_LARGEFILE64 | ||
| 98 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | # ifdef __x86_64__ | ||
| 103 | __ino64_t st_ino;		/* File serial number. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __mode_t st_mode;		/* File mode. */ | ||
| 106 | # else | ||
| 107 | unsigned int __pad1; | ||
| 108 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 109 | __mode_t st_mode;			/* File mode. */ | ||
| 110 | __nlink_t st_nlink;			/* Link count. */ | ||
| 111 | # endif | ||
| 112 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 113 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 114 | # ifdef __x86_64__ | ||
| 115 | int __pad0; | ||
| 116 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 117 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 118 | # else | ||
| 119 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 120 | unsigned int __pad2; | ||
| 121 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 122 | # endif | ||
| 123 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 124 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 125 | # ifdef __USE_XOPEN2K8 | ||
| 126 | /* Nanosecond resolution timestamps are stored in a format | ||
| 127 | equivalent to 'struct timespec'. This is the type used | ||
| 128 | whenever possible but the Unix namespace rules do not allow the | ||
| 129 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 130 | Therefore we have to handle the use of this header in strictly | ||
| 131 | standard-compliant sources special. */ | ||
| 132 | struct timespec st_atim;		/* Time of last access. */ | ||
| 133 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 134 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 135 | # else | ||
| 136 | __time_t st_atime;			/* Time of last access. */ | ||
| 137 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 138 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 139 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 140 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 141 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 142 | # endif | ||
| 143 | # ifdef __x86_64__ | ||
| 144 | __syscall_slong_t __glibc_reserved[3]; | ||
| 145 | # else | ||
| 146 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 147 | # endif | ||
| 148 | }; | ||
| 149 | #endif | ||
| 150 | |||
| 151 | /* Tell code we have these members. */ | ||
| 152 | #define	_STATBUF_ST_BLKSIZE | ||
| 153 | #define _STATBUF_ST_RDEV | ||
| 154 | /* Nanosecond resolution time values are supported. */ | ||
| 155 | #define _STATBUF_ST_NSEC | ||
| 156 | |||
| 157 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/i386-linux-gnu/bits/timesize.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 implementation of the semaphore struct semid_ds. | 1 | /* x86 implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/finclude/math-vector-fortran.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | ! Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | ! This file is part of the GNU C Library. | 3 | ! This file is part of the GNU C Library. |
| 4 | ! | 4 | ! |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. x86 version. | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Olaf Flebbe. | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 |
lib/libc/include/i386-linux-gnu/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/x86 version. | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/i386-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/i386-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mips-linux-gnu/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mips64-linux-gnuabi64/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabi64/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mips64-linux-gnuabin32/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64-linux-gnuabin32/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mips64el-linux-gnuabi64/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabi64/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mips64el-linux-gnuabin32/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mips64el-linux-gnuabin32/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/dlfcn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System dependent definitions for run-time dynamic loading. | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. MIPS/Linux specific version. | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* Machine-specific pthread type layouts. MIPS version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/MIPS version. | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/semaphore.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. MIPS version. | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/MIPS's sigaction. | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 2 | 2 | ||
| 3 | The GNU C Library is free software; you can redistribute it and/or | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | modify it under the terms of the GNU Lesser General Public | 4 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/mipsel-linux-gnu/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/MIPS version. | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/MIPS. | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS internal mutex struct definitions. | 1 | /* MIPS internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/mips version. | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/termios-tcflow.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/mips version. | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/types/stack_t.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define stack_t. MIPS Linux version. | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. | 1 | /* Linux/MIPS implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* MIPS implementation of the semaphore struct semid_ds | 1 | /* MIPS implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. | 1 | /* Linux/MIPS implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/mipsel-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on powerpc. | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. PowerPC version. | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | 1 | /* struct ipc_perm definition. Linux/powerpc version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-128ibm version. | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-opt version. | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. PowerPC version. | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/stat.h deleted-275| ... | @@ -1,275 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | /* Versions of the `struct stat' data structure. */ | ||
| 28 | #define _STAT_VER_LINUX_OLD	1 | ||
| 29 | #define _STAT_VER_KERNEL	1 | ||
| 30 | #define _STAT_VER_SVR4		2 | ||
| 31 | #define _STAT_VER_LINUX	 3 | ||
| 32 | #if __WORDSIZE == 32 | ||
| 33 | # define _STAT_VER		_STAT_VER_LINUX | ||
| 34 | #else | ||
| 35 | # define _STAT_VER		_STAT_VER_KERNEL | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Versions of the `xmknod' interface. */ | ||
| 39 | #define _MKNOD_VER_LINUX	1 | ||
| 40 | #define _MKNOD_VER_SVR4		2 | ||
| 41 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 42 | |||
| 43 | |||
| 44 | #if __WORDSIZE == 32 | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;			/* Device. */ | ||
| 49 | # ifndef __USE_FILE_OFFSET64 | ||
| 50 | unsigned short int __pad1; | ||
| 51 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 52 | # else | ||
| 53 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 54 | # endif | ||
| 55 | __mode_t st_mode;			/* File mode. */ | ||
| 56 | __nlink_t st_nlink;			/* Link count. */ | ||
| 57 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 58 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 59 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 60 | unsigned short int __pad2; | ||
| 61 | # ifndef __USE_FILE_OFFSET64 | ||
| 62 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 63 | # else | ||
| 64 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 65 | # endif | ||
| 66 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 67 | |||
| 68 | # ifndef __USE_FILE_OFFSET64 | ||
| 69 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 70 | # else | ||
| 71 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 72 | # endif | ||
| 73 | # ifdef __USE_XOPEN2K8 | ||
| 74 | /* Nanosecond resolution timestamps are stored in a format | ||
| 75 | equivalent to 'struct timespec'. This is the type used | ||
| 76 | whenever possible but the Unix namespace rules do not allow the | ||
| 77 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 78 | Therefore we have to handle the use of this header in strictly | ||
| 79 | standard-compliant sources special. */ | ||
| 80 | struct timespec st_atim;		/* Time of last access. */ | ||
| 81 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 82 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 83 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 84 | # define st_mtime st_mtim.tv_sec | ||
| 85 | # define st_ctime st_ctim.tv_sec | ||
| 86 | # else | ||
| 87 | __time_t st_atime;			/* Time of last access. */ | ||
| 88 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 89 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 90 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 91 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 92 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 93 | # endif | ||
| 94 | unsigned long int __glibc_reserved4; | ||
| 95 | unsigned long int __glibc_reserved5; | ||
| 96 | }; | ||
| 97 | |||
| 98 | |||
| 99 | # ifdef __USE_LARGEFILE64 | ||
| 100 | struct stat64 | ||
| 101 | { | ||
| 102 | __dev_t st_dev;			/* Device. */ | ||
| 103 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 104 | __mode_t st_mode;			/* File mode. */ | ||
| 105 | __nlink_t st_nlink;			/* Link count. */ | ||
| 106 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 107 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 108 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 109 | unsigned short int __pad2; | ||
| 110 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 111 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 112 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 113 | # ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 124 | # define st_mtime st_mtim.tv_sec | ||
| 125 | # define st_ctime st_ctim.tv_sec | ||
| 126 | # else | ||
| 127 | __time_t st_atime;			/* Time of last access. */ | ||
| 128 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 129 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 130 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 131 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 132 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 133 | # endif | ||
| 134 | unsigned long int __glibc_reserved4; | ||
| 135 | unsigned long int __glibc_reserved5; | ||
| 136 | }; | ||
| 137 | # endif /* __USE_LARGEFILE64 */ | ||
| 138 | |||
| 139 | #else /* __WORDSIZE == 32 */ | ||
| 140 | |||
| 141 | struct stat | ||
| 142 | { | ||
| 143 | __dev_t st_dev;			/* Device. */ | ||
| 144 | # ifndef __USE_FILE_OFFSET64 | ||
| 145 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 146 | # else | ||
| 147 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 148 | # endif | ||
| 149 | __nlink_t st_nlink;			/* Link count. */ | ||
| 150 | __mode_t st_mode;			/* File mode. */ | ||
| 151 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 152 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 153 | int __pad2; | ||
| 154 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 155 | # ifndef __USE_FILE_OFFSET64 | ||
| 156 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 157 | # else | ||
| 158 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 159 | # endif | ||
| 160 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 161 | |||
| 162 | # ifndef __USE_FILE_OFFSET64 | ||
| 163 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 164 | # else | ||
| 165 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 166 | # endif | ||
| 167 | # ifdef __USE_XOPEN2K8 | ||
| 168 | /* Nanosecond resolution timestamps are stored in a format | ||
| 169 | equivalent to 'struct timespec'. This is the type used | ||
| 170 | whenever possible but the Unix namespace rules do not allow the | ||
| 171 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 172 | Therefore we have to handle the use of this header in strictly | ||
| 173 | standard-compliant sources special. */ | ||
| 174 | struct timespec st_atim;		/* Time of last access. */ | ||
| 175 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 176 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 177 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 178 | # define st_mtime st_mtim.tv_sec | ||
| 179 | # define st_ctime st_ctim.tv_sec | ||
| 180 | # else | ||
| 181 | __time_t st_atime;			/* Time of last access. */ | ||
| 182 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 183 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 184 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 185 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 186 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 187 | # endif | ||
| 188 | unsigned long int __glibc_reserved4; | ||
| 189 | unsigned long int __glibc_reserved5; | ||
| 190 | unsigned long int __glibc_reserved6; | ||
| 191 | }; | ||
| 192 | |||
| 193 | # ifdef __USE_LARGEFILE64 | ||
| 194 | struct stat64 | ||
| 195 | { | ||
| 196 | __dev_t st_dev;			/* Device. */ | ||
| 197 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 198 | __nlink_t st_nlink;			/* Link count. */ | ||
| 199 | __mode_t st_mode;			/* File mode. */ | ||
| 200 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 201 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 202 | int __pad2; | ||
| 203 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 204 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 205 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 206 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 207 | # ifdef __USE_XOPEN2K8 | ||
| 208 | /* Nanosecond resolution timestamps are stored in a format | ||
| 209 | equivalent to 'struct timespec'. This is the type used | ||
| 210 | whenever possible but the Unix namespace rules do not allow the | ||
| 211 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 212 | Therefore we have to handle the use of this header in strictly | ||
| 213 | standard-compliant sources special. */ | ||
| 214 | struct timespec st_atim;		/* Time of last access. */ | ||
| 215 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 216 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 217 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 218 | # define st_mtime st_mtim.tv_sec | ||
| 219 | # define st_ctime st_ctim.tv_sec | ||
| 220 | # else | ||
| 221 | __time_t st_atime;			/* Time of last access. */ | ||
| 222 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 223 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 224 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 225 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 226 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 227 | # endif | ||
| 228 | unsigned long int __glibc_reserved4; | ||
| 229 | unsigned long int __glibc_reserved5; | ||
| 230 | unsigned long int __glibc_reserved6; | ||
| 231 | }; | ||
| 232 | # endif /* __USE_LARGEFILE64 */ | ||
| 233 | #endif | ||
| 234 | |||
| 235 | |||
| 236 | /* Tell code we have these members. */ | ||
| 237 | #define	_STATBUF_ST_BLKSIZE | ||
| 238 | #define _STATBUF_ST_RDEV | ||
| 239 | /* Nanosecond resolution time values are supported. */ | ||
| 240 | #define _STATBUF_ST_NSEC | ||
| 241 | |||
| 242 | /* Encoding of the file mode. */ | ||
| 243 | |||
| 244 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 245 | |||
| 246 | /* File types. */ | ||
| 247 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 248 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 249 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 250 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 251 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 252 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 253 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 254 | |||
| 255 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 256 | they do it by enforcing the correct use of the macros. */ | ||
| 257 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 258 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 259 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 260 | |||
| 261 | /* Protection bits. */ | ||
| 262 | |||
| 263 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 264 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 265 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 266 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 267 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 268 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 269 | |||
| 270 | #ifdef __USE_ATFILE | ||
| 271 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 272 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 273 | #endif | ||
| 274 | |||
| 275 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | 1 | /* PowerPC internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | 1 | /* PowerPC internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/powerpc-linux-gnu/bits/struct_stat.h created+225| ... | @@ -0,0 +1,225 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/wordsize.h> | ||
| 27 | |||
| 28 | #if __WORDSIZE == 32 | ||
| 29 | |||
| 30 | struct stat | ||
| 31 | { | ||
| 32 | __dev_t st_dev;			/* Device. */ | ||
| 33 | # ifndef __USE_FILE_OFFSET64 | ||
| 34 | unsigned short int __pad1; | ||
| 35 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 36 | # else | ||
| 37 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 38 | # endif | ||
| 39 | __mode_t st_mode;			/* File mode. */ | ||
| 40 | __nlink_t st_nlink;			/* Link count. */ | ||
| 41 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 42 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 43 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 44 | unsigned short int __pad2; | ||
| 45 | # ifndef __USE_FILE_OFFSET64 | ||
| 46 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 47 | # else | ||
| 48 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 49 | # endif | ||
| 50 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 51 | |||
| 52 | # ifndef __USE_FILE_OFFSET64 | ||
| 53 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 54 | # else | ||
| 55 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 56 | # endif | ||
| 57 | # ifdef __USE_XOPEN2K8 | ||
| 58 | /* Nanosecond resolution timestamps are stored in a format | ||
| 59 | equivalent to 'struct timespec'. This is the type used | ||
| 60 | whenever possible but the Unix namespace rules do not allow the | ||
| 61 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 62 | Therefore we have to handle the use of this header in strictly | ||
| 63 | standard-compliant sources special. */ | ||
| 64 | struct timespec st_atim;		/* Time of last access. */ | ||
| 65 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 66 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 67 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 68 | # define st_mtime st_mtim.tv_sec | ||
| 69 | # define st_ctime st_ctim.tv_sec | ||
| 70 | # else | ||
| 71 | __time_t st_atime;			/* Time of last access. */ | ||
| 72 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 73 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 74 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 75 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 76 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 77 | # endif | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | }; | ||
| 81 | |||
| 82 | |||
| 83 | # ifdef __USE_LARGEFILE64 | ||
| 84 | struct stat64 | ||
| 85 | { | ||
| 86 | __dev_t st_dev;			/* Device. */ | ||
| 87 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 88 | __mode_t st_mode;			/* File mode. */ | ||
| 89 | __nlink_t st_nlink;			/* Link count. */ | ||
| 90 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 91 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 92 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 93 | unsigned short int __pad2; | ||
| 94 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 95 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 96 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 97 | # ifdef __USE_XOPEN2K8 | ||
| 98 | /* Nanosecond resolution timestamps are stored in a format | ||
| 99 | equivalent to 'struct timespec'. This is the type used | ||
| 100 | whenever possible but the Unix namespace rules do not allow the | ||
| 101 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 102 | Therefore we have to handle the use of this header in strictly | ||
| 103 | standard-compliant sources special. */ | ||
| 104 | struct timespec st_atim;		/* Time of last access. */ | ||
| 105 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 106 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 107 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 108 | # define st_mtime st_mtim.tv_sec | ||
| 109 | # define st_ctime st_ctim.tv_sec | ||
| 110 | # else | ||
| 111 | __time_t st_atime;			/* Time of last access. */ | ||
| 112 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 113 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 114 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 115 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 116 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 117 | # endif | ||
| 118 | unsigned long int __glibc_reserved4; | ||
| 119 | unsigned long int __glibc_reserved5; | ||
| 120 | }; | ||
| 121 | # endif /* __USE_LARGEFILE64 */ | ||
| 122 | |||
| 123 | #else /* __WORDSIZE == 32 */ | ||
| 124 | |||
| 125 | struct stat | ||
| 126 | { | ||
| 127 | __dev_t st_dev;			/* Device. */ | ||
| 128 | # ifndef __USE_FILE_OFFSET64 | ||
| 129 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 130 | # else | ||
| 131 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 132 | # endif | ||
| 133 | __nlink_t st_nlink;			/* Link count. */ | ||
| 134 | __mode_t st_mode;			/* File mode. */ | ||
| 135 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 136 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 137 | int __pad2; | ||
| 138 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 139 | # ifndef __USE_FILE_OFFSET64 | ||
| 140 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 141 | # else | ||
| 142 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 143 | # endif | ||
| 144 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 145 | |||
| 146 | # ifndef __USE_FILE_OFFSET64 | ||
| 147 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 148 | # else | ||
| 149 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 150 | # endif | ||
| 151 | # ifdef __USE_XOPEN2K8 | ||
| 152 | /* Nanosecond resolution timestamps are stored in a format | ||
| 153 | equivalent to 'struct timespec'. This is the type used | ||
| 154 | whenever possible but the Unix namespace rules do not allow the | ||
| 155 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 156 | Therefore we have to handle the use of this header in strictly | ||
| 157 | standard-compliant sources special. */ | ||
| 158 | struct timespec st_atim;		/* Time of last access. */ | ||
| 159 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 160 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 161 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 162 | # define st_mtime st_mtim.tv_sec | ||
| 163 | # define st_ctime st_ctim.tv_sec | ||
| 164 | # else | ||
| 165 | __time_t st_atime;			/* Time of last access. */ | ||
| 166 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 167 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 168 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 169 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 170 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 171 | # endif | ||
| 172 | unsigned long int __glibc_reserved4; | ||
| 173 | unsigned long int __glibc_reserved5; | ||
| 174 | unsigned long int __glibc_reserved6; | ||
| 175 | }; | ||
| 176 | |||
| 177 | # ifdef __USE_LARGEFILE64 | ||
| 178 | struct stat64 | ||
| 179 | { | ||
| 180 | __dev_t st_dev;			/* Device. */ | ||
| 181 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 182 | __nlink_t st_nlink;			/* Link count. */ | ||
| 183 | __mode_t st_mode;			/* File mode. */ | ||
| 184 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 185 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 186 | int __pad2; | ||
| 187 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 188 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 189 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 190 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 191 | # ifdef __USE_XOPEN2K8 | ||
| 192 | /* Nanosecond resolution timestamps are stored in a format | ||
| 193 | equivalent to 'struct timespec'. This is the type used | ||
| 194 | whenever possible but the Unix namespace rules do not allow the | ||
| 195 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 196 | Therefore we have to handle the use of this header in strictly | ||
| 197 | standard-compliant sources special. */ | ||
| 198 | struct timespec st_atim;		/* Time of last access. */ | ||
| 199 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 200 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 201 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 202 | # define st_mtime st_mtim.tv_sec | ||
| 203 | # define st_ctime st_ctim.tv_sec | ||
| 204 | # else | ||
| 205 | __time_t st_atime;			/* Time of last access. */ | ||
| 206 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 207 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 208 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 209 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 210 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 211 | # endif | ||
| 212 | unsigned long int __glibc_reserved4; | ||
| 213 | unsigned long int __glibc_reserved5; | ||
| 214 | unsigned long int __glibc_reserved6; | ||
| 215 | }; | ||
| 216 | # endif /* __USE_LARGEFILE64 */ | ||
| 217 | #endif | ||
| 218 | |||
| 219 | /* Tell code we have these members. */ | ||
| 220 | #define	_STATBUF_ST_BLKSIZE | ||
| 221 | #define _STATBUF_ST_RDEV | ||
| 222 | /* Nanosecond resolution time values are supported. */ | ||
| 223 | #define _STATBUF_ST_NSEC | ||
| 224 | |||
| 225 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc-linux-gnu/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/powerpc version. | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_cflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios control mode definitions. Linux/powerpc version. | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_iflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios input mode definitions. Linux/powerpc version. | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/powerpc version. | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/powerpc version. | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/termios-misc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud platform specific definitions. Linux/powerpc version. | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. | 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC implementation of the semaphore struct semid_ds. | 1 | /* PowerPC implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. | 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. PowerPC version. | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on powerpc. | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. PowerPC version. | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | 1 | /* struct ipc_perm definition. Linux/powerpc version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-128ibm version. | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-opt version. | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. PowerPC version. | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/stat.h deleted-275| ... | @@ -1,275 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | /* Versions of the `struct stat' data structure. */ | ||
| 28 | #define _STAT_VER_LINUX_OLD	1 | ||
| 29 | #define _STAT_VER_KERNEL	1 | ||
| 30 | #define _STAT_VER_SVR4		2 | ||
| 31 | #define _STAT_VER_LINUX	 3 | ||
| 32 | #if __WORDSIZE == 32 | ||
| 33 | # define _STAT_VER		_STAT_VER_LINUX | ||
| 34 | #else | ||
| 35 | # define _STAT_VER		_STAT_VER_KERNEL | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Versions of the `xmknod' interface. */ | ||
| 39 | #define _MKNOD_VER_LINUX	1 | ||
| 40 | #define _MKNOD_VER_SVR4		2 | ||
| 41 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 42 | |||
| 43 | |||
| 44 | #if __WORDSIZE == 32 | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;			/* Device. */ | ||
| 49 | # ifndef __USE_FILE_OFFSET64 | ||
| 50 | unsigned short int __pad1; | ||
| 51 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 52 | # else | ||
| 53 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 54 | # endif | ||
| 55 | __mode_t st_mode;			/* File mode. */ | ||
| 56 | __nlink_t st_nlink;			/* Link count. */ | ||
| 57 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 58 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 59 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 60 | unsigned short int __pad2; | ||
| 61 | # ifndef __USE_FILE_OFFSET64 | ||
| 62 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 63 | # else | ||
| 64 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 65 | # endif | ||
| 66 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 67 | |||
| 68 | # ifndef __USE_FILE_OFFSET64 | ||
| 69 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 70 | # else | ||
| 71 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 72 | # endif | ||
| 73 | # ifdef __USE_XOPEN2K8 | ||
| 74 | /* Nanosecond resolution timestamps are stored in a format | ||
| 75 | equivalent to 'struct timespec'. This is the type used | ||
| 76 | whenever possible but the Unix namespace rules do not allow the | ||
| 77 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 78 | Therefore we have to handle the use of this header in strictly | ||
| 79 | standard-compliant sources special. */ | ||
| 80 | struct timespec st_atim;		/* Time of last access. */ | ||
| 81 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 82 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 83 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 84 | # define st_mtime st_mtim.tv_sec | ||
| 85 | # define st_ctime st_ctim.tv_sec | ||
| 86 | # else | ||
| 87 | __time_t st_atime;			/* Time of last access. */ | ||
| 88 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 89 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 90 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 91 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 92 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 93 | # endif | ||
| 94 | unsigned long int __glibc_reserved4; | ||
| 95 | unsigned long int __glibc_reserved5; | ||
| 96 | }; | ||
| 97 | |||
| 98 | |||
| 99 | # ifdef __USE_LARGEFILE64 | ||
| 100 | struct stat64 | ||
| 101 | { | ||
| 102 | __dev_t st_dev;			/* Device. */ | ||
| 103 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 104 | __mode_t st_mode;			/* File mode. */ | ||
| 105 | __nlink_t st_nlink;			/* Link count. */ | ||
| 106 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 107 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 108 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 109 | unsigned short int __pad2; | ||
| 110 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 111 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 112 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 113 | # ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 124 | # define st_mtime st_mtim.tv_sec | ||
| 125 | # define st_ctime st_ctim.tv_sec | ||
| 126 | # else | ||
| 127 | __time_t st_atime;			/* Time of last access. */ | ||
| 128 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 129 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 130 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 131 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 132 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 133 | # endif | ||
| 134 | unsigned long int __glibc_reserved4; | ||
| 135 | unsigned long int __glibc_reserved5; | ||
| 136 | }; | ||
| 137 | # endif /* __USE_LARGEFILE64 */ | ||
| 138 | |||
| 139 | #else /* __WORDSIZE == 32 */ | ||
| 140 | |||
| 141 | struct stat | ||
| 142 | { | ||
| 143 | __dev_t st_dev;			/* Device. */ | ||
| 144 | # ifndef __USE_FILE_OFFSET64 | ||
| 145 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 146 | # else | ||
| 147 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 148 | # endif | ||
| 149 | __nlink_t st_nlink;			/* Link count. */ | ||
| 150 | __mode_t st_mode;			/* File mode. */ | ||
| 151 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 152 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 153 | int __pad2; | ||
| 154 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 155 | # ifndef __USE_FILE_OFFSET64 | ||
| 156 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 157 | # else | ||
| 158 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 159 | # endif | ||
| 160 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 161 | |||
| 162 | # ifndef __USE_FILE_OFFSET64 | ||
| 163 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 164 | # else | ||
| 165 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 166 | # endif | ||
| 167 | # ifdef __USE_XOPEN2K8 | ||
| 168 | /* Nanosecond resolution timestamps are stored in a format | ||
| 169 | equivalent to 'struct timespec'. This is the type used | ||
| 170 | whenever possible but the Unix namespace rules do not allow the | ||
| 171 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 172 | Therefore we have to handle the use of this header in strictly | ||
| 173 | standard-compliant sources special. */ | ||
| 174 | struct timespec st_atim;		/* Time of last access. */ | ||
| 175 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 176 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 177 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 178 | # define st_mtime st_mtim.tv_sec | ||
| 179 | # define st_ctime st_ctim.tv_sec | ||
| 180 | # else | ||
| 181 | __time_t st_atime;			/* Time of last access. */ | ||
| 182 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 183 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 184 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 185 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 186 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 187 | # endif | ||
| 188 | unsigned long int __glibc_reserved4; | ||
| 189 | unsigned long int __glibc_reserved5; | ||
| 190 | unsigned long int __glibc_reserved6; | ||
| 191 | }; | ||
| 192 | |||
| 193 | # ifdef __USE_LARGEFILE64 | ||
| 194 | struct stat64 | ||
| 195 | { | ||
| 196 | __dev_t st_dev;			/* Device. */ | ||
| 197 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 198 | __nlink_t st_nlink;			/* Link count. */ | ||
| 199 | __mode_t st_mode;			/* File mode. */ | ||
| 200 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 201 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 202 | int __pad2; | ||
| 203 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 204 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 205 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 206 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 207 | # ifdef __USE_XOPEN2K8 | ||
| 208 | /* Nanosecond resolution timestamps are stored in a format | ||
| 209 | equivalent to 'struct timespec'. This is the type used | ||
| 210 | whenever possible but the Unix namespace rules do not allow the | ||
| 211 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 212 | Therefore we have to handle the use of this header in strictly | ||
| 213 | standard-compliant sources special. */ | ||
| 214 | struct timespec st_atim;		/* Time of last access. */ | ||
| 215 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 216 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 217 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 218 | # define st_mtime st_mtim.tv_sec | ||
| 219 | # define st_ctime st_ctim.tv_sec | ||
| 220 | # else | ||
| 221 | __time_t st_atime;			/* Time of last access. */ | ||
| 222 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 223 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 224 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 225 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 226 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 227 | # endif | ||
| 228 | unsigned long int __glibc_reserved4; | ||
| 229 | unsigned long int __glibc_reserved5; | ||
| 230 | unsigned long int __glibc_reserved6; | ||
| 231 | }; | ||
| 232 | # endif /* __USE_LARGEFILE64 */ | ||
| 233 | #endif | ||
| 234 | |||
| 235 | |||
| 236 | /* Tell code we have these members. */ | ||
| 237 | #define	_STATBUF_ST_BLKSIZE | ||
| 238 | #define _STATBUF_ST_RDEV | ||
| 239 | /* Nanosecond resolution time values are supported. */ | ||
| 240 | #define _STATBUF_ST_NSEC | ||
| 241 | |||
| 242 | /* Encoding of the file mode. */ | ||
| 243 | |||
| 244 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 245 | |||
| 246 | /* File types. */ | ||
| 247 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 248 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 249 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 250 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 251 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 252 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 253 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 254 | |||
| 255 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 256 | they do it by enforcing the correct use of the macros. */ | ||
| 257 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 258 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 259 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 260 | |||
| 261 | /* Protection bits. */ | ||
| 262 | |||
| 263 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 264 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 265 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 266 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 267 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 268 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 269 | |||
| 270 | #ifdef __USE_ATFILE | ||
| 271 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 272 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 273 | #endif | ||
| 274 | |||
| 275 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc64-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | 1 | /* PowerPC internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | 1 | /* PowerPC internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/powerpc64-linux-gnu/bits/struct_stat.h created+225| ... | @@ -0,0 +1,225 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/wordsize.h> | ||
| 27 | |||
| 28 | #if __WORDSIZE == 32 | ||
| 29 | |||
| 30 | struct stat | ||
| 31 | { | ||
| 32 | __dev_t st_dev;			/* Device. */ | ||
| 33 | # ifndef __USE_FILE_OFFSET64 | ||
| 34 | unsigned short int __pad1; | ||
| 35 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 36 | # else | ||
| 37 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 38 | # endif | ||
| 39 | __mode_t st_mode;			/* File mode. */ | ||
| 40 | __nlink_t st_nlink;			/* Link count. */ | ||
| 41 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 42 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 43 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 44 | unsigned short int __pad2; | ||
| 45 | # ifndef __USE_FILE_OFFSET64 | ||
| 46 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 47 | # else | ||
| 48 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 49 | # endif | ||
| 50 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 51 | |||
| 52 | # ifndef __USE_FILE_OFFSET64 | ||
| 53 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 54 | # else | ||
| 55 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 56 | # endif | ||
| 57 | # ifdef __USE_XOPEN2K8 | ||
| 58 | /* Nanosecond resolution timestamps are stored in a format | ||
| 59 | equivalent to 'struct timespec'. This is the type used | ||
| 60 | whenever possible but the Unix namespace rules do not allow the | ||
| 61 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 62 | Therefore we have to handle the use of this header in strictly | ||
| 63 | standard-compliant sources special. */ | ||
| 64 | struct timespec st_atim;		/* Time of last access. */ | ||
| 65 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 66 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 67 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 68 | # define st_mtime st_mtim.tv_sec | ||
| 69 | # define st_ctime st_ctim.tv_sec | ||
| 70 | # else | ||
| 71 | __time_t st_atime;			/* Time of last access. */ | ||
| 72 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 73 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 74 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 75 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 76 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 77 | # endif | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | }; | ||
| 81 | |||
| 82 | |||
| 83 | # ifdef __USE_LARGEFILE64 | ||
| 84 | struct stat64 | ||
| 85 | { | ||
| 86 | __dev_t st_dev;			/* Device. */ | ||
| 87 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 88 | __mode_t st_mode;			/* File mode. */ | ||
| 89 | __nlink_t st_nlink;			/* Link count. */ | ||
| 90 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 91 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 92 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 93 | unsigned short int __pad2; | ||
| 94 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 95 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 96 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 97 | # ifdef __USE_XOPEN2K8 | ||
| 98 | /* Nanosecond resolution timestamps are stored in a format | ||
| 99 | equivalent to 'struct timespec'. This is the type used | ||
| 100 | whenever possible but the Unix namespace rules do not allow the | ||
| 101 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 102 | Therefore we have to handle the use of this header in strictly | ||
| 103 | standard-compliant sources special. */ | ||
| 104 | struct timespec st_atim;		/* Time of last access. */ | ||
| 105 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 106 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 107 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 108 | # define st_mtime st_mtim.tv_sec | ||
| 109 | # define st_ctime st_ctim.tv_sec | ||
| 110 | # else | ||
| 111 | __time_t st_atime;			/* Time of last access. */ | ||
| 112 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 113 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 114 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 115 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 116 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 117 | # endif | ||
| 118 | unsigned long int __glibc_reserved4; | ||
| 119 | unsigned long int __glibc_reserved5; | ||
| 120 | }; | ||
| 121 | # endif /* __USE_LARGEFILE64 */ | ||
| 122 | |||
| 123 | #else /* __WORDSIZE == 32 */ | ||
| 124 | |||
| 125 | struct stat | ||
| 126 | { | ||
| 127 | __dev_t st_dev;			/* Device. */ | ||
| 128 | # ifndef __USE_FILE_OFFSET64 | ||
| 129 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 130 | # else | ||
| 131 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 132 | # endif | ||
| 133 | __nlink_t st_nlink;			/* Link count. */ | ||
| 134 | __mode_t st_mode;			/* File mode. */ | ||
| 135 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 136 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 137 | int __pad2; | ||
| 138 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 139 | # ifndef __USE_FILE_OFFSET64 | ||
| 140 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 141 | # else | ||
| 142 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 143 | # endif | ||
| 144 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 145 | |||
| 146 | # ifndef __USE_FILE_OFFSET64 | ||
| 147 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 148 | # else | ||
| 149 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 150 | # endif | ||
| 151 | # ifdef __USE_XOPEN2K8 | ||
| 152 | /* Nanosecond resolution timestamps are stored in a format | ||
| 153 | equivalent to 'struct timespec'. This is the type used | ||
| 154 | whenever possible but the Unix namespace rules do not allow the | ||
| 155 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 156 | Therefore we have to handle the use of this header in strictly | ||
| 157 | standard-compliant sources special. */ | ||
| 158 | struct timespec st_atim;		/* Time of last access. */ | ||
| 159 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 160 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 161 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 162 | # define st_mtime st_mtim.tv_sec | ||
| 163 | # define st_ctime st_ctim.tv_sec | ||
| 164 | # else | ||
| 165 | __time_t st_atime;			/* Time of last access. */ | ||
| 166 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 167 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 168 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 169 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 170 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 171 | # endif | ||
| 172 | unsigned long int __glibc_reserved4; | ||
| 173 | unsigned long int __glibc_reserved5; | ||
| 174 | unsigned long int __glibc_reserved6; | ||
| 175 | }; | ||
| 176 | |||
| 177 | # ifdef __USE_LARGEFILE64 | ||
| 178 | struct stat64 | ||
| 179 | { | ||
| 180 | __dev_t st_dev;			/* Device. */ | ||
| 181 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 182 | __nlink_t st_nlink;			/* Link count. */ | ||
| 183 | __mode_t st_mode;			/* File mode. */ | ||
| 184 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 185 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 186 | int __pad2; | ||
| 187 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 188 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 189 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 190 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 191 | # ifdef __USE_XOPEN2K8 | ||
| 192 | /* Nanosecond resolution timestamps are stored in a format | ||
| 193 | equivalent to 'struct timespec'. This is the type used | ||
| 194 | whenever possible but the Unix namespace rules do not allow the | ||
| 195 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 196 | Therefore we have to handle the use of this header in strictly | ||
| 197 | standard-compliant sources special. */ | ||
| 198 | struct timespec st_atim;		/* Time of last access. */ | ||
| 199 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 200 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 201 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 202 | # define st_mtime st_mtim.tv_sec | ||
| 203 | # define st_ctime st_ctim.tv_sec | ||
| 204 | # else | ||
| 205 | __time_t st_atime;			/* Time of last access. */ | ||
| 206 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 207 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 208 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 209 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 210 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 211 | # endif | ||
| 212 | unsigned long int __glibc_reserved4; | ||
| 213 | unsigned long int __glibc_reserved5; | ||
| 214 | unsigned long int __glibc_reserved6; | ||
| 215 | }; | ||
| 216 | # endif /* __USE_LARGEFILE64 */ | ||
| 217 | #endif | ||
| 218 | |||
| 219 | /* Tell code we have these members. */ | ||
| 220 | #define	_STATBUF_ST_BLKSIZE | ||
| 221 | #define _STATBUF_ST_RDEV | ||
| 222 | /* Nanosecond resolution time values are supported. */ | ||
| 223 | #define _STATBUF_ST_NSEC | ||
| 224 | |||
| 225 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc64-linux-gnu/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/powerpc version. | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_cflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios control mode definitions. Linux/powerpc version. | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_iflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios input mode definitions. Linux/powerpc version. | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/powerpc version. | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/powerpc version. | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/termios-misc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud platform specific definitions. Linux/powerpc version. | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. | 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC implementation of the semaphore struct semid_ds. | 1 | /* PowerPC implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. | 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. PowerPC version. | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on powerpc. | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/fp-fast.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define FP_FAST_* macros. PowerPC version. | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/ioctl-types.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | 1 | /* struct ipc_perm definition. Linux/powerpc version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-128ibm version. | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-opt version. | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. PowerPC version. | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/stat.h deleted-275| ... | @@ -1,275 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | /* Versions of the `struct stat' data structure. */ | ||
| 28 | #define _STAT_VER_LINUX_OLD	1 | ||
| 29 | #define _STAT_VER_KERNEL	1 | ||
| 30 | #define _STAT_VER_SVR4		2 | ||
| 31 | #define _STAT_VER_LINUX	 3 | ||
| 32 | #if __WORDSIZE == 32 | ||
| 33 | # define _STAT_VER		_STAT_VER_LINUX | ||
| 34 | #else | ||
| 35 | # define _STAT_VER		_STAT_VER_KERNEL | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Versions of the `xmknod' interface. */ | ||
| 39 | #define _MKNOD_VER_LINUX	1 | ||
| 40 | #define _MKNOD_VER_SVR4		2 | ||
| 41 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 42 | |||
| 43 | |||
| 44 | #if __WORDSIZE == 32 | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;			/* Device. */ | ||
| 49 | # ifndef __USE_FILE_OFFSET64 | ||
| 50 | unsigned short int __pad1; | ||
| 51 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 52 | # else | ||
| 53 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 54 | # endif | ||
| 55 | __mode_t st_mode;			/* File mode. */ | ||
| 56 | __nlink_t st_nlink;			/* Link count. */ | ||
| 57 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 58 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 59 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 60 | unsigned short int __pad2; | ||
| 61 | # ifndef __USE_FILE_OFFSET64 | ||
| 62 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 63 | # else | ||
| 64 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 65 | # endif | ||
| 66 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 67 | |||
| 68 | # ifndef __USE_FILE_OFFSET64 | ||
| 69 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 70 | # else | ||
| 71 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 72 | # endif | ||
| 73 | # ifdef __USE_XOPEN2K8 | ||
| 74 | /* Nanosecond resolution timestamps are stored in a format | ||
| 75 | equivalent to 'struct timespec'. This is the type used | ||
| 76 | whenever possible but the Unix namespace rules do not allow the | ||
| 77 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 78 | Therefore we have to handle the use of this header in strictly | ||
| 79 | standard-compliant sources special. */ | ||
| 80 | struct timespec st_atim;		/* Time of last access. */ | ||
| 81 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 82 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 83 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 84 | # define st_mtime st_mtim.tv_sec | ||
| 85 | # define st_ctime st_ctim.tv_sec | ||
| 86 | # else | ||
| 87 | __time_t st_atime;			/* Time of last access. */ | ||
| 88 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 89 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 90 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 91 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 92 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 93 | # endif | ||
| 94 | unsigned long int __glibc_reserved4; | ||
| 95 | unsigned long int __glibc_reserved5; | ||
| 96 | }; | ||
| 97 | |||
| 98 | |||
| 99 | # ifdef __USE_LARGEFILE64 | ||
| 100 | struct stat64 | ||
| 101 | { | ||
| 102 | __dev_t st_dev;			/* Device. */ | ||
| 103 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 104 | __mode_t st_mode;			/* File mode. */ | ||
| 105 | __nlink_t st_nlink;			/* Link count. */ | ||
| 106 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 107 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 108 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 109 | unsigned short int __pad2; | ||
| 110 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 111 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 112 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 113 | # ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 124 | # define st_mtime st_mtim.tv_sec | ||
| 125 | # define st_ctime st_ctim.tv_sec | ||
| 126 | # else | ||
| 127 | __time_t st_atime;			/* Time of last access. */ | ||
| 128 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 129 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 130 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 131 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 132 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 133 | # endif | ||
| 134 | unsigned long int __glibc_reserved4; | ||
| 135 | unsigned long int __glibc_reserved5; | ||
| 136 | }; | ||
| 137 | # endif /* __USE_LARGEFILE64 */ | ||
| 138 | |||
| 139 | #else /* __WORDSIZE == 32 */ | ||
| 140 | |||
| 141 | struct stat | ||
| 142 | { | ||
| 143 | __dev_t st_dev;			/* Device. */ | ||
| 144 | # ifndef __USE_FILE_OFFSET64 | ||
| 145 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 146 | # else | ||
| 147 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 148 | # endif | ||
| 149 | __nlink_t st_nlink;			/* Link count. */ | ||
| 150 | __mode_t st_mode;			/* File mode. */ | ||
| 151 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 152 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 153 | int __pad2; | ||
| 154 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 155 | # ifndef __USE_FILE_OFFSET64 | ||
| 156 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 157 | # else | ||
| 158 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 159 | # endif | ||
| 160 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 161 | |||
| 162 | # ifndef __USE_FILE_OFFSET64 | ||
| 163 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 164 | # else | ||
| 165 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 166 | # endif | ||
| 167 | # ifdef __USE_XOPEN2K8 | ||
| 168 | /* Nanosecond resolution timestamps are stored in a format | ||
| 169 | equivalent to 'struct timespec'. This is the type used | ||
| 170 | whenever possible but the Unix namespace rules do not allow the | ||
| 171 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 172 | Therefore we have to handle the use of this header in strictly | ||
| 173 | standard-compliant sources special. */ | ||
| 174 | struct timespec st_atim;		/* Time of last access. */ | ||
| 175 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 176 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 177 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 178 | # define st_mtime st_mtim.tv_sec | ||
| 179 | # define st_ctime st_ctim.tv_sec | ||
| 180 | # else | ||
| 181 | __time_t st_atime;			/* Time of last access. */ | ||
| 182 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 183 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 184 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 185 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 186 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 187 | # endif | ||
| 188 | unsigned long int __glibc_reserved4; | ||
| 189 | unsigned long int __glibc_reserved5; | ||
| 190 | unsigned long int __glibc_reserved6; | ||
| 191 | }; | ||
| 192 | |||
| 193 | # ifdef __USE_LARGEFILE64 | ||
| 194 | struct stat64 | ||
| 195 | { | ||
| 196 | __dev_t st_dev;			/* Device. */ | ||
| 197 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 198 | __nlink_t st_nlink;			/* Link count. */ | ||
| 199 | __mode_t st_mode;			/* File mode. */ | ||
| 200 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 201 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 202 | int __pad2; | ||
| 203 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 204 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 205 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 206 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 207 | # ifdef __USE_XOPEN2K8 | ||
| 208 | /* Nanosecond resolution timestamps are stored in a format | ||
| 209 | equivalent to 'struct timespec'. This is the type used | ||
| 210 | whenever possible but the Unix namespace rules do not allow the | ||
| 211 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 212 | Therefore we have to handle the use of this header in strictly | ||
| 213 | standard-compliant sources special. */ | ||
| 214 | struct timespec st_atim;		/* Time of last access. */ | ||
| 215 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 216 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 217 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 218 | # define st_mtime st_mtim.tv_sec | ||
| 219 | # define st_ctime st_ctim.tv_sec | ||
| 220 | # else | ||
| 221 | __time_t st_atime;			/* Time of last access. */ | ||
| 222 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 223 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 224 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 225 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 226 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 227 | # endif | ||
| 228 | unsigned long int __glibc_reserved4; | ||
| 229 | unsigned long int __glibc_reserved5; | ||
| 230 | unsigned long int __glibc_reserved6; | ||
| 231 | }; | ||
| 232 | # endif /* __USE_LARGEFILE64 */ | ||
| 233 | #endif | ||
| 234 | |||
| 235 | |||
| 236 | /* Tell code we have these members. */ | ||
| 237 | #define	_STATBUF_ST_BLKSIZE | ||
| 238 | #define _STATBUF_ST_RDEV | ||
| 239 | /* Nanosecond resolution time values are supported. */ | ||
| 240 | #define _STATBUF_ST_NSEC | ||
| 241 | |||
| 242 | /* Encoding of the file mode. */ | ||
| 243 | |||
| 244 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 245 | |||
| 246 | /* File types. */ | ||
| 247 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 248 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 249 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 250 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 251 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 252 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 253 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 254 | |||
| 255 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 256 | they do it by enforcing the correct use of the macros. */ | ||
| 257 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 258 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 259 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 260 | |||
| 261 | /* Protection bits. */ | ||
| 262 | |||
| 263 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 264 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 265 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 266 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 267 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 268 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 269 | |||
| 270 | #ifdef __USE_ATFILE | ||
| 271 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 272 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 273 | #endif | ||
| 274 | |||
| 275 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc64le-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | 1 | /* PowerPC internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | 1 | /* PowerPC internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/powerpc64le-linux-gnu/bits/struct_stat.h created+225| ... | @@ -0,0 +1,225 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/wordsize.h> | ||
| 27 | |||
| 28 | #if __WORDSIZE == 32 | ||
| 29 | |||
| 30 | struct stat | ||
| 31 | { | ||
| 32 | __dev_t st_dev;			/* Device. */ | ||
| 33 | # ifndef __USE_FILE_OFFSET64 | ||
| 34 | unsigned short int __pad1; | ||
| 35 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 36 | # else | ||
| 37 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 38 | # endif | ||
| 39 | __mode_t st_mode;			/* File mode. */ | ||
| 40 | __nlink_t st_nlink;			/* Link count. */ | ||
| 41 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 42 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 43 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 44 | unsigned short int __pad2; | ||
| 45 | # ifndef __USE_FILE_OFFSET64 | ||
| 46 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 47 | # else | ||
| 48 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 49 | # endif | ||
| 50 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 51 | |||
| 52 | # ifndef __USE_FILE_OFFSET64 | ||
| 53 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 54 | # else | ||
| 55 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 56 | # endif | ||
| 57 | # ifdef __USE_XOPEN2K8 | ||
| 58 | /* Nanosecond resolution timestamps are stored in a format | ||
| 59 | equivalent to 'struct timespec'. This is the type used | ||
| 60 | whenever possible but the Unix namespace rules do not allow the | ||
| 61 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 62 | Therefore we have to handle the use of this header in strictly | ||
| 63 | standard-compliant sources special. */ | ||
| 64 | struct timespec st_atim;		/* Time of last access. */ | ||
| 65 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 66 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 67 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 68 | # define st_mtime st_mtim.tv_sec | ||
| 69 | # define st_ctime st_ctim.tv_sec | ||
| 70 | # else | ||
| 71 | __time_t st_atime;			/* Time of last access. */ | ||
| 72 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 73 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 74 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 75 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 76 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 77 | # endif | ||
| 78 | unsigned long int __glibc_reserved4; | ||
| 79 | unsigned long int __glibc_reserved5; | ||
| 80 | }; | ||
| 81 | |||
| 82 | |||
| 83 | # ifdef __USE_LARGEFILE64 | ||
| 84 | struct stat64 | ||
| 85 | { | ||
| 86 | __dev_t st_dev;			/* Device. */ | ||
| 87 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 88 | __mode_t st_mode;			/* File mode. */ | ||
| 89 | __nlink_t st_nlink;			/* Link count. */ | ||
| 90 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 91 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 92 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 93 | unsigned short int __pad2; | ||
| 94 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 95 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 96 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 97 | # ifdef __USE_XOPEN2K8 | ||
| 98 | /* Nanosecond resolution timestamps are stored in a format | ||
| 99 | equivalent to 'struct timespec'. This is the type used | ||
| 100 | whenever possible but the Unix namespace rules do not allow the | ||
| 101 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 102 | Therefore we have to handle the use of this header in strictly | ||
| 103 | standard-compliant sources special. */ | ||
| 104 | struct timespec st_atim;		/* Time of last access. */ | ||
| 105 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 106 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 107 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 108 | # define st_mtime st_mtim.tv_sec | ||
| 109 | # define st_ctime st_ctim.tv_sec | ||
| 110 | # else | ||
| 111 | __time_t st_atime;			/* Time of last access. */ | ||
| 112 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 113 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 114 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 115 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 116 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 117 | # endif | ||
| 118 | unsigned long int __glibc_reserved4; | ||
| 119 | unsigned long int __glibc_reserved5; | ||
| 120 | }; | ||
| 121 | # endif /* __USE_LARGEFILE64 */ | ||
| 122 | |||
| 123 | #else /* __WORDSIZE == 32 */ | ||
| 124 | |||
| 125 | struct stat | ||
| 126 | { | ||
| 127 | __dev_t st_dev;			/* Device. */ | ||
| 128 | # ifndef __USE_FILE_OFFSET64 | ||
| 129 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 130 | # else | ||
| 131 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 132 | # endif | ||
| 133 | __nlink_t st_nlink;			/* Link count. */ | ||
| 134 | __mode_t st_mode;			/* File mode. */ | ||
| 135 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 136 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 137 | int __pad2; | ||
| 138 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 139 | # ifndef __USE_FILE_OFFSET64 | ||
| 140 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 141 | # else | ||
| 142 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 143 | # endif | ||
| 144 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 145 | |||
| 146 | # ifndef __USE_FILE_OFFSET64 | ||
| 147 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 148 | # else | ||
| 149 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 150 | # endif | ||
| 151 | # ifdef __USE_XOPEN2K8 | ||
| 152 | /* Nanosecond resolution timestamps are stored in a format | ||
| 153 | equivalent to 'struct timespec'. This is the type used | ||
| 154 | whenever possible but the Unix namespace rules do not allow the | ||
| 155 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 156 | Therefore we have to handle the use of this header in strictly | ||
| 157 | standard-compliant sources special. */ | ||
| 158 | struct timespec st_atim;		/* Time of last access. */ | ||
| 159 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 160 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 161 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 162 | # define st_mtime st_mtim.tv_sec | ||
| 163 | # define st_ctime st_ctim.tv_sec | ||
| 164 | # else | ||
| 165 | __time_t st_atime;			/* Time of last access. */ | ||
| 166 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 167 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 168 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 169 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 170 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 171 | # endif | ||
| 172 | unsigned long int __glibc_reserved4; | ||
| 173 | unsigned long int __glibc_reserved5; | ||
| 174 | unsigned long int __glibc_reserved6; | ||
| 175 | }; | ||
| 176 | |||
| 177 | # ifdef __USE_LARGEFILE64 | ||
| 178 | struct stat64 | ||
| 179 | { | ||
| 180 | __dev_t st_dev;			/* Device. */ | ||
| 181 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 182 | __nlink_t st_nlink;			/* Link count. */ | ||
| 183 | __mode_t st_mode;			/* File mode. */ | ||
| 184 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 185 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 186 | int __pad2; | ||
| 187 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 188 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 189 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 190 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 191 | # ifdef __USE_XOPEN2K8 | ||
| 192 | /* Nanosecond resolution timestamps are stored in a format | ||
| 193 | equivalent to 'struct timespec'. This is the type used | ||
| 194 | whenever possible but the Unix namespace rules do not allow the | ||
| 195 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 196 | Therefore we have to handle the use of this header in strictly | ||
| 197 | standard-compliant sources special. */ | ||
| 198 | struct timespec st_atim;		/* Time of last access. */ | ||
| 199 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 200 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 201 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 202 | # define st_mtime st_mtim.tv_sec | ||
| 203 | # define st_ctime st_ctim.tv_sec | ||
| 204 | # else | ||
| 205 | __time_t st_atime;			/* Time of last access. */ | ||
| 206 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 207 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 208 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 209 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 210 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 211 | # endif | ||
| 212 | unsigned long int __glibc_reserved4; | ||
| 213 | unsigned long int __glibc_reserved5; | ||
| 214 | unsigned long int __glibc_reserved6; | ||
| 215 | }; | ||
| 216 | # endif /* __USE_LARGEFILE64 */ | ||
| 217 | #endif | ||
| 218 | |||
| 219 | /* Tell code we have these members. */ | ||
| 220 | #define	_STATBUF_ST_BLKSIZE | ||
| 221 | #define _STATBUF_ST_RDEV | ||
| 222 | /* Nanosecond resolution time values are supported. */ | ||
| 223 | #define _STATBUF_ST_NSEC | ||
| 224 | |||
| 225 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/powerpc64le-linux-gnu/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/powerpc version. | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_cflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios control mode definitions. Linux/powerpc version. | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_iflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios input mode definitions. Linux/powerpc version. | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_lflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios local mode definitions. Linux/powerpc version. | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/powerpc version. | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-misc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud platform specific definitions. Linux/powerpc version. | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. | 1 | /* Linux/PowerPC implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* PowerPC implementation of the semaphore struct semid_ds. | 1 | /* PowerPC implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. | 1 | /* Linux/PowerPC implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. PowerPC version. | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/powerpc64le-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/environments.h created+81| ... | @@ -0,0 +1,81 @@ | ||
| 1 | /* Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #ifndef _UNISTD_H | ||
| 19 | # error "Never include this file directly. Use <unistd.h> instead" | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #include <bits/wordsize.h> | ||
| 23 | |||
| 24 | /* This header should define the following symbols under the described | ||
| 25 | situations. A value `1' means that the model is always supported, | ||
| 26 | `-1' means it is never supported. Undefined means it cannot be | ||
| 27 | statically decided. | ||
| 28 | |||
| 29 | _POSIX_V7_ILP32_OFF32 32bit int, long, pointers, and off_t type | ||
| 30 | _POSIX_V7_ILP32_OFFBIG 32bit int, long, and pointers and larger off_t type | ||
| 31 | |||
| 32 | _POSIX_V7_LP64_OFF32 64bit long and pointers and 32bit off_t type | ||
| 33 | _POSIX_V7_LPBIG_OFFBIG 64bit long and pointers and large off_t type | ||
| 34 | |||
| 35 | The macros _POSIX_V6_ILP32_OFF32, _POSIX_V6_ILP32_OFFBIG, | ||
| 36 | _POSIX_V6_LP64_OFF32, _POSIX_V6_LPBIG_OFFBIG, _XBS5_ILP32_OFF32, | ||
| 37 | _XBS5_ILP32_OFFBIG, _XBS5_LP64_OFF32, and _XBS5_LPBIG_OFFBIG were | ||
| 38 | used in previous versions of the Unix standard and are available | ||
| 39 | only for compatibility. | ||
| 40 | */ | ||
| 41 | |||
| 42 | #if __WORDSIZE == 64 | ||
| 43 | |||
| 44 | /* We can never provide environments with 32-bit wide pointers. */ | ||
| 45 | # define _POSIX_V7_ILP32_OFF32	-1 | ||
| 46 | # define _POSIX_V7_ILP32_OFFBIG	-1 | ||
| 47 | # define _POSIX_V6_ILP32_OFF32	-1 | ||
| 48 | # define _POSIX_V6_ILP32_OFFBIG	-1 | ||
| 49 | # define _XBS5_ILP32_OFF32	-1 | ||
| 50 | # define _XBS5_ILP32_OFFBIG	-1 | ||
| 51 | /* We also have no use (for now) for an environment with bigger pointers | ||
| 52 | and offsets. */ | ||
| 53 | # define _POSIX_V7_LPBIG_OFFBIG	-1 | ||
| 54 | # define _POSIX_V6_LPBIG_OFFBIG	-1 | ||
| 55 | # define _XBS5_LPBIG_OFFBIG	-1 | ||
| 56 | |||
| 57 | /* By default we have 64-bit wide `long int', pointers and `off_t'. */ | ||
| 58 | # define _POSIX_V7_LP64_OFF64	1 | ||
| 59 | # define _POSIX_V6_LP64_OFF64	1 | ||
| 60 | # define _XBS5_LP64_OFF64	1 | ||
| 61 | |||
| 62 | #else /* __WORDSIZE == 32 */ | ||
| 63 | |||
| 64 | /* RISC-V requires 64-bit off_t */ | ||
| 65 | # define _POSIX_V7_ILP32_OFF32 -1 | ||
| 66 | # define _POSIX_V6_ILP32_OFF32 -1 | ||
| 67 | # define _XBS5_ILP32_OFF32 -1 | ||
| 68 | |||
| 69 | # define _POSIX_V7_ILP32_OFFBIG	1 | ||
| 70 | # define _POSIX_V6_ILP32_OFFBIG	1 | ||
| 71 | # define _XBS5_ILP32_OFFBIG	1 | ||
| 72 | |||
| 73 | /* We can never provide environments with 64-bit wide pointers. */ | ||
| 74 | # define _POSIX_V7_LP64_OFF64	-1 | ||
| 75 | # define _POSIX_V7_LPBIG_OFFBIG	-1 | ||
| 76 | # define _POSIX_V6_LP64_OFF64	-1 | ||
| 77 | # define _POSIX_V6_LPBIG_OFFBIG	-1 | ||
| 78 | # define _XBS5_LP64_OFF64	-1 | ||
| 79 | # define _XBS5_LPBIG_OFFBIG	-1 | ||
| 80 | |||
| 81 | #endif /* __WORDSIZE == 32 */ | ||
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux / RISC-V. | 1 | /* O_*, F_*, FD_* bit values for Linux / RISC-V. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/riscv64-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Floating point environment, RISC-V version. | 1 | /* Floating point environment, RISC-V version. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific declarations for dynamic linker interface. RISC-V version. | 1 | /* Machine-specific declarations for dynamic linker interface. RISC-V version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-128 version. | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. RISC-V version. | 1 | /* Types for registers for sys/procfs.h. RISC-V version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/pthreadtypes-arch.h+16-12| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. RISC-V version. | 1 | /* Machine-specific pthread type layouts. RISC-V version. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -21,18 +21,22 @@ | ... | @@ -21,18 +21,22 @@ |
| 21 | 21 | ||
| 22 | #include <bits/endian.h> | 22 | #include <bits/endian.h> |
| 23 | 23 | ||
| 24 | #if __riscv_xlen == 64 | 24 | #define __SIZEOF_PTHREAD_MUTEXATTR_T		4 |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 		56 | 25 | #define __SIZEOF_PTHREAD_COND_T			48 |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 		40 | 26 | #define __SIZEOF_PTHREAD_CONDATTR_T		4 |
| 27 | # define __SIZEOF_PTHREAD_MUTEXATTR_T 		 4 | 27 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T		8 |
| 28 | # define __SIZEOF_PTHREAD_COND_T 		48 | 28 | #define __SIZEOF_PTHREAD_BARRIERATTR_T		4 |
| 29 | # define __SIZEOF_PTHREAD_CONDATTR_T 		 4 | 29 | |
| 30 | # define __SIZEOF_PTHREAD_RWLOCK_T 		56 | 30 | #if __WORDSIZE == 64 |
| 31 | # define __SIZEOF_PTHREAD_RWLOCKATTR_T 		 8 | 31 | # define __SIZEOF_PTHREAD_ATTR_T		56 |
| 32 | # define __SIZEOF_PTHREAD_BARRIER_T 		32 | 32 | # define __SIZEOF_PTHREAD_MUTEX_T		40 |
| 33 | # define __SIZEOF_PTHREAD_BARRIERATTR_T 	 4 | 33 | # define __SIZEOF_PTHREAD_RWLOCK_T		56 |
| 34 | # define __SIZEOF_PTHREAD_BARRIER_T		32 | ||
| 34 | #else | 35 | #else |
| 35 | # error "rv32i-based systems are not supported" | 36 | # define __SIZEOF_PTHREAD_ATTR_T		32 |
| 37 | # define __SIZEOF_PTHREAD_MUTEX_T		32 | ||
| 38 | # define __SIZEOF_PTHREAD_RWLOCK_T		48 | ||
| 39 | # define __SIZEOF_PTHREAD_BARRIER_T		20 | ||
| 36 | #endif | 40 | #endif |
| 37 | 41 | ||
| 38 | #define __LOCK_ALIGNMENT | 42 | #define __LOCK_ALIGNMENT |
lib/libc/include/riscv64-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define the machine-dependent type `jmp_buf'. RISC-V version. | 1 | /* Define the machine-dependent type `jmp_buf'. RISC-V version. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-dependent signal context structure for Linux. RISC-V version. | 1 | /* Machine-dependent signal context structure for Linux. RISC-V version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 5 | modify it under the terms of the GNU Lesser General Public | 5 | modify it under the terms of the GNU Lesser General Public |
lib/libc/include/riscv64-linux-gnu/bits/stat.h deleted-174| ... | @@ -1,174 +0,0 @@ | ||
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STAT_H | ||
| 24 | #define _BITS_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the | ||
| 30 | stat() syscall; 32-bit libc uses the kernel's 'struct stat64' | ||
| 31 | and accesses it via the stat64() syscall. All the various | ||
| 32 | APIs offered by libc use the kernel shape for their struct stat | ||
| 33 | structure; the only difference is that 32-bit programs not | ||
| 34 | using __USE_FILE_OFFSET64 only see the low 32 bits of some | ||
| 35 | of the fields (specifically st_ino, st_size, and st_blocks). */ | ||
| 36 | #define _STAT_VER_KERNEL	0 | ||
| 37 | #define _STAT_VER_LINUX		0 | ||
| 38 | #define _STAT_VER		_STAT_VER_KERNEL | ||
| 39 | |||
| 40 | /* Versions of the `xmknod' interface. */ | ||
| 41 | #define _MKNOD_VER_LINUX	0 | ||
| 42 | |||
| 43 | #if defined __USE_FILE_OFFSET64 | ||
| 44 | # define __field64(type, type64, name) type64 name | ||
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 47 | # error "ino_t and off_t must both be the same type" | ||
| 48 | # endif | ||
| 49 | # define __field64(type, type64, name) type name | ||
| 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 51 | # define __field64(type, type64, name) \ | ||
| 52 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 53 | #else | ||
| 54 | # define __field64(type, type64, name) \ | ||
| 55 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 56 | #endif | ||
| 57 | |||
| 58 | struct stat | ||
| 59 | { | ||
| 60 | __dev_t st_dev;		/* Device. */ | ||
| 61 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | __nlink_t st_nlink;		/* Link count. */ | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 67 | __dev_t __pad1; | ||
| 68 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 69 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 70 | int __pad2; | ||
| 71 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 72 | #ifdef __USE_XOPEN2K8 | ||
| 73 | /* Nanosecond resolution timestamps are stored in a format | ||
| 74 | equivalent to 'struct timespec'. This is the type used | ||
| 75 | whenever possible but the Unix namespace rules do not allow the | ||
| 76 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 77 | Therefore we have to handle the use of this header in strictly | ||
| 78 | standard-compliant sources special. */ | ||
| 79 | struct timespec st_atim;		/* Time of last access. */ | ||
| 80 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 81 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 82 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 83 | # define st_mtime st_mtim.tv_sec | ||
| 84 | # define st_ctime st_ctim.tv_sec | ||
| 85 | #else | ||
| 86 | __time_t st_atime;			/* Time of last access. */ | ||
| 87 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 88 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 89 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 90 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 91 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 92 | #endif | ||
| 93 | int __glibc_reserved[2]; | ||
| 94 | }; | ||
| 95 | |||
| 96 | #undef __field64 | ||
| 97 | |||
| 98 | #ifdef __USE_LARGEFILE64 | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 103 | __mode_t st_mode;		/* File mode. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 106 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 107 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 108 | __dev_t __pad1; | ||
| 109 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 110 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 111 | int __pad2; | ||
| 112 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 113 | #ifdef __USE_XOPEN2K8 | ||
| 114 | /* Nanosecond resolution timestamps are stored in a format | ||
| 115 | equivalent to 'struct timespec'. This is the type used | ||
| 116 | whenever possible but the Unix namespace rules do not allow the | ||
| 117 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 118 | Therefore we have to handle the use of this header in strictly | ||
| 119 | standard-compliant sources special. */ | ||
| 120 | struct timespec st_atim;		/* Time of last access. */ | ||
| 121 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 122 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 123 | #else | ||
| 124 | __time_t st_atime;			/* Time of last access. */ | ||
| 125 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 126 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 127 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 128 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 129 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 130 | #endif | ||
| 131 | int __glibc_reserved[2]; | ||
| 132 | }; | ||
| 133 | #endif | ||
| 134 | |||
| 135 | /* Tell code we have these members. */ | ||
| 136 | #define	_STATBUF_ST_BLKSIZE | ||
| 137 | #define _STATBUF_ST_RDEV | ||
| 138 | /* Nanosecond resolution time values are supported. */ | ||
| 139 | #define _STATBUF_ST_NSEC | ||
| 140 | |||
| 141 | /* Encoding of the file mode. */ | ||
| 142 | |||
| 143 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 144 | |||
| 145 | /* File types. */ | ||
| 146 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 147 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 148 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 149 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 150 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 151 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 152 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 153 | |||
| 154 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 155 | they do it by enforcing the correct use of the macros. */ | ||
| 156 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 158 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 159 | |||
| 160 | /* Protection bits. */ | ||
| 161 | |||
| 162 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 163 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 164 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 165 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 166 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 167 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 168 | |||
| 169 | #ifdef __USE_ATFILE | ||
| 170 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 171 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 172 | #endif | ||
| 173 | |||
| 174 | #endif /* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 |
lib/libc/include/riscv64-linux-gnu/bits/struct_rwlock.h+26-3| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* RISC-V internal rwlock struct definitions. | 1 | /* RISC-V internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | License along with the GNU C Library; if not, see | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | 18 | <https://www.gnu.org/licenses/>. */ |
| 19 | 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | 20 | #ifndef _RWLOCK_INTERNAL_H |
| 21 | #define _RWLOCK_INTERNAL_H | 21 | #define _RWLOCK_INTERNAL_H |
| ... | @@ -32,14 +32,37 @@ struct __pthread_rwlock_arch_t | ... | @@ -32,14 +32,37 @@ struct __pthread_rwlock_arch_t |
| 32 | unsigned int __writers_futex; | 32 | unsigned int __writers_futex; |
| 33 | unsigned int __pad3; | 33 | unsigned int __pad3; |
| 34 | unsigned int __pad4; | 34 | unsigned int __pad4; |
| 35 | #if __WORDSIZE == 64 | ||
| 35 | int __cur_writer; | 36 | int __cur_writer; |
| 36 | int __shared; | 37 | int __shared; |
| 37 | unsigned long int __pad1; | 38 | unsigned long int __pad1; |
| 38 | unsigned long int __pad2; | 39 | unsigned long int __pad2; |
| 39 | unsigned int __flags; | 40 | unsigned int __flags; |
| 41 | #else | ||
| 42 | # if __BYTE_ORDER == __BIG_ENDIAN | ||
| 43 | unsigned char __pad1; | ||
| 44 | unsigned char __pad2; | ||
| 45 | unsigned char __shared; | ||
| 46 | unsigned char __flags; | ||
| 47 | # else | ||
| 48 | unsigned char __flags; | ||
| 49 | unsigned char __shared; | ||
| 50 | unsigned char __pad1; | ||
| 51 | unsigned char __pad2; | ||
| 52 | # endif | ||
| 53 | int __cur_writer; | ||
| 54 | #endif | ||
| 40 | }; | 55 | }; |
| 41 | 56 | ||
| 42 | #define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | 57 | #if __WORDSIZE == 64 |
| 58 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 43 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | 59 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags |
| 60 | #elif __BYTE_ORDER == __BIG_ENDIAN | ||
| 61 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 62 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | ||
| 63 | #else | ||
| 64 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | ||
| 65 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | ||
| 66 | #endif | ||
| 44 | 67 | ||
| 45 | #endif | 68 | #endif |
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/struct_stat.h created+127| ... | @@ -0,0 +1,127 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | #if defined __USE_FILE_OFFSET64 | ||
| 30 | # define __field64(type, type64, name) type64 name | ||
| 31 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | ||
| 32 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | ||
| 33 | # error "ino_t and off_t must both be the same type" | ||
| 34 | # endif | ||
| 35 | # define __field64(type, type64, name) type name | ||
| 36 | #elif __BYTE_ORDER == __LITTLE_ENDIAN | ||
| 37 | # define __field64(type, type64, name) \ | ||
| 38 | type name __attribute__((__aligned__ (__alignof__ (type64)))); int __##name##_pad | ||
| 39 | #else | ||
| 40 | # define __field64(type, type64, name) \ | ||
| 41 | int __##name##_pad __attribute__((__aligned__ (__alignof__ (type64)))); type name | ||
| 42 | #endif | ||
| 43 | |||
| 44 | struct stat | ||
| 45 | { | ||
| 46 | __dev_t st_dev;		/* Device. */ | ||
| 47 | __field64(__ino_t, __ino64_t, st_ino); /* File serial number. */ | ||
| 48 | __mode_t st_mode;		/* File mode. */ | ||
| 49 | __nlink_t st_nlink;		/* Link count. */ | ||
| 50 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 51 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 52 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 53 | __dev_t __pad1; | ||
| 54 | __field64(__off_t, __off64_t, st_size); /* Size of file, in bytes. */ | ||
| 55 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 56 | int __pad2; | ||
| 57 | __field64(__blkcnt_t, __blkcnt64_t, st_blocks); /* 512-byte blocks */ | ||
| 58 | #ifdef __USE_XOPEN2K8 | ||
| 59 | /* Nanosecond resolution timestamps are stored in a format | ||
| 60 | equivalent to 'struct timespec'. This is the type used | ||
| 61 | whenever possible but the Unix namespace rules do not allow the | ||
| 62 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 63 | Therefore we have to handle the use of this header in strictly | ||
| 64 | standard-compliant sources special. */ | ||
| 65 | struct timespec st_atim;		/* Time of last access. */ | ||
| 66 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 67 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 68 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 69 | # define st_mtime st_mtim.tv_sec | ||
| 70 | # define st_ctime st_ctim.tv_sec | ||
| 71 | #else | ||
| 72 | __time_t st_atime;			/* Time of last access. */ | ||
| 73 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 74 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 75 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 76 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 77 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 78 | #endif | ||
| 79 | int __glibc_reserved[2]; | ||
| 80 | }; | ||
| 81 | |||
| 82 | #undef __field64 | ||
| 83 | |||
| 84 | #ifdef __USE_LARGEFILE64 | ||
| 85 | struct stat64 | ||
| 86 | { | ||
| 87 | __dev_t st_dev;		/* Device. */ | ||
| 88 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;		/* File mode. */ | ||
| 90 | __nlink_t st_nlink;		/* Link count. */ | ||
| 91 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 94 | __dev_t __pad1; | ||
| 95 | __off64_t st_size;		/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 97 | int __pad2; | ||
| 98 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 99 | #ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | #else | ||
| 110 | __time_t st_atime;			/* Time of last access. */ | ||
| 111 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 112 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 113 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 114 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 115 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 116 | #endif | ||
| 117 | int __glibc_reserved[2]; | ||
| 118 | }; | ||
| 119 | #endif | ||
| 120 | |||
| 121 | /* Tell code we have these members. */ | ||
| 122 | #define	_STATBUF_ST_BLKSIZE | ||
| 123 | #define _STATBUF_ST_RDEV | ||
| 124 | /* Nanosecond resolution time values are supported. */ | ||
| 125 | #define _STATBUF_ST_NSEC | ||
| 126 | |||
| 127 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/time64.h created+36| ... | @@ -0,0 +1,36 @@ | ||
| 1 | /* bits/time64.h -- underlying types for __time64_t. RISC-V version. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _BITS_TYPES_H | ||
| 20 | # error "Never include <bits/time64.h> directly; use <sys/types.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef	_BITS_TIME64_H | ||
| 24 | #define	_BITS_TIME64_H	1 | ||
| 25 | |||
| 26 | /* Define __TIME64_T_TYPE so that it is always a 64-bit type. */ | ||
| 27 | |||
| 28 | #if __WORDSIZE == 64 | ||
| 29 | /* If we already have 64-bit time type then use it. */ | ||
| 30 | # define __TIME64_T_TYPE		__TIME_T_TYPE | ||
| 31 | #else | ||
| 32 | /* Define a 64-bit time type alongsize the 32-bit one. */ | ||
| 33 | # define __TIME64_T_TYPE		__SQUAD_TYPE | ||
| 34 | #endif | ||
| 35 | |||
| 36 | #endif /* bits/time64.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/timesize.h created+22| ... | @@ -0,0 +1,22 @@ | ||
| 1 | /* Bit size of the time_t type at glibc build time, RISC-V case. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #include <bits/wordsize.h> | ||
| 20 | |||
| 21 | /* RV32 and RV64 both use 64-bit time_t */ | ||
| 22 | #define __TIMESIZE	64 | ||
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 |
lib/libc/include/riscv64-linux-gnu/bits/wordsize.h+6-5| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Determine the wordsize from the preprocessor defines. RISC-V version. | 1 | /* Determine the wordsize from the preprocessor defines. RISC-V version. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -22,8 +22,9 @@ | ... | @@ -22,8 +22,9 @@ |
| 22 | # error unsupported ABI | 22 | # error unsupported ABI |
| 23 | #endif | 23 | #endif |
| 24 | 24 | ||
| 25 | #if __riscv_xlen == 64 | 25 | #define __WORDSIZE_TIME64_COMPAT32 1 |
| 26 | # define __WORDSIZE_TIME64_COMPAT32 1 | 26 | |
| 27 | #else | 27 | #if __WORDSIZE == 32 |
| 28 | # error "rv32i-based targets are not supported" | 28 | # define __WORDSIZE32_SIZE_ULONG 0 |
| 29 | # define __WORDSIZE32_PTRDIFF_LONG 0 | ||
| 29 | #endif | 30 | #endif |
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. RISC-V version. | 1 | /* FPU control word bits. RISC-V version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/gnu/lib-names.h+8-2| ... | @@ -6,10 +6,16 @@ | ... | @@ -6,10 +6,16 @@ |
| 6 | 6 | ||
| 7 | #include <bits/wordsize.h> | 7 | #include <bits/wordsize.h> |
| 8 | 8 | ||
| 9 | #if defined __LP64__ && defined __riscv_float_abi_soft | 9 | #if __WORDSIZE == 32 && defined __riscv_float_abi_soft |
| 10 | # include <gnu/lib-names-ilp32.h> | ||
| 11 | #endif | ||
| 12 | #if __WORDSIZE == 32 && defined __riscv_float_abi_double | ||
| 13 | # include <gnu/lib-names-ilp32d.h> | ||
| 14 | #endif | ||
| 15 | #if __WORDSIZE == 64 && defined __riscv_float_abi_soft | ||
| 10 | # include <gnu/lib-names-lp64.h> | 16 | # include <gnu/lib-names-lp64.h> |
| 11 | #endif | 17 | #endif |
| 12 | #if defined __LP64__ && defined __riscv_float_abi_double | 18 | #if __WORDSIZE == 64 && defined __riscv_float_abi_double |
| 13 | # include <gnu/lib-names-lp64d.h> | 19 | # include <gnu/lib-names-lp64d.h> |
| 14 | #endif | 20 | #endif |
| 15 | 21 |
lib/libc/include/riscv64-linux-gnu/gnu/stubs.h+8-2| ... | @@ -4,9 +4,15 @@ | ... | @@ -4,9 +4,15 @@ |
| 4 | 4 | ||
| 5 | #include <bits/wordsize.h> | 5 | #include <bits/wordsize.h> |
| 6 | 6 | ||
| 7 | #if defined __LP64__ && defined __riscv_float_abi_soft | 7 | #if __WORDSIZE == 32 && defined __riscv_float_abi_soft |
| 8 | # include <gnu/stubs-ilp32.h> | ||
| 9 | #endif | ||
| 10 | #if __WORDSIZE == 32 && defined __riscv_float_abi_double | ||
| 11 | # include <gnu/stubs-ilp32d.h> | ||
| 12 | #endif | ||
| 13 | #if __WORDSIZE == 64 && defined __riscv_float_abi_soft | ||
| 8 | # include <gnu/stubs-lp64.h> | 14 | # include <gnu/stubs-lp64.h> |
| 9 | #endif | 15 | #endif |
| 10 | #if defined __LP64__ && defined __riscv_float_abi_double | 16 | #if __WORDSIZE == 64 && defined __riscv_float_abi_double |
| 11 | # include <gnu/stubs-lp64d.h> | 17 | # include <gnu/stubs-lp64d.h> |
| 12 | #endif | 18 | #endif |
| \ No newline at end of file | |||
lib/libc/include/riscv64-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/sys/asm.h+6-3| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Miscellaneous macros. | 1 | /* Miscellaneous macros. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -22,11 +22,14 @@ | ... | @@ -22,11 +22,14 @@ |
| 22 | /* Macros to handle different pointer/register sizes for 32/64-bit code. */ | 22 | /* Macros to handle different pointer/register sizes for 32/64-bit code. */ |
| 23 | #if __riscv_xlen == 64 | 23 | #if __riscv_xlen == 64 |
| 24 | # define PTRLOG 3 | 24 | # define PTRLOG 3 |
| 25 | # define SZREG	8 | 25 | # define SZREG 8 |
| 26 | # define REG_S sd | 26 | # define REG_S sd |
| 27 | # define REG_L ld | 27 | # define REG_L ld |
| 28 | #elif __riscv_xlen == 32 | 28 | #elif __riscv_xlen == 32 |
| 29 | # error "rv32i-based targets are not supported" | 29 | # define PTRLOG 2 |
| 30 | # define SZREG 4 | ||
| 31 | # define REG_S sw | ||
| 32 | # define REG_L lw | ||
| 30 | #else | 33 | #else |
| 31 | # error __riscv_xlen must equal 32 or 64 | 34 | # error __riscv_xlen must equal 32 or 64 |
| 32 | #endif | 35 | #endif |
lib/libc/include/riscv64-linux-gnu/sys/cachectl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* RISC-V instruction cache flushing interface | 1 | /* RISC-V instruction cache flushing interface |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/riscv64-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ucontext definition, RISC-V version. | 1 | /* struct ucontext definition, RISC-V version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/riscv64-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/elfclass.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). | 2 | Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/s390x-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux. | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Denis Joseph Barrow <djbarrow@de.ibm.com>. | 3 | Contributed by Denis Joseph Barrow <djbarrow@de.ibm.com>. |
| 4 | 4 |
lib/libc/include/s390x-linux-gnu/bits/flt-eval-method.h deleted-24| ... | @@ -1,24 +0,0 @@ | ||
| 1 | /* Define __GLIBC_FLT_EVAL_METHOD. S/390 version. | ||
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library; if not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #ifndef _MATH_H | ||
| 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | /* This value is used because of a historical mistake. */ | ||
| 24 | #define __GLIBC_FLT_EVAL_METHOD	1 | ||
| \ No newline at end of file | |||
lib/libc/include/s390x-linux-gnu/bits/hwcap.h+4-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -36,8 +36,11 @@ | ... | @@ -36,8 +36,11 @@ |
| 36 | #define HWCAP_S390_HIGH_GPRS 512 | 36 | #define HWCAP_S390_HIGH_GPRS 512 |
| 37 | #define HWCAP_S390_TE 1024 | 37 | #define HWCAP_S390_TE 1024 |
| 38 | #define HWCAP_S390_VX 2048 | 38 | #define HWCAP_S390_VX 2048 |
| 39 | #define HWCAP_S390_VXRS HWCAP_S390_VX | ||
| 39 | #define HWCAP_S390_VXD 4096 | 40 | #define HWCAP_S390_VXD 4096 |
| 41 | #define HWCAP_S390_VXRS_BCD HWCAP_S390_VXD | ||
| 40 | #define HWCAP_S390_VXE 8192 | 42 | #define HWCAP_S390_VXE 8192 |
| 43 | #define HWCAP_S390_VXRS_EXT HWCAP_S390_VXE | ||
| 41 | #define HWCAP_S390_GS 16384 | 44 | #define HWCAP_S390_GS 16384 |
| 42 | #define HWCAP_S390_VXRS_EXT2 32768 | 45 | #define HWCAP_S390_VXRS_EXT2 32768 |
| 43 | #define HWCAP_S390_VXRS_PDE 65536 | 46 | #define HWCAP_S390_VXRS_PDE 65536 |
lib/libc/include/s390x-linux-gnu/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-opt version. | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/procfs-extra.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Extra sys/procfs.h definitions. S/390 version. | 1 | /* Extra sys/procfs.h definitions. S/390 version. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. S/390 version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. S/390 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/s390x-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. S/390 version. | 1 | /* Types for registers for sys/procfs.h. S/390 version. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for 31 & 64 bit S/390 sigaction. | 1 | /* Definitions for 31 & 64 bit S/390 sigaction. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/stat.h deleted-265| ... | @@ -1,265 +0,0 @@ | ||
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | #include <bits/wordsize.h> | ||
| 26 | |||
| 27 | #if __WORDSIZE == 64 | ||
| 28 | /* Versions of the `struct stat' data structure. */ | ||
| 29 | # define _STAT_VER_KERNEL	0 | ||
| 30 | # define _STAT_VER_LINUX	1 | ||
| 31 | # define _STAT_VER		_STAT_VER_LINUX | ||
| 32 | |||
| 33 | /* Versions of the `xmknod' interface.	*/ | ||
| 34 | #define _MKNOD_VER_LINUX	0 | ||
| 35 | #else | ||
| 36 | /* Versions of the `struct stat' data structure. */ | ||
| 37 | # define _STAT_VER_LINUX_OLD	1 | ||
| 38 | # define _STAT_VER_KERNEL	1 | ||
| 39 | # define _STAT_VER_SVR4		2 | ||
| 40 | # define _STAT_VER_LINUX	3 | ||
| 41 | # define _STAT_VER		_STAT_VER_LINUX | ||
| 42 | |||
| 43 | /* Versions of the `xmknod' interface. */ | ||
| 44 | # define _MKNOD_VER_LINUX	1 | ||
| 45 | # define _MKNOD_VER_SVR4	2 | ||
| 46 | # define _MKNOD_VER		_MKNOD_VER_LINUX | ||
| 47 | #endif | ||
| 48 | |||
| 49 | #if __WORDSIZE == 64 | ||
| 50 | struct stat | ||
| 51 | { | ||
| 52 | __dev_t st_dev;		/* Device. */ | ||
| 53 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 54 | __nlink_t st_nlink;		/* Link count.	*/ | ||
| 55 | __mode_t st_mode;		/* File mode. */ | ||
| 56 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 57 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 58 | int __glibc_reserved0; | ||
| 59 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 60 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 61 | #ifdef __USE_XOPEN2K8 | ||
| 62 | /* Nanosecond resolution timestamps are stored in a format | ||
| 63 | equivalent to 'struct timespec'. This is the type used | ||
| 64 | whenever possible but the Unix namespace rules do not allow the | ||
| 65 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 66 | Therefore we have to handle the use of this header in strictly | ||
| 67 | standard-compliant sources special. */ | ||
| 68 | struct timespec st_atim;		/* Time of last access. */ | ||
| 69 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 70 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 71 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 72 | # define st_mtime st_mtim.tv_sec | ||
| 73 | # define st_ctime st_ctim.tv_sec | ||
| 74 | #else | ||
| 75 | __time_t st_atime;			/* Time of last access. */ | ||
| 76 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 77 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 78 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 79 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 80 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 81 | #endif | ||
| 82 | __blksize_t st_blksize;	/* Optimal block size for I/O.	*/ | ||
| 83 | __blkcnt_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 84 | long int __glibc_reserved[3]; | ||
| 85 | }; | ||
| 86 | #else | ||
| 87 | struct stat | ||
| 88 | { | ||
| 89 | __dev_t st_dev;			/* Device. */ | ||
| 90 | unsigned int __pad1; | ||
| 91 | # ifndef __USE_FILE_OFFSET64 | ||
| 92 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 93 | # else | ||
| 94 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 95 | # endif | ||
| 96 | __mode_t st_mode;			/* File mode. */ | ||
| 97 | __nlink_t st_nlink;			/* Link count. */ | ||
| 98 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 99 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 100 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 101 | unsigned int __pad2; | ||
| 102 | # ifndef __USE_FILE_OFFSET64 | ||
| 103 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 104 | # else | ||
| 105 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 106 | # endif | ||
| 107 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 108 | |||
| 109 | # ifndef __USE_FILE_OFFSET64 | ||
| 110 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 111 | # else | ||
| 112 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 113 | # endif | ||
| 114 | # ifdef __USE_XOPEN2K8 | ||
| 115 | /* Nanosecond resolution timestamps are stored in a format | ||
| 116 | equivalent to 'struct timespec'. This is the type used | ||
| 117 | whenever possible but the Unix namespace rules do not allow the | ||
| 118 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 119 | Therefore we have to handle the use of this header in strictly | ||
| 120 | standard-compliant sources special. */ | ||
| 121 | struct timespec st_atim;		/* Time of last access. */ | ||
| 122 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 123 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 124 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 125 | # define st_mtime st_mtim.tv_sec | ||
| 126 | # define st_ctime st_ctim.tv_sec | ||
| 127 | # else | ||
| 128 | __time_t st_atime;			/* Time of last access. */ | ||
| 129 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 130 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 131 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 132 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 133 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 134 | # endif | ||
| 135 | # ifndef __USE_FILE_OFFSET64 | ||
| 136 | unsigned long int __glibc_reserved4; | ||
| 137 | unsigned long int __glibc_reserved5; | ||
| 138 | # else | ||
| 139 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 140 | # endif | ||
| 141 | }; | ||
| 142 | #endif | ||
| 143 | |||
| 144 | #ifdef __USE_LARGEFILE64 | ||
| 145 | # if __WORDSIZE == 64 | ||
| 146 | /* Note stat64 is the same shape as stat. */ | ||
| 147 | struct stat64 | ||
| 148 | { | ||
| 149 | __dev_t st_dev;		/* Device. */ | ||
| 150 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 151 | __nlink_t st_nlink;		/* Link count.	*/ | ||
| 152 | __mode_t st_mode;		/* File mode. */ | ||
| 153 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 154 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 155 | int __glibc_reserved0; | ||
| 156 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 157 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 158 | # ifdef __USE_XOPEN2K8 | ||
| 159 | /* Nanosecond resolution timestamps are stored in a format | ||
| 160 | equivalent to 'struct timespec'. This is the type used | ||
| 161 | whenever possible but the Unix namespace rules do not allow the | ||
| 162 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 163 | Therefore we have to handle the use of this header in strictly | ||
| 164 | standard-compliant sources special. */ | ||
| 165 | struct timespec st_atim;		/* Time of last access. */ | ||
| 166 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 167 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 168 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 169 | # define st_mtime st_mtim.tv_sec | ||
| 170 | # define st_ctime st_ctim.tv_sec | ||
| 171 | # else | ||
| 172 | __time_t st_atime;			/* Time of last access. */ | ||
| 173 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 174 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 175 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 176 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 177 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 178 | # endif | ||
| 179 | __blksize_t st_blksize;	/* Optimal block size for I/O.	*/ | ||
| 180 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 181 | long int __glibc_reserved[3]; | ||
| 182 | }; | ||
| 183 | # else | ||
| 184 | struct stat64 | ||
| 185 | { | ||
| 186 | __dev_t st_dev;			/* Device. */ | ||
| 187 | unsigned int __pad1; | ||
| 188 | |||
| 189 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 190 | __mode_t st_mode;			/* File mode. */ | ||
| 191 | __nlink_t st_nlink;			/* Link count. */ | ||
| 192 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 193 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 194 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 195 | unsigned int __pad2; | ||
| 196 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 197 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 198 | |||
| 199 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 200 | # ifdef __USE_XOPEN2K8 | ||
| 201 | /* Nanosecond resolution timestamps are stored in a format | ||
| 202 | equivalent to 'struct timespec'. This is the type used | ||
| 203 | whenever possible but the Unix namespace rules do not allow the | ||
| 204 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 205 | Therefore we have to handle the use of this header in strictly | ||
| 206 | standard-compliant sources special. */ | ||
| 207 | struct timespec st_atim;		/* Time of last access. */ | ||
| 208 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 209 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 210 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 211 | # define st_mtime st_mtim.tv_sec | ||
| 212 | # define st_ctime st_ctim.tv_sec | ||
| 213 | # else | ||
| 214 | __time_t st_atime;			/* Time of last access. */ | ||
| 215 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 216 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 217 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 218 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 219 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 220 | # endif | ||
| 221 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 222 | }; | ||
| 223 | # endif | ||
| 224 | #endif | ||
| 225 | |||
| 226 | /* Tell code we have these members. */ | ||
| 227 | #define	_STATBUF_ST_BLKSIZE | ||
| 228 | #define _STATBUF_ST_RDEV | ||
| 229 | /* Nanosecond resolution time values are supported. */ | ||
| 230 | #define _STATBUF_ST_NSEC | ||
| 231 | |||
| 232 | /* Encoding of the file mode. */ | ||
| 233 | |||
| 234 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 235 | |||
| 236 | /* File types. */ | ||
| 237 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 238 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 239 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 240 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 241 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 242 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 243 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 244 | |||
| 245 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 246 | they do it by enforcing the correct use of the macros. */ | ||
| 247 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 248 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 249 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 250 | |||
| 251 | /* Protection bits. */ | ||
| 252 | |||
| 253 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 254 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 255 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 256 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 257 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 258 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 259 | |||
| 260 | #ifdef __USE_ATFILE | ||
| 261 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 262 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 263 | #endif | ||
| 264 | |||
| 265 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/s390x-linux-gnu/bits/statfs.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* S390 internal mutex struct definitions. | 1 | /* S390 internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* S390 internal rwlock struct definitions. | 1 | /* S390 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/s390x-linux-gnu/bits/struct_stat.h created+211| ... | @@ -0,0 +1,211 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/wordsize.h> | ||
| 27 | |||
| 28 | #if __WORDSIZE == 64 | ||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;		/* Device. */ | ||
| 32 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 33 | __nlink_t st_nlink;		/* Link count.	*/ | ||
| 34 | __mode_t st_mode;		/* File mode. */ | ||
| 35 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 36 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 37 | int __glibc_reserved0; | ||
| 38 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 39 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 40 | #ifdef __USE_XOPEN2K8 | ||
| 41 | /* Nanosecond resolution timestamps are stored in a format | ||
| 42 | equivalent to 'struct timespec'. This is the type used | ||
| 43 | whenever possible but the Unix namespace rules do not allow the | ||
| 44 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 45 | Therefore we have to handle the use of this header in strictly | ||
| 46 | standard-compliant sources special. */ | ||
| 47 | struct timespec st_atim;		/* Time of last access. */ | ||
| 48 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 49 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 50 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 51 | # define st_mtime st_mtim.tv_sec | ||
| 52 | # define st_ctime st_ctim.tv_sec | ||
| 53 | #else | ||
| 54 | __time_t st_atime;			/* Time of last access. */ | ||
| 55 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 56 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 57 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 58 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 59 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 60 | #endif | ||
| 61 | __blksize_t st_blksize;	/* Optimal block size for I/O.	*/ | ||
| 62 | __blkcnt_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 63 | long int __glibc_reserved[3]; | ||
| 64 | }; | ||
| 65 | #else | ||
| 66 | struct stat | ||
| 67 | { | ||
| 68 | __dev_t st_dev;			/* Device. */ | ||
| 69 | unsigned int __pad1; | ||
| 70 | # ifndef __USE_FILE_OFFSET64 | ||
| 71 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 72 | # else | ||
| 73 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 74 | # endif | ||
| 75 | __mode_t st_mode;			/* File mode. */ | ||
| 76 | __nlink_t st_nlink;			/* Link count. */ | ||
| 77 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 78 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 79 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 80 | unsigned int __pad2; | ||
| 81 | # ifndef __USE_FILE_OFFSET64 | ||
| 82 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 83 | # else | ||
| 84 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 85 | # endif | ||
| 86 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 87 | |||
| 88 | # ifndef __USE_FILE_OFFSET64 | ||
| 89 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 90 | # else | ||
| 91 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 92 | # endif | ||
| 93 | # ifdef __USE_XOPEN2K8 | ||
| 94 | /* Nanosecond resolution timestamps are stored in a format | ||
| 95 | equivalent to 'struct timespec'. This is the type used | ||
| 96 | whenever possible but the Unix namespace rules do not allow the | ||
| 97 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 98 | Therefore we have to handle the use of this header in strictly | ||
| 99 | standard-compliant sources special. */ | ||
| 100 | struct timespec st_atim;		/* Time of last access. */ | ||
| 101 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 102 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 103 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 104 | # define st_mtime st_mtim.tv_sec | ||
| 105 | # define st_ctime st_ctim.tv_sec | ||
| 106 | # else | ||
| 107 | __time_t st_atime;			/* Time of last access. */ | ||
| 108 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 109 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 110 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 111 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 112 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 113 | # endif | ||
| 114 | # ifndef __USE_FILE_OFFSET64 | ||
| 115 | unsigned long int __glibc_reserved4; | ||
| 116 | unsigned long int __glibc_reserved5; | ||
| 117 | # else | ||
| 118 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 119 | # endif | ||
| 120 | }; | ||
| 121 | #endif | ||
| 122 | |||
| 123 | #ifdef __USE_LARGEFILE64 | ||
| 124 | # if __WORDSIZE == 64 | ||
| 125 | /* Note stat64 is the same shape as stat. */ | ||
| 126 | struct stat64 | ||
| 127 | { | ||
| 128 | __dev_t st_dev;		/* Device. */ | ||
| 129 | __ino64_t st_ino;		/* File serial number.	*/ | ||
| 130 | __nlink_t st_nlink;		/* Link count.	*/ | ||
| 131 | __mode_t st_mode;		/* File mode. */ | ||
| 132 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 133 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 134 | int __glibc_reserved0; | ||
| 135 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 136 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 137 | # ifdef __USE_XOPEN2K8 | ||
| 138 | /* Nanosecond resolution timestamps are stored in a format | ||
| 139 | equivalent to 'struct timespec'. This is the type used | ||
| 140 | whenever possible but the Unix namespace rules do not allow the | ||
| 141 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 142 | Therefore we have to handle the use of this header in strictly | ||
| 143 | standard-compliant sources special. */ | ||
| 144 | struct timespec st_atim;		/* Time of last access. */ | ||
| 145 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 146 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 147 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 148 | # define st_mtime st_mtim.tv_sec | ||
| 149 | # define st_ctime st_ctim.tv_sec | ||
| 150 | # else | ||
| 151 | __time_t st_atime;			/* Time of last access. */ | ||
| 152 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 153 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 154 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 155 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 156 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 157 | # endif | ||
| 158 | __blksize_t st_blksize;	/* Optimal block size for I/O.	*/ | ||
| 159 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 160 | long int __glibc_reserved[3]; | ||
| 161 | }; | ||
| 162 | # else | ||
| 163 | struct stat64 | ||
| 164 | { | ||
| 165 | __dev_t st_dev;			/* Device. */ | ||
| 166 | unsigned int __pad1; | ||
| 167 | |||
| 168 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 169 | __mode_t st_mode;			/* File mode. */ | ||
| 170 | __nlink_t st_nlink;			/* Link count. */ | ||
| 171 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 172 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 173 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 174 | unsigned int __pad2; | ||
| 175 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 176 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 177 | |||
| 178 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 179 | # ifdef __USE_XOPEN2K8 | ||
| 180 | /* Nanosecond resolution timestamps are stored in a format | ||
| 181 | equivalent to 'struct timespec'. This is the type used | ||
| 182 | whenever possible but the Unix namespace rules do not allow the | ||
| 183 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 184 | Therefore we have to handle the use of this header in strictly | ||
| 185 | standard-compliant sources special. */ | ||
| 186 | struct timespec st_atim;		/* Time of last access. */ | ||
| 187 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 188 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 189 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 190 | # define st_mtime st_mtim.tv_sec | ||
| 191 | # define st_ctime st_ctim.tv_sec | ||
| 192 | # else | ||
| 193 | __time_t st_atime;			/* Time of last access. */ | ||
| 194 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 195 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 196 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 197 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 198 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 199 | # endif | ||
| 200 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 201 | }; | ||
| 202 | # endif | ||
| 203 | #endif | ||
| 204 | |||
| 205 | /* Tell code we have these members. */ | ||
| 206 | #define	_STATBUF_ST_BLKSIZE | ||
| 207 | #define _STATBUF_ST_RDEV | ||
| 208 | /* Nanosecond resolution time values are supported. */ | ||
| 209 | #define _STATBUF_ST_NSEC | ||
| 210 | |||
| 211 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/s390x-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/s390 version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/s390 version. |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2003-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/utmp.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The `struct utmp' type, describing entries in the utmp file. GNU version. | 1 | /* The `struct utmp' type, describing entries in the utmp file. GNU version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/bits/utmpx.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Structures and definitions for the user accounting database. GNU version. | 1 | /* Structures and definitions for the user accounting database. GNU version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word definitions. Stub version. | 1 | /* FPU control word definitions. Stub version. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com) and | 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com) and |
| 4 | Martin Schwidefsky (schwidefsky@de.ibm.com). | 4 | Martin Schwidefsky (schwidefsky@de.ibm.com). |
| 5 | This file is part of the GNU C Library. | 5 | This file is part of the GNU C Library. |
lib/libc/include/s390x-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/s390x-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/S390 version. | 1 | /* `ptrace' debugger support interface. Linux/S390 version. |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). | 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/s390x-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). | 2 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/include/s390x-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. Linux/Sparc specific version. | 1 | /* Error constants. Linux/Sparc specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. | 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/ioctls.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. Linux/sparc version. | 1 | /* struct ipc_perm definition. Linux/sparc version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. | 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. SPARC version. | 1 | /* Properties of long double type. SPARC version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. | 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/procfs-extra.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Extra sys/procfs.h definitions. SPARC version. | 1 | /* Extra sys/procfs.h definitions. SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/sparc-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. SPARC version. | 1 | /* Types for registers for sys/procfs.h. SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/SPARC version. | 1 | /* Bit values & structures for resource limits. Linux/SPARC version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. SPARC version. | 1 | /* Define SHMLBA. SPARC version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/SPARC sigaction. | 1 | /* The proper definitions for Linux/SPARC sigaction. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/SPARC version. | 1 | /* Signal number definitions. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. | 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/SPARC. | 1 | /* Define enum __socket_type for Linux/SPARC. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/stat.h deleted-173| ... | @@ -1,173 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | #if __WORDSIZE == 64 || !defined __USE_FILE_OFFSET64 | ||
| 42 | unsigned short int __pad1; | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | unsigned long int __glibc_reserved4; | ||
| 87 | unsigned long int __glibc_reserved5; | ||
| 88 | }; | ||
| 89 | |||
| 90 | #ifdef __USE_LARGEFILE64 | ||
| 91 | struct stat64 | ||
| 92 | { | ||
| 93 | __dev_t st_dev;			/* Device. */ | ||
| 94 | # if __WORDSIZE == 64 | ||
| 95 | unsigned short int __pad1; | ||
| 96 | # endif | ||
| 97 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 98 | __mode_t st_mode;			/* File mode. */ | ||
| 99 | __nlink_t st_nlink;			/* Link count. */ | ||
| 100 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 101 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 102 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 103 | unsigned short int __pad2; | ||
| 104 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 105 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 106 | |||
| 107 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 108 | # ifdef __USE_XOPEN2K8 | ||
| 109 | /* Nanosecond resolution timestamps are stored in a format | ||
| 110 | equivalent to 'struct timespec'. This is the type used | ||
| 111 | whenever possible but the Unix namespace rules do not allow the | ||
| 112 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 113 | Therefore we have to handle the use of this header in strictly | ||
| 114 | standard-compliant sources special. */ | ||
| 115 | struct timespec st_atim;		/* Time of last access. */ | ||
| 116 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 117 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 118 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 119 | # define st_mtime st_mtim.tv_sec | ||
| 120 | # define st_ctime st_ctim.tv_sec | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | unsigned long int __glibc_reserved4; | ||
| 130 | unsigned long int __glibc_reserved5; | ||
| 131 | }; | ||
| 132 | #endif | ||
| 133 | |||
| 134 | /* Tell code we have these members. */ | ||
| 135 | #define	_STATBUF_ST_BLKSIZE | ||
| 136 | #define _STATBUF_ST_RDEV | ||
| 137 | /* Nanosecond resolution time values are supported. */ | ||
| 138 | #define _STATBUF_ST_NSEC | ||
| 139 | |||
| 140 | /* Encoding of the file mode. */ | ||
| 141 | |||
| 142 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 143 | |||
| 144 | /* File types. */ | ||
| 145 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 146 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 147 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 148 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 149 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 150 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 151 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 152 | |||
| 153 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 154 | they do it by enforcing the correct use of the macros. */ | ||
| 155 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 158 | |||
| 159 | /* Protection bits. */ | ||
| 160 | |||
| 161 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 162 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 163 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 164 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 165 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 166 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 167 | |||
| 168 | #ifdef __USE_ATFILE | ||
| 169 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 170 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 171 | #endif | ||
| 172 | |||
| 173 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/sparc-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* SPARC internal rwlock struct definitions. | 1 | /* SPARC internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/sparc-linux-gnu/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | #if __WORDSIZE == 64 || !defined __USE_FILE_OFFSET64 | ||
| 33 | unsigned short int __pad1; | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | unsigned long int __glibc_reserved4; | ||
| 78 | unsigned long int __glibc_reserved5; | ||
| 79 | }; | ||
| 80 | |||
| 81 | #ifdef __USE_LARGEFILE64 | ||
| 82 | struct stat64 | ||
| 83 | { | ||
| 84 | __dev_t st_dev;			/* Device. */ | ||
| 85 | # if __WORDSIZE == 64 | ||
| 86 | unsigned short int __pad1; | ||
| 87 | # endif | ||
| 88 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;			/* File mode. */ | ||
| 90 | __nlink_t st_nlink;			/* Link count. */ | ||
| 91 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 94 | unsigned short int __pad2; | ||
| 95 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 97 | |||
| 98 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 99 | # ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 110 | # define st_mtime st_mtim.tv_sec | ||
| 111 | # define st_ctime st_ctim.tv_sec | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | unsigned long int __glibc_reserved4; | ||
| 121 | unsigned long int __glibc_reserved5; | ||
| 122 | }; | ||
| 123 | #endif | ||
| 124 | |||
| 125 | /* Tell code we have these members. */ | ||
| 126 | #define	_STATBUF_ST_BLKSIZE | ||
| 127 | #define _STATBUF_ST_RDEV | ||
| 128 | /* Nanosecond resolution time values are supported. */ | ||
| 129 | #define _STATBUF_ST_NSEC | ||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/sparc-linux-gnu/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/sparc version. | 1 | /* termios baud rate selection definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. | 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/sparc version. | 1 | /* termios output mode definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/sparc version. | 1 | /* struct termios definition. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/SPARC implementation of the SysV message struct msqid_ds. | 1 | /* Linux/SPARC implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Sparc implementation of the semaphore struct semid_ds | 1 | /* Sparc implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/SPARC implementation of the shared memory struct shmid_ds. | 1 | /* Linux/SPARC implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. SPARC version. | 1 | /* FPU control word bits. SPARC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Miguel de Icaza | 4 | Contributed by Miguel de Icaza |
| 5 | 5 |
lib/libc/include/sparc-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/SPARC version. | 1 | /* `ptrace' debugger support interface. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparc-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2003-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2003-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/errno.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Error constants. Linux/Sparc specific version. | 1 | /* Error constants. Linux/Sparc specific version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/eventfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. | 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/hwcap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Defines for bits in AT_HWCAP. | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2011-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/inotify.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/ioctls.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/ipc-perm.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct ipc_perm definition. Linux/sparc version. | 1 | /* struct ipc_perm definition. Linux/sparc version. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/link.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. | 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2005-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/local_lim.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. | 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. SPARC version. | 1 | /* Properties of long double type. SPARC version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. | 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/poll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/procfs-extra.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Extra sys/procfs.h definitions. SPARC version. | 1 | /* Extra sys/procfs.h definitions. SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/sparcv9-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. SPARC version. | 1 | /* Types for registers for sys/procfs.h. SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/resource.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit values & structures for resource limits. Linux/SPARC version. | 1 | /* Bit values & structures for resource limits. Linux/SPARC version. |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1994-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/shmlba.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define SHMLBA. SPARC version. | 1 | /* Define SHMLBA. SPARC version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/sigaction.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The proper definitions for Linux/SPARC sigaction. | 1 | /* The proper definitions for Linux/SPARC sigaction. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/signalfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2007-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/signum-arch.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number definitions. Linux/SPARC version. | 1 | /* Signal number definitions. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/sigstack.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* sigstack, sigaltstack definitions. | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/socket-constants.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. | 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/socket_type.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define enum __socket_type for Linux/SPARC. | 1 | /* Define enum __socket_type for Linux/SPARC. |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/stat.h deleted-173| ... | @@ -1,173 +0,0 @@ | ||
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #define _STAT_VER_LINUX_OLD	1 | ||
| 27 | #define _STAT_VER_KERNEL	1 | ||
| 28 | #define _STAT_VER_SVR4		2 | ||
| 29 | #define _STAT_VER_LINUX		3 | ||
| 30 | #define _STAT_VER		_STAT_VER_LINUX	/* The one defined below. */ | ||
| 31 | |||
| 32 | /* Versions of the `xmknod' interface. */ | ||
| 33 | #define _MKNOD_VER_LINUX	1 | ||
| 34 | #define _MKNOD_VER_SVR4		2 | ||
| 35 | #define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | |||
| 37 | |||
| 38 | struct stat | ||
| 39 | { | ||
| 40 | __dev_t st_dev;			/* Device. */ | ||
| 41 | #if __WORDSIZE == 64 || !defined __USE_FILE_OFFSET64 | ||
| 42 | unsigned short int __pad1; | ||
| 43 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 44 | #else | ||
| 45 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 46 | #endif | ||
| 47 | __mode_t st_mode;			/* File mode. */ | ||
| 48 | __nlink_t st_nlink;			/* Link count. */ | ||
| 49 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 50 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 51 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 52 | unsigned short int __pad2; | ||
| 53 | #ifndef __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 59 | |||
| 60 | #ifndef __USE_FILE_OFFSET64 | ||
| 61 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 62 | #else | ||
| 63 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 64 | #endif | ||
| 65 | #ifdef __USE_XOPEN2K8 | ||
| 66 | /* Nanosecond resolution timestamps are stored in a format | ||
| 67 | equivalent to 'struct timespec'. This is the type used | ||
| 68 | whenever possible but the Unix namespace rules do not allow the | ||
| 69 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 70 | Therefore we have to handle the use of this header in strictly | ||
| 71 | standard-compliant sources special. */ | ||
| 72 | struct timespec st_atim;		/* Time of last access. */ | ||
| 73 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 74 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 75 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 76 | # define st_mtime st_mtim.tv_sec | ||
| 77 | # define st_ctime st_ctim.tv_sec | ||
| 78 | #else | ||
| 79 | __time_t st_atime;			/* Time of last access. */ | ||
| 80 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 81 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 82 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 83 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 84 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 85 | #endif | ||
| 86 | unsigned long int __glibc_reserved4; | ||
| 87 | unsigned long int __glibc_reserved5; | ||
| 88 | }; | ||
| 89 | |||
| 90 | #ifdef __USE_LARGEFILE64 | ||
| 91 | struct stat64 | ||
| 92 | { | ||
| 93 | __dev_t st_dev;			/* Device. */ | ||
| 94 | # if __WORDSIZE == 64 | ||
| 95 | unsigned short int __pad1; | ||
| 96 | # endif | ||
| 97 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 98 | __mode_t st_mode;			/* File mode. */ | ||
| 99 | __nlink_t st_nlink;			/* Link count. */ | ||
| 100 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 101 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 102 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 103 | unsigned short int __pad2; | ||
| 104 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 105 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 106 | |||
| 107 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 108 | # ifdef __USE_XOPEN2K8 | ||
| 109 | /* Nanosecond resolution timestamps are stored in a format | ||
| 110 | equivalent to 'struct timespec'. This is the type used | ||
| 111 | whenever possible but the Unix namespace rules do not allow the | ||
| 112 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 113 | Therefore we have to handle the use of this header in strictly | ||
| 114 | standard-compliant sources special. */ | ||
| 115 | struct timespec st_atim;		/* Time of last access. */ | ||
| 116 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 117 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 118 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 119 | # define st_mtime st_mtim.tv_sec | ||
| 120 | # define st_ctime st_ctim.tv_sec | ||
| 121 | # else | ||
| 122 | __time_t st_atime;			/* Time of last access. */ | ||
| 123 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 124 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 125 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 126 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 127 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 128 | # endif | ||
| 129 | unsigned long int __glibc_reserved4; | ||
| 130 | unsigned long int __glibc_reserved5; | ||
| 131 | }; | ||
| 132 | #endif | ||
| 133 | |||
| 134 | /* Tell code we have these members. */ | ||
| 135 | #define	_STATBUF_ST_BLKSIZE | ||
| 136 | #define _STATBUF_ST_RDEV | ||
| 137 | /* Nanosecond resolution time values are supported. */ | ||
| 138 | #define _STATBUF_ST_NSEC | ||
| 139 | |||
| 140 | /* Encoding of the file mode. */ | ||
| 141 | |||
| 142 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 143 | |||
| 144 | /* File types. */ | ||
| 145 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 146 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 147 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 148 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 149 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 150 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 151 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 152 | |||
| 153 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 154 | they do it by enforcing the correct use of the macros. */ | ||
| 155 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 156 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 157 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 158 | |||
| 159 | /* Protection bits. */ | ||
| 160 | |||
| 161 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 162 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 163 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 164 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 165 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 166 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 167 | |||
| 168 | #ifdef __USE_ATFILE | ||
| 169 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 170 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 171 | #endif | ||
| 172 | |||
| 173 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/sparcv9-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* SPARC internal rwlock struct definitions. | 1 | /* SPARC internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/sparcv9-linux-gnu/bits/struct_stat.h created+131| ... | @@ -0,0 +1,131 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | #include <bits/endian.h> | ||
| 27 | #include <bits/wordsize.h> | ||
| 28 | |||
| 29 | struct stat | ||
| 30 | { | ||
| 31 | __dev_t st_dev;			/* Device. */ | ||
| 32 | #if __WORDSIZE == 64 || !defined __USE_FILE_OFFSET64 | ||
| 33 | unsigned short int __pad1; | ||
| 34 | __ino_t st_ino;			/* File serial number.	*/ | ||
| 35 | #else | ||
| 36 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 37 | #endif | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 41 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 42 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 43 | unsigned short int __pad2; | ||
| 44 | #ifndef __USE_FILE_OFFSET64 | ||
| 45 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 46 | #else | ||
| 47 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 48 | #endif | ||
| 49 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 50 | |||
| 51 | #ifndef __USE_FILE_OFFSET64 | ||
| 52 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 53 | #else | ||
| 54 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 55 | #endif | ||
| 56 | #ifdef __USE_XOPEN2K8 | ||
| 57 | /* Nanosecond resolution timestamps are stored in a format | ||
| 58 | equivalent to 'struct timespec'. This is the type used | ||
| 59 | whenever possible but the Unix namespace rules do not allow the | ||
| 60 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 61 | Therefore we have to handle the use of this header in strictly | ||
| 62 | standard-compliant sources special. */ | ||
| 63 | struct timespec st_atim;		/* Time of last access. */ | ||
| 64 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 65 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 66 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 67 | # define st_mtime st_mtim.tv_sec | ||
| 68 | # define st_ctime st_ctim.tv_sec | ||
| 69 | #else | ||
| 70 | __time_t st_atime;			/* Time of last access. */ | ||
| 71 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 72 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 73 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 74 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 75 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 76 | #endif | ||
| 77 | unsigned long int __glibc_reserved4; | ||
| 78 | unsigned long int __glibc_reserved5; | ||
| 79 | }; | ||
| 80 | |||
| 81 | #ifdef __USE_LARGEFILE64 | ||
| 82 | struct stat64 | ||
| 83 | { | ||
| 84 | __dev_t st_dev;			/* Device. */ | ||
| 85 | # if __WORDSIZE == 64 | ||
| 86 | unsigned short int __pad1; | ||
| 87 | # endif | ||
| 88 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 89 | __mode_t st_mode;			/* File mode. */ | ||
| 90 | __nlink_t st_nlink;			/* Link count. */ | ||
| 91 | __uid_t st_uid;			/* User ID of the file's owner.	*/ | ||
| 92 | __gid_t st_gid;			/* Group ID of the file's group.*/ | ||
| 93 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 94 | unsigned short int __pad2; | ||
| 95 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 96 | __blksize_t st_blksize;		/* Optimal block size for I/O. */ | ||
| 97 | |||
| 98 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 99 | # ifdef __USE_XOPEN2K8 | ||
| 100 | /* Nanosecond resolution timestamps are stored in a format | ||
| 101 | equivalent to 'struct timespec'. This is the type used | ||
| 102 | whenever possible but the Unix namespace rules do not allow the | ||
| 103 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 104 | Therefore we have to handle the use of this header in strictly | ||
| 105 | standard-compliant sources special. */ | ||
| 106 | struct timespec st_atim;		/* Time of last access. */ | ||
| 107 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 108 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 109 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 110 | # define st_mtime st_mtim.tv_sec | ||
| 111 | # define st_ctime st_ctim.tv_sec | ||
| 112 | # else | ||
| 113 | __time_t st_atime;			/* Time of last access. */ | ||
| 114 | unsigned long int st_atimensec;	/* Nscecs of last access. */ | ||
| 115 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 116 | unsigned long int st_mtimensec;	/* Nsecs of last modification. */ | ||
| 117 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 118 | unsigned long int st_ctimensec;	/* Nsecs of last status change. */ | ||
| 119 | # endif | ||
| 120 | unsigned long int __glibc_reserved4; | ||
| 121 | unsigned long int __glibc_reserved5; | ||
| 122 | }; | ||
| 123 | #endif | ||
| 124 | |||
| 125 | /* Tell code we have these members. */ | ||
| 126 | #define	_STATBUF_ST_BLKSIZE | ||
| 127 | #define _STATBUF_ST_RDEV | ||
| 128 | /* Nanosecond resolution time values are supported. */ | ||
| 129 | #define _STATBUF_ST_NSEC | ||
| 130 | |||
| 131 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/sparcv9-linux-gnu/bits/termios-baud.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios baud rate selection definitions. Linux/sparc version. | 1 | /* termios baud rate selection definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/termios-c_cc.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. | 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/termios-c_oflag.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* termios output mode definitions. Linux/sparc version. | 1 | /* termios output mode definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/termios-struct.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* struct termios definition. Linux/sparc version. | 1 | /* struct termios definition. Linux/sparc version. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/timerfd.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2008-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/types/struct_msqid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/SPARC implementation of the SysV message struct msqid_ds. | 1 | /* Linux/SPARC implementation of the SysV message struct msqid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Sparc implementation of the semaphore struct semid_ds | 1 | /* Sparc implementation of the semaphore struct semid_ds |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/types/struct_shmid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Linux/SPARC implementation of the shared memory struct shmid_ds. | 1 | /* Linux/SPARC implementation of the shared memory struct shmid_ds. |
| 2 | Copyright (C) 2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. SPARC version. | 1 | /* FPU control word bits. SPARC version. |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Miguel de Icaza | 4 | Contributed by Miguel de Icaza |
| 5 | 5 |
lib/libc/include/sparcv9-linux-gnu/ieee754.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/SPARC version. | 1 | /* `ptrace' debugger support interface. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/sparcv9-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2003-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2003-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/x86. | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on x86. | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/flt-eval-method.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/fp-logb.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/indirect-return.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of __INDIRECT_RETURN. x86 version. | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-96 version. | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-96 version. | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/math-vector.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Platform-specific SIMD declarations of math functions. | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnu/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. x86 version. | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/stat.h deleted-210| ... | @@ -1,210 +0,0 @@ | ||
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #ifndef __x86_64__ | ||
| 27 | # define _STAT_VER_LINUX_OLD	1 | ||
| 28 | # define _STAT_VER_KERNEL	1 | ||
| 29 | # define _STAT_VER_SVR4		2 | ||
| 30 | # define _STAT_VER_LINUX	3 | ||
| 31 | |||
| 32 | /* i386 versions of the `xmknod' interface. */ | ||
| 33 | # define _MKNOD_VER_LINUX	1 | ||
| 34 | # define _MKNOD_VER_SVR4	2 | ||
| 35 | # define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | #else | ||
| 37 | # define _STAT_VER_KERNEL	0 | ||
| 38 | # define _STAT_VER_LINUX	1 | ||
| 39 | |||
| 40 | /* x86-64 versions of the `xmknod' interface. */ | ||
| 41 | # define _MKNOD_VER_LINUX	0 | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #define _STAT_VER		_STAT_VER_LINUX | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;		/* Device. */ | ||
| 49 | #ifndef __x86_64__ | ||
| 50 | unsigned short int __pad1; | ||
| 51 | #endif | ||
| 52 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 53 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 54 | #else | ||
| 55 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 56 | #endif | ||
| 57 | #ifndef __x86_64__ | ||
| 58 | __mode_t st_mode;			/* File mode. */ | ||
| 59 | __nlink_t st_nlink;			/* Link count. */ | ||
| 60 | #else | ||
| 61 | __nlink_t st_nlink;		/* Link count. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | #endif | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | #ifdef __x86_64__ | ||
| 67 | int __pad0; | ||
| 68 | #endif | ||
| 69 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 70 | #ifndef __x86_64__ | ||
| 71 | unsigned short int __pad2; | ||
| 72 | #endif | ||
| 73 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 74 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 75 | #else | ||
| 76 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 77 | #endif | ||
| 78 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 79 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 80 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 81 | #else | ||
| 82 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 83 | #endif | ||
| 84 | #ifdef __USE_XOPEN2K8 | ||
| 85 | /* Nanosecond resolution timestamps are stored in a format | ||
| 86 | equivalent to 'struct timespec'. This is the type used | ||
| 87 | whenever possible but the Unix namespace rules do not allow the | ||
| 88 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 89 | Therefore we have to handle the use of this header in strictly | ||
| 90 | standard-compliant sources special. */ | ||
| 91 | struct timespec st_atim;		/* Time of last access. */ | ||
| 92 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 93 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 94 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 95 | # define st_mtime st_mtim.tv_sec | ||
| 96 | # define st_ctime st_ctim.tv_sec | ||
| 97 | #else | ||
| 98 | __time_t st_atime;			/* Time of last access. */ | ||
| 99 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 100 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 101 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 102 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 103 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 104 | #endif | ||
| 105 | #ifdef __x86_64__ | ||
| 106 | __syscall_slong_t __glibc_reserved[3]; | ||
| 107 | #else | ||
| 108 | # ifndef __USE_FILE_OFFSET64 | ||
| 109 | unsigned long int __glibc_reserved4; | ||
| 110 | unsigned long int __glibc_reserved5; | ||
| 111 | # else | ||
| 112 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 113 | # endif | ||
| 114 | #endif | ||
| 115 | }; | ||
| 116 | |||
| 117 | #ifdef __USE_LARGEFILE64 | ||
| 118 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 119 | struct stat64 | ||
| 120 | { | ||
| 121 | __dev_t st_dev;		/* Device. */ | ||
| 122 | # ifdef __x86_64__ | ||
| 123 | __ino64_t st_ino;		/* File serial number. */ | ||
| 124 | __nlink_t st_nlink;		/* Link count. */ | ||
| 125 | __mode_t st_mode;		/* File mode. */ | ||
| 126 | # else | ||
| 127 | unsigned int __pad1; | ||
| 128 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 129 | __mode_t st_mode;			/* File mode. */ | ||
| 130 | __nlink_t st_nlink;			/* Link count. */ | ||
| 131 | # endif | ||
| 132 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 133 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 134 | # ifdef __x86_64__ | ||
| 135 | int __pad0; | ||
| 136 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 137 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 138 | # else | ||
| 139 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 140 | unsigned int __pad2; | ||
| 141 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 142 | # endif | ||
| 143 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 144 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 145 | # ifdef __USE_XOPEN2K8 | ||
| 146 | /* Nanosecond resolution timestamps are stored in a format | ||
| 147 | equivalent to 'struct timespec'. This is the type used | ||
| 148 | whenever possible but the Unix namespace rules do not allow the | ||
| 149 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 150 | Therefore we have to handle the use of this header in strictly | ||
| 151 | standard-compliant sources special. */ | ||
| 152 | struct timespec st_atim;		/* Time of last access. */ | ||
| 153 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 154 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 155 | # else | ||
| 156 | __time_t st_atime;			/* Time of last access. */ | ||
| 157 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 158 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 159 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 160 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 161 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 162 | # endif | ||
| 163 | # ifdef __x86_64__ | ||
| 164 | __syscall_slong_t __glibc_reserved[3]; | ||
| 165 | # else | ||
| 166 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 167 | # endif | ||
| 168 | }; | ||
| 169 | #endif | ||
| 170 | |||
| 171 | /* Tell code we have these members. */ | ||
| 172 | #define	_STATBUF_ST_BLKSIZE | ||
| 173 | #define _STATBUF_ST_RDEV | ||
| 174 | /* Nanosecond resolution time values are supported. */ | ||
| 175 | #define _STATBUF_ST_NSEC | ||
| 176 | |||
| 177 | /* Encoding of the file mode. */ | ||
| 178 | |||
| 179 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 180 | |||
| 181 | /* File types. */ | ||
| 182 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 183 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 184 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 185 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 186 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 187 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 188 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 189 | |||
| 190 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 191 | they do it by enforcing the correct use of the macros. */ | ||
| 192 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 193 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 194 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 195 | |||
| 196 | /* Protection bits. */ | ||
| 197 | |||
| 198 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 199 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 200 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 201 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 202 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 203 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 204 | |||
| 205 | #ifdef __USE_ATFILE | ||
| 206 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 207 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 208 | #endif | ||
| 209 | |||
| 210 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/x86_64-linux-gnu/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal mutex struct definitions. | 1 | /* x86 internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal rwlock struct definitions. | 1 | /* x86 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnu/bits/struct_stat.h created+157| ... | @@ -0,0 +1,157 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | struct stat | ||
| 27 | { | ||
| 28 | __dev_t st_dev;		/* Device. */ | ||
| 29 | #ifndef __x86_64__ | ||
| 30 | unsigned short int __pad1; | ||
| 31 | #endif | ||
| 32 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 33 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 34 | #else | ||
| 35 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 36 | #endif | ||
| 37 | #ifndef __x86_64__ | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | #else | ||
| 41 | __nlink_t st_nlink;		/* Link count. */ | ||
| 42 | __mode_t st_mode;		/* File mode. */ | ||
| 43 | #endif | ||
| 44 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 45 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 46 | #ifdef __x86_64__ | ||
| 47 | int __pad0; | ||
| 48 | #endif | ||
| 49 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 50 | #ifndef __x86_64__ | ||
| 51 | unsigned short int __pad2; | ||
| 52 | #endif | ||
| 53 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 59 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 60 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 61 | #else | ||
| 62 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 63 | #endif | ||
| 64 | #ifdef __USE_XOPEN2K8 | ||
| 65 | /* Nanosecond resolution timestamps are stored in a format | ||
| 66 | equivalent to 'struct timespec'. This is the type used | ||
| 67 | whenever possible but the Unix namespace rules do not allow the | ||
| 68 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 69 | Therefore we have to handle the use of this header in strictly | ||
| 70 | standard-compliant sources special. */ | ||
| 71 | struct timespec st_atim;		/* Time of last access. */ | ||
| 72 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 73 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 74 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 75 | # define st_mtime st_mtim.tv_sec | ||
| 76 | # define st_ctime st_ctim.tv_sec | ||
| 77 | #else | ||
| 78 | __time_t st_atime;			/* Time of last access. */ | ||
| 79 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 80 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 81 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 82 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 83 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 84 | #endif | ||
| 85 | #ifdef __x86_64__ | ||
| 86 | __syscall_slong_t __glibc_reserved[3]; | ||
| 87 | #else | ||
| 88 | # ifndef __USE_FILE_OFFSET64 | ||
| 89 | unsigned long int __glibc_reserved4; | ||
| 90 | unsigned long int __glibc_reserved5; | ||
| 91 | # else | ||
| 92 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 93 | # endif | ||
| 94 | #endif | ||
| 95 | }; | ||
| 96 | |||
| 97 | #ifdef __USE_LARGEFILE64 | ||
| 98 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | # ifdef __x86_64__ | ||
| 103 | __ino64_t st_ino;		/* File serial number. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __mode_t st_mode;		/* File mode. */ | ||
| 106 | # else | ||
| 107 | unsigned int __pad1; | ||
| 108 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 109 | __mode_t st_mode;			/* File mode. */ | ||
| 110 | __nlink_t st_nlink;			/* Link count. */ | ||
| 111 | # endif | ||
| 112 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 113 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 114 | # ifdef __x86_64__ | ||
| 115 | int __pad0; | ||
| 116 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 117 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 118 | # else | ||
| 119 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 120 | unsigned int __pad2; | ||
| 121 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 122 | # endif | ||
| 123 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 124 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 125 | # ifdef __USE_XOPEN2K8 | ||
| 126 | /* Nanosecond resolution timestamps are stored in a format | ||
| 127 | equivalent to 'struct timespec'. This is the type used | ||
| 128 | whenever possible but the Unix namespace rules do not allow the | ||
| 129 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 130 | Therefore we have to handle the use of this header in strictly | ||
| 131 | standard-compliant sources special. */ | ||
| 132 | struct timespec st_atim;		/* Time of last access. */ | ||
| 133 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 134 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 135 | # else | ||
| 136 | __time_t st_atime;			/* Time of last access. */ | ||
| 137 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 138 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 139 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 140 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 141 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 142 | # endif | ||
| 143 | # ifdef __x86_64__ | ||
| 144 | __syscall_slong_t __glibc_reserved[3]; | ||
| 145 | # else | ||
| 146 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 147 | # endif | ||
| 148 | }; | ||
| 149 | #endif | ||
| 150 | |||
| 151 | /* Tell code we have these members. */ | ||
| 152 | #define	_STATBUF_ST_BLKSIZE | ||
| 153 | #define _STATBUF_ST_RDEV | ||
| 154 | /* Nanosecond resolution time values are supported. */ | ||
| 155 | #define _STATBUF_ST_NSEC | ||
| 156 | |||
| 157 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/x86_64-linux-gnu/bits/timesize.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 implementation of the semaphore struct semid_ds. | 1 | /* x86 implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/finclude/math-vector-fortran.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | ! Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | ! This file is part of the GNU C Library. | 3 | ! This file is part of the GNU C Library. |
| 4 | ! | 4 | ! |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. x86 version. | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Olaf Flebbe. | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnu/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/x86 version. | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnu/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnu/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/environments.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/epoll.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/fcntl.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* O_*, F_*, FD_* bit values for Linux/x86. | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/fenv.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/floatn.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features on x86. | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/flt-eval-method.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/fp-logb.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/indirect-return.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of __INDIRECT_RETURN. x86 version. | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/ipctypes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/iscanonical.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define iscanonical macro. ldbl-96 version. | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/link.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2004-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/long-double.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. ldbl-96 version. | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/math-vector.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Platform-specific SIMD declarations of math functions. | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/mman.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/procfs-id.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnux32/bits/procfs.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Types for registers for sys/procfs.h. x86 version. | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/pthreadtypes-arch.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/setjmp.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/sigcontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/stat.h deleted-210| ... | @@ -1,210 +0,0 @@ | ||
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | ||
| 2 | This file is part of the GNU C Library. | ||
| 3 | |||
| 4 | The GNU C Library is free software; you can redistribute it and/or | ||
| 5 | modify it under the terms of the GNU Lesser General Public | ||
| 6 | License as published by the Free Software Foundation; either | ||
| 7 | version 2.1 of the License, or (at your option) any later version. | ||
| 8 | |||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 12 | Lesser General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU Lesser General Public | ||
| 15 | License along with the GNU C Library; if not, see | ||
| 16 | <https://www.gnu.org/licenses/>. */ | ||
| 17 | |||
| 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #ifndef _BITS_STAT_H | ||
| 23 | #define _BITS_STAT_H	1 | ||
| 24 | |||
| 25 | /* Versions of the `struct stat' data structure. */ | ||
| 26 | #ifndef __x86_64__ | ||
| 27 | # define _STAT_VER_LINUX_OLD	1 | ||
| 28 | # define _STAT_VER_KERNEL	1 | ||
| 29 | # define _STAT_VER_SVR4		2 | ||
| 30 | # define _STAT_VER_LINUX	3 | ||
| 31 | |||
| 32 | /* i386 versions of the `xmknod' interface. */ | ||
| 33 | # define _MKNOD_VER_LINUX	1 | ||
| 34 | # define _MKNOD_VER_SVR4	2 | ||
| 35 | # define _MKNOD_VER		_MKNOD_VER_LINUX /* The bits defined below. */ | ||
| 36 | #else | ||
| 37 | # define _STAT_VER_KERNEL	0 | ||
| 38 | # define _STAT_VER_LINUX	1 | ||
| 39 | |||
| 40 | /* x86-64 versions of the `xmknod' interface. */ | ||
| 41 | # define _MKNOD_VER_LINUX	0 | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #define _STAT_VER		_STAT_VER_LINUX | ||
| 45 | |||
| 46 | struct stat | ||
| 47 | { | ||
| 48 | __dev_t st_dev;		/* Device. */ | ||
| 49 | #ifndef __x86_64__ | ||
| 50 | unsigned short int __pad1; | ||
| 51 | #endif | ||
| 52 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 53 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 54 | #else | ||
| 55 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 56 | #endif | ||
| 57 | #ifndef __x86_64__ | ||
| 58 | __mode_t st_mode;			/* File mode. */ | ||
| 59 | __nlink_t st_nlink;			/* Link count. */ | ||
| 60 | #else | ||
| 61 | __nlink_t st_nlink;		/* Link count. */ | ||
| 62 | __mode_t st_mode;		/* File mode. */ | ||
| 63 | #endif | ||
| 64 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 65 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 66 | #ifdef __x86_64__ | ||
| 67 | int __pad0; | ||
| 68 | #endif | ||
| 69 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 70 | #ifndef __x86_64__ | ||
| 71 | unsigned short int __pad2; | ||
| 72 | #endif | ||
| 73 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 74 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 75 | #else | ||
| 76 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 77 | #endif | ||
| 78 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 79 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 80 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 81 | #else | ||
| 82 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 83 | #endif | ||
| 84 | #ifdef __USE_XOPEN2K8 | ||
| 85 | /* Nanosecond resolution timestamps are stored in a format | ||
| 86 | equivalent to 'struct timespec'. This is the type used | ||
| 87 | whenever possible but the Unix namespace rules do not allow the | ||
| 88 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 89 | Therefore we have to handle the use of this header in strictly | ||
| 90 | standard-compliant sources special. */ | ||
| 91 | struct timespec st_atim;		/* Time of last access. */ | ||
| 92 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 93 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 94 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 95 | # define st_mtime st_mtim.tv_sec | ||
| 96 | # define st_ctime st_ctim.tv_sec | ||
| 97 | #else | ||
| 98 | __time_t st_atime;			/* Time of last access. */ | ||
| 99 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 100 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 101 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 102 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 103 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 104 | #endif | ||
| 105 | #ifdef __x86_64__ | ||
| 106 | __syscall_slong_t __glibc_reserved[3]; | ||
| 107 | #else | ||
| 108 | # ifndef __USE_FILE_OFFSET64 | ||
| 109 | unsigned long int __glibc_reserved4; | ||
| 110 | unsigned long int __glibc_reserved5; | ||
| 111 | # else | ||
| 112 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 113 | # endif | ||
| 114 | #endif | ||
| 115 | }; | ||
| 116 | |||
| 117 | #ifdef __USE_LARGEFILE64 | ||
| 118 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 119 | struct stat64 | ||
| 120 | { | ||
| 121 | __dev_t st_dev;		/* Device. */ | ||
| 122 | # ifdef __x86_64__ | ||
| 123 | __ino64_t st_ino;		/* File serial number. */ | ||
| 124 | __nlink_t st_nlink;		/* Link count. */ | ||
| 125 | __mode_t st_mode;		/* File mode. */ | ||
| 126 | # else | ||
| 127 | unsigned int __pad1; | ||
| 128 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 129 | __mode_t st_mode;			/* File mode. */ | ||
| 130 | __nlink_t st_nlink;			/* Link count. */ | ||
| 131 | # endif | ||
| 132 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 133 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 134 | # ifdef __x86_64__ | ||
| 135 | int __pad0; | ||
| 136 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 137 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 138 | # else | ||
| 139 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 140 | unsigned int __pad2; | ||
| 141 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 142 | # endif | ||
| 143 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 144 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 145 | # ifdef __USE_XOPEN2K8 | ||
| 146 | /* Nanosecond resolution timestamps are stored in a format | ||
| 147 | equivalent to 'struct timespec'. This is the type used | ||
| 148 | whenever possible but the Unix namespace rules do not allow the | ||
| 149 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 150 | Therefore we have to handle the use of this header in strictly | ||
| 151 | standard-compliant sources special. */ | ||
| 152 | struct timespec st_atim;		/* Time of last access. */ | ||
| 153 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 154 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 155 | # else | ||
| 156 | __time_t st_atime;			/* Time of last access. */ | ||
| 157 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 158 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 159 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 160 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 161 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 162 | # endif | ||
| 163 | # ifdef __x86_64__ | ||
| 164 | __syscall_slong_t __glibc_reserved[3]; | ||
| 165 | # else | ||
| 166 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 167 | # endif | ||
| 168 | }; | ||
| 169 | #endif | ||
| 170 | |||
| 171 | /* Tell code we have these members. */ | ||
| 172 | #define	_STATBUF_ST_BLKSIZE | ||
| 173 | #define _STATBUF_ST_RDEV | ||
| 174 | /* Nanosecond resolution time values are supported. */ | ||
| 175 | #define _STATBUF_ST_NSEC | ||
| 176 | |||
| 177 | /* Encoding of the file mode. */ | ||
| 178 | |||
| 179 | #define	__S_IFMT	0170000	/* These bits determine file type. */ | ||
| 180 | |||
| 181 | /* File types. */ | ||
| 182 | #define	__S_IFDIR	0040000	/* Directory. */ | ||
| 183 | #define	__S_IFCHR	0020000	/* Character device. */ | ||
| 184 | #define	__S_IFBLK	0060000	/* Block device. */ | ||
| 185 | #define	__S_IFREG	0100000	/* Regular file. */ | ||
| 186 | #define	__S_IFIFO	0010000	/* FIFO. */ | ||
| 187 | #define	__S_IFLNK	0120000	/* Symbolic link. */ | ||
| 188 | #define	__S_IFSOCK	0140000	/* Socket. */ | ||
| 189 | |||
| 190 | /* POSIX.1b objects. Note that these macros always evaluate to zero. But | ||
| 191 | they do it by enforcing the correct use of the macros. */ | ||
| 192 | #define __S_TYPEISMQ(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 193 | #define __S_TYPEISSEM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 194 | #define __S_TYPEISSHM(buf) ((buf)->st_mode - (buf)->st_mode) | ||
| 195 | |||
| 196 | /* Protection bits. */ | ||
| 197 | |||
| 198 | #define	__S_ISUID	04000	/* Set user ID on execution. */ | ||
| 199 | #define	__S_ISGID	02000	/* Set group ID on execution. */ | ||
| 200 | #define	__S_ISVTX	01000	/* Save swapped text after use (sticky). */ | ||
| 201 | #define	__S_IREAD	0400	/* Read by owner. */ | ||
| 202 | #define	__S_IWRITE	0200	/* Write by owner. */ | ||
| 203 | #define	__S_IEXEC	0100	/* Execute by owner. */ | ||
| 204 | |||
| 205 | #ifdef __USE_ATFILE | ||
| 206 | # define UTIME_NOW	((1l << 30) - 1l) | ||
| 207 | # define UTIME_OMIT	((1l << 30) - 2l) | ||
| 208 | #endif | ||
| 209 | |||
| 210 | #endif	/* bits/stat.h */ | ||
| \ No newline at end of file | |||
lib/libc/include/x86_64-linux-gnux32/bits/struct_mutex.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal mutex struct definitions. | 1 | /* x86 internal mutex struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/struct_rwlock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 internal rwlock struct definitions. | 1 | /* x86 internal rwlock struct definitions. |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnux32/bits/struct_stat.h created+157| ... | @@ -0,0 +1,157 @@ | ||
| 1 | /* Definition for struct stat. | ||
| 2 | Copyright (C) 2020-2021 Free Software Foundation, Inc. | ||
| 3 | This file is part of the GNU C Library. | ||
| 4 | |||
| 5 | The GNU C Library is free software; you can redistribute it and/or | ||
| 6 | modify it under the terms of the GNU Lesser General Public | ||
| 7 | License as published by the Free Software Foundation; either | ||
| 8 | version 2.1 of the License, or (at your option) any later version. | ||
| 9 | |||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
| 13 | Lesser General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU Lesser General Public | ||
| 16 | License along with the GNU C Library. If not, see | ||
| 17 | <https://www.gnu.org/licenses/>. */ | ||
| 18 | |||
| 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H | ||
| 20 | # error "Never include <bits/struct_stat.h> directly; use <sys/stat.h> instead." | ||
| 21 | #endif | ||
| 22 | |||
| 23 | #ifndef _BITS_STRUCT_STAT_H | ||
| 24 | #define _BITS_STRUCT_STAT_H	1 | ||
| 25 | |||
| 26 | struct stat | ||
| 27 | { | ||
| 28 | __dev_t st_dev;		/* Device. */ | ||
| 29 | #ifndef __x86_64__ | ||
| 30 | unsigned short int __pad1; | ||
| 31 | #endif | ||
| 32 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 33 | __ino_t st_ino;		/* File serial number.	*/ | ||
| 34 | #else | ||
| 35 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 36 | #endif | ||
| 37 | #ifndef __x86_64__ | ||
| 38 | __mode_t st_mode;			/* File mode. */ | ||
| 39 | __nlink_t st_nlink;			/* Link count. */ | ||
| 40 | #else | ||
| 41 | __nlink_t st_nlink;		/* Link count. */ | ||
| 42 | __mode_t st_mode;		/* File mode. */ | ||
| 43 | #endif | ||
| 44 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 45 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 46 | #ifdef __x86_64__ | ||
| 47 | int __pad0; | ||
| 48 | #endif | ||
| 49 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 50 | #ifndef __x86_64__ | ||
| 51 | unsigned short int __pad2; | ||
| 52 | #endif | ||
| 53 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 54 | __off_t st_size;			/* Size of file, in bytes. */ | ||
| 55 | #else | ||
| 56 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 57 | #endif | ||
| 58 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 59 | #if defined __x86_64__ || !defined __USE_FILE_OFFSET64 | ||
| 60 | __blkcnt_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 61 | #else | ||
| 62 | __blkcnt64_t st_blocks;		/* Number 512-byte blocks allocated. */ | ||
| 63 | #endif | ||
| 64 | #ifdef __USE_XOPEN2K8 | ||
| 65 | /* Nanosecond resolution timestamps are stored in a format | ||
| 66 | equivalent to 'struct timespec'. This is the type used | ||
| 67 | whenever possible but the Unix namespace rules do not allow the | ||
| 68 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 69 | Therefore we have to handle the use of this header in strictly | ||
| 70 | standard-compliant sources special. */ | ||
| 71 | struct timespec st_atim;		/* Time of last access. */ | ||
| 72 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 73 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 74 | # define st_atime st_atim.tv_sec	/* Backward compatibility. */ | ||
| 75 | # define st_mtime st_mtim.tv_sec | ||
| 76 | # define st_ctime st_ctim.tv_sec | ||
| 77 | #else | ||
| 78 | __time_t st_atime;			/* Time of last access. */ | ||
| 79 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 80 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 81 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 82 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 83 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 84 | #endif | ||
| 85 | #ifdef __x86_64__ | ||
| 86 | __syscall_slong_t __glibc_reserved[3]; | ||
| 87 | #else | ||
| 88 | # ifndef __USE_FILE_OFFSET64 | ||
| 89 | unsigned long int __glibc_reserved4; | ||
| 90 | unsigned long int __glibc_reserved5; | ||
| 91 | # else | ||
| 92 | __ino64_t st_ino;			/* File serial number.	*/ | ||
| 93 | # endif | ||
| 94 | #endif | ||
| 95 | }; | ||
| 96 | |||
| 97 | #ifdef __USE_LARGEFILE64 | ||
| 98 | /* Note stat64 has the same shape as stat for x86-64. */ | ||
| 99 | struct stat64 | ||
| 100 | { | ||
| 101 | __dev_t st_dev;		/* Device. */ | ||
| 102 | # ifdef __x86_64__ | ||
| 103 | __ino64_t st_ino;		/* File serial number. */ | ||
| 104 | __nlink_t st_nlink;		/* Link count. */ | ||
| 105 | __mode_t st_mode;		/* File mode. */ | ||
| 106 | # else | ||
| 107 | unsigned int __pad1; | ||
| 108 | __ino_t __st_ino;			/* 32bit file serial number.	*/ | ||
| 109 | __mode_t st_mode;			/* File mode. */ | ||
| 110 | __nlink_t st_nlink;			/* Link count. */ | ||
| 111 | # endif | ||
| 112 | __uid_t st_uid;		/* User ID of the file's owner.	*/ | ||
| 113 | __gid_t st_gid;		/* Group ID of the file's group.*/ | ||
| 114 | # ifdef __x86_64__ | ||
| 115 | int __pad0; | ||
| 116 | __dev_t st_rdev;		/* Device number, if device. */ | ||
| 117 | __off_t st_size;		/* Size of file, in bytes. */ | ||
| 118 | # else | ||
| 119 | __dev_t st_rdev;			/* Device number, if device. */ | ||
| 120 | unsigned int __pad2; | ||
| 121 | __off64_t st_size;			/* Size of file, in bytes. */ | ||
| 122 | # endif | ||
| 123 | __blksize_t st_blksize;	/* Optimal block size for I/O. */ | ||
| 124 | __blkcnt64_t st_blocks;	/* Nr. 512-byte blocks allocated. */ | ||
| 125 | # ifdef __USE_XOPEN2K8 | ||
| 126 | /* Nanosecond resolution timestamps are stored in a format | ||
| 127 | equivalent to 'struct timespec'. This is the type used | ||
| 128 | whenever possible but the Unix namespace rules do not allow the | ||
| 129 | identifier 'timespec' to appear in the <sys/stat.h> header. | ||
| 130 | Therefore we have to handle the use of this header in strictly | ||
| 131 | standard-compliant sources special. */ | ||
| 132 | struct timespec st_atim;		/* Time of last access. */ | ||
| 133 | struct timespec st_mtim;		/* Time of last modification. */ | ||
| 134 | struct timespec st_ctim;		/* Time of last status change. */ | ||
| 135 | # else | ||
| 136 | __time_t st_atime;			/* Time of last access. */ | ||
| 137 | __syscall_ulong_t st_atimensec;	/* Nscecs of last access. */ | ||
| 138 | __time_t st_mtime;			/* Time of last modification. */ | ||
| 139 | __syscall_ulong_t st_mtimensec;	/* Nsecs of last modification. */ | ||
| 140 | __time_t st_ctime;			/* Time of last status change. */ | ||
| 141 | __syscall_ulong_t st_ctimensec;	/* Nsecs of last status change. */ | ||
| 142 | # endif | ||
| 143 | # ifdef __x86_64__ | ||
| 144 | __syscall_slong_t __glibc_reserved[3]; | ||
| 145 | # else | ||
| 146 | __ino64_t st_ino;			/* File serial number.		*/ | ||
| 147 | # endif | ||
| 148 | }; | ||
| 149 | #endif | ||
| 150 | |||
| 151 | /* Tell code we have these members. */ | ||
| 152 | #define	_STATBUF_ST_BLKSIZE | ||
| 153 | #define _STATBUF_ST_RDEV | ||
| 154 | /* Nanosecond resolution time values are supported. */ | ||
| 155 | #define _STATBUF_ST_NSEC | ||
| 156 | |||
| 157 | #endif /* _BITS_STRUCT_STAT_H */ | ||
| \ No newline at end of file | |||
lib/libc/include/x86_64-linux-gnux32/bits/timesize.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/types/struct_semid_ds.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* x86 implementation of the semaphore struct semid_ds. | 1 | /* x86 implementation of the semaphore struct semid_ds. |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/finclude/math-vector-fortran.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | 2 | ! Copyright (C) 2019-2021 Free Software Foundation, Inc. |
| 3 | ! This file is part of the GNU C Library. | 3 | ! This file is part of the GNU C Library. |
| 4 | ! | 4 | ! |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/fpu_control.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* FPU control word bits. x86 version. | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-2021 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Olaf Flebbe. | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnux32/sys/elf.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/sys/ptrace.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `ptrace' debugger support interface. Linux/x86 version. | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2021 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 |
lib/libc/include/x86_64-linux-gnux32/sys/ucontext.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/x86_64-linux-gnux32/sys/user.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2021 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |