Merge remote-tracking branch 'origin/master' into llvm10
commit
3178807657
|
@ -21,7 +21,10 @@ curl --fail -I "$AARCH64_LINUX_JSON_URL" >/dev/null || exit 0
|
|||
curl --fail -I "$X86_64_LINUX_JSON_URL" >/dev/null || exit 0
|
||||
curl --fail -I "$X86_64_WINDOWS_JSON_URL" >/dev/null || exit 0
|
||||
curl --fail -I "$X86_64_MACOS_JSON_URL" >/dev/null || exit 0
|
||||
curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0
|
||||
|
||||
# FreeBSD is dealing with some weird upstream bug right now
|
||||
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549
|
||||
#curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0
|
||||
|
||||
# Without --user, this gave me:
|
||||
# ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied
|
||||
|
@ -63,10 +66,12 @@ export AARCH64_LINUX_TARBALL="$(echo "$AARCH64_LINUX_JSON" | jq .tarball -r)"
|
|||
export AARCH64_LINUX_BYTESIZE="$(echo "$AARCH64_LINUX_JSON" | jq .size -r)"
|
||||
export AARCH64_LINUX_SHASUM="$(echo "$AARCH64_LINUX_JSON" | jq .shasum -r)"
|
||||
|
||||
X86_64_FREEBSD_JSON=$(curl --fail "$X86_64_FREEBSD_JSON_URL" || exit 1)
|
||||
export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"
|
||||
export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"
|
||||
export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"
|
||||
# FreeBSD is dealing with some weird upstream bug right now
|
||||
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549
|
||||
#X86_64_FREEBSD_JSON=$(curl --fail "$X86_64_FREEBSD_JSON_URL" || exit 1)
|
||||
#export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"
|
||||
#export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"
|
||||
#export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"
|
||||
|
||||
git clone https://github.com/ziglang/www.ziglang.org --depth 1
|
||||
cd www.ziglang.org
|
||||
|
|
|
@ -50,7 +50,7 @@ pub fn main() !void {
|
|||
var tokenizer = Tokenizer.init(in_file_name, input_file_bytes);
|
||||
var toc = try genToc(allocator, &tokenizer);
|
||||
|
||||
try fs.makePath(allocator, tmp_dir_name);
|
||||
try fs.cwd().makePath(tmp_dir_name);
|
||||
defer fs.deleteTree(tmp_dir_name) catch {};
|
||||
|
||||
try genHtml(allocator, &tokenizer, &toc, &buffered_out_stream.stream, zig_exe);
|
||||
|
|
|
@ -6019,13 +6019,16 @@ pub fn printf(self: *OutStream, arg0: i32, arg1: []const u8) !void {
|
|||
</p>
|
||||
{#code_begin|syntax#}
|
||||
pub fn printValue(self: *OutStream, value: var) !void {
|
||||
const T = @TypeOf(value);
|
||||
if (@isInteger(T)) {
|
||||
return self.printInt(T, value);
|
||||
} else if (@isFloat(T)) {
|
||||
return self.printFloat(T, value);
|
||||
} else {
|
||||
@compileError("Unable to print type '" ++ @typeName(T) ++ "'");
|
||||
switch (@typeInfo(@TypeOf(value))) {
|
||||
.Int => {
|
||||
return self.printInt(T, value);
|
||||
},
|
||||
.Float => {
|
||||
return self.printFloat(T, value);
|
||||
},
|
||||
else => {
|
||||
@compileError("Unable to print type '" ++ @typeName(T) ++ "'");
|
||||
},
|
||||
}
|
||||
}
|
||||
{#code_end#}
|
||||
|
|
|
@ -246,7 +246,7 @@ Collected from libdes and modified for SECURE RPC by Martin Kuck 1994
|
|||
This file is distributed under the terms of the GNU Lesser General
|
||||
Public License, version 2.1 or later - see the file COPYING.LIB for details.
|
||||
If you did not receive a copy of the license with this program, please
|
||||
see <http://www.gnu.org/licenses/> to obtain a copy.
|
||||
see <https://www.gnu.org/licenses/> to obtain a copy.
|
||||
|
||||
The file inet/rcmd.c is under a UCB copyright and the following:
|
||||
|
||||
|
@ -388,4 +388,4 @@ Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
|
|
@ -2735,6 +2735,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu
|
|||
29
|
||||
29
|
||||
29
|
||||
41
|
||||
29
|
||||
40
|
||||
29
|
||||
|
@ -3420,22 +3421,22 @@ aarch64-linux-gnu aarch64_be-linux-gnu
|
|||
29
|
||||
29
|
||||
29
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
29
|
||||
29
|
||||
29
|
||||
|
@ -4240,7 +4241,7 @@ s390x-linux-gnu
|
|||
5
|
||||
5
|
||||
5
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -6461,6 +6462,7 @@ s390x-linux-gnu
|
|||
5
|
||||
5
|
||||
5
|
||||
41
|
||||
5 13
|
||||
40
|
||||
5 13
|
||||
|
@ -7146,22 +7148,22 @@ s390x-linux-gnu
|
|||
5
|
||||
5
|
||||
12
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
5
|
||||
12
|
||||
5
|
||||
|
@ -10187,6 +10189,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf
|
|||
16
|
||||
16
|
||||
16
|
||||
41
|
||||
16
|
||||
40
|
||||
16
|
||||
|
@ -10872,22 +10875,22 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf
|
|||
16
|
||||
16
|
||||
16
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35 41
|
||||
16
|
||||
16
|
||||
16
|
||||
|
@ -11692,7 +11695,7 @@ sparc-linux-gnu sparcel-linux-gnu
|
|||
1
|
||||
0
|
||||
0
|
||||
3
|
||||
3 11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -13913,6 +13916,7 @@ sparc-linux-gnu sparcel-linux-gnu
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -14598,22 +14602,22 @@ sparc-linux-gnu sparcel-linux-gnu
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -15418,7 +15422,7 @@ sparcv9-linux-gnu
|
|||
5
|
||||
5
|
||||
5
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -17639,6 +17643,7 @@ sparcv9-linux-gnu
|
|||
5
|
||||
5
|
||||
5
|
||||
41
|
||||
5 13
|
||||
40
|
||||
5 13
|
||||
|
@ -18324,22 +18329,22 @@ sparcv9-linux-gnu
|
|||
5
|
||||
5
|
||||
12
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
5
|
||||
12
|
||||
5
|
||||
|
@ -19144,7 +19149,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64
|
|||
5
|
||||
0
|
||||
0
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -21365,6 +21370,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -22050,22 +22056,22 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -22870,7 +22876,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32
|
|||
5
|
||||
0
|
||||
0
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -25091,6 +25097,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -25776,22 +25783,22 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -26596,7 +26603,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf
|
|||
5
|
||||
0
|
||||
0
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -28817,6 +28824,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -29502,22 +29510,22 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -30322,7 +30330,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi
|
|||
5
|
||||
0
|
||||
0
|
||||
|
||||
11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -32543,6 +32551,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -33228,22 +33237,22 @@ mipsel-linux-gnueabi mips-linux-gnueabi
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -34048,7 +34057,7 @@ x86_64-linux-gnu
|
|||
10
|
||||
10
|
||||
10
|
||||
|
||||
11
|
||||
27
|
||||
36
|
||||
27
|
||||
|
@ -36269,6 +36278,7 @@ x86_64-linux-gnu
|
|||
10
|
||||
10
|
||||
10
|
||||
41
|
||||
10 13
|
||||
40
|
||||
10 13
|
||||
|
@ -36954,22 +36964,22 @@ x86_64-linux-gnu
|
|||
10
|
||||
10
|
||||
12
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
10
|
||||
12
|
||||
10
|
||||
|
@ -38600,11 +38610,11 @@ x86_64-linux-gnux32
|
|||
28
|
||||
28
|
||||
28
|
||||
29 28
|
||||
29 28
|
||||
29 28
|
||||
29 28
|
||||
29 28
|
||||
28 29
|
||||
28 29
|
||||
28 29
|
||||
28 29
|
||||
28 29
|
||||
28
|
||||
28
|
||||
28
|
||||
|
@ -39995,6 +40005,7 @@ x86_64-linux-gnux32
|
|||
28
|
||||
28
|
||||
28
|
||||
41
|
||||
28
|
||||
40
|
||||
28
|
||||
|
@ -40680,22 +40691,22 @@ x86_64-linux-gnux32
|
|||
28
|
||||
28
|
||||
28
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
28
|
||||
28
|
||||
28
|
||||
|
@ -41500,7 +41511,7 @@ i386-linux-gnu
|
|||
1
|
||||
0
|
||||
0
|
||||
3
|
||||
3 11
|
||||
27
|
||||
36
|
||||
27
|
||||
|
@ -43721,6 +43732,7 @@ i386-linux-gnu
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -44406,22 +44418,22 @@ i386-linux-gnu
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
@ -47447,6 +47459,7 @@ powerpc64le-linux-gnu
|
|||
29
|
||||
29
|
||||
29
|
||||
41
|
||||
29
|
||||
40
|
||||
29
|
||||
|
@ -48132,22 +48145,22 @@ powerpc64le-linux-gnu
|
|||
29
|
||||
29
|
||||
29
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35
|
||||
35
|
||||
36
|
||||
37
|
||||
37
|
||||
37
|
||||
37
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
36 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
35 41
|
||||
29
|
||||
29
|
||||
29
|
||||
|
@ -51173,6 +51186,7 @@ powerpc64-linux-gnu
|
|||
12
|
||||
12
|
||||
12
|
||||
41
|
||||
12 13
|
||||
40
|
||||
12 13
|
||||
|
@ -51858,22 +51872,22 @@ powerpc64-linux-gnu
|
|||
12
|
||||
12
|
||||
12
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35 41
|
||||
12
|
||||
12
|
||||
12
|
||||
|
@ -52678,7 +52692,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf
|
|||
1
|
||||
0
|
||||
0
|
||||
3
|
||||
3 11
|
||||
27
|
||||
|
||||
27
|
||||
|
@ -54899,6 +54913,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf
|
|||
5
|
||||
5
|
||||
0
|
||||
41
|
||||
0 13
|
||||
40
|
||||
0 13
|
||||
|
@ -55584,22 +55599,22 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf
|
|||
0
|
||||
0
|
||||
12
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35
|
||||
35
|
||||
35 41
|
||||
35 41
|
||||
35 41
|
||||
|
||||
37
|
||||
37
|
||||
37
|
||||
37 41
|
||||
37 41
|
||||
37 41
|
||||
|
||||
35
|
||||
35 41
|
||||
0
|
||||
12
|
||||
0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Macros and inline functions to swap the order of bytes in integer values.
|
||||
Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#if !defined _BYTESWAP_H && !defined _NETINET_IN_H && !defined _ENDIAN_H
|
||||
# error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead."
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Macros to control TS 18661-3 glibc features where the same
|
||||
definitions are appropriate for all platforms.
|
||||
Copyright (C) 2017-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_FLOATN_COMMON_H
|
||||
#define _BITS_FLOATN_COMMON_H
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Handle feature test macros at the start of a header.
|
||||
Copyright (C) 2016-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This header is internal to glibc and should not be included outside
|
||||
of glibc headers. Headers including it must define
|
||||
|
@ -43,22 +43,38 @@
|
|||
#endif
|
||||
|
||||
/* ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
macro. */
|
||||
macro. Most but not all symbols enabled by that macro in TS
|
||||
18661-1 are enabled unconditionally in C2X; the symbols in Annex F
|
||||
still require that macro in C2X. */
|
||||
#undef __GLIBC_USE_IEC_60559_BFP_EXT
|
||||
#if defined __USE_GNU || defined __STDC_WANT_IEC_60559_BFP_EXT__
|
||||
# define __GLIBC_USE_IEC_60559_BFP_EXT 1
|
||||
#else
|
||||
# define __GLIBC_USE_IEC_60559_BFP_EXT 0
|
||||
#endif
|
||||
#undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X
|
||||
#if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X)
|
||||
# define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 1
|
||||
#else
|
||||
# define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0
|
||||
#endif
|
||||
|
||||
/* ISO/IEC TS 18661-4:2015 defines the
|
||||
__STDC_WANT_IEC_60559_FUNCS_EXT__ macro. */
|
||||
__STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction
|
||||
functions, the symbols from this TS are enabled unconditionally in
|
||||
C2X. */
|
||||
#undef __GLIBC_USE_IEC_60559_FUNCS_EXT
|
||||
#if defined __USE_GNU || defined __STDC_WANT_IEC_60559_FUNCS_EXT__
|
||||
# define __GLIBC_USE_IEC_60559_FUNCS_EXT 1
|
||||
#else
|
||||
# define __GLIBC_USE_IEC_60559_FUNCS_EXT 0
|
||||
#endif
|
||||
#undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X
|
||||
#if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X)
|
||||
# define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 1
|
||||
#else
|
||||
# define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0
|
||||
#endif
|
||||
|
||||
/* ISO/IEC TS 18661-3:2015 defines the
|
||||
__STDC_WANT_IEC_60559_TYPES_EXT__ macro. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Properties of long double type.
|
||||
Copyright (C) 2016-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2016-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This header is included by <sys/cdefs.h>.
|
||||
|
||||
|
@ -37,3 +37,4 @@
|
|||
#ifndef __NO_LONG_DOUBLE_MATH
|
||||
# define __NO_LONG_DOUBLE_MATH 1
|
||||
#endif
|
||||
#define __LONG_DOUBLE_USES_FLOAT128 0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _SYS_SELECT_H
|
||||
# error "Never use <bits/select.h> directly; include <sys/select.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Signal number constants. Generic template.
|
||||
Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_SIGNUM_GENERIC_H
|
||||
#define _BITS_SIGNUM_GENERIC_H 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#if !defined _SYS_STAT_H && !defined _FCNTL_H
|
||||
# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Define intN_t types.
|
||||
Copyright (C) 2017-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_STDINT_INTN_H
|
||||
#define _BITS_STDINT_INTN_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Perform binary search - inline version.
|
||||
Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
__extern_inline void *
|
||||
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* bits/time64.h -- underlying types for __time64_t. Generic version.
|
||||
Copyright (C) 2018-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2018-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_TYPES_H
|
||||
# error "Never include <bits/time64.h> directly; use <sys/types.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Bit size of the time_t type at glibc build time, general case.
|
||||
Copyright (C) 2018-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2018-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Sched parameter structure. Generic version.
|
||||
Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_TYPES_STRUCT_SCHED_PARAM
|
||||
#define _BITS_TYPES_STRUCT_SCHED_PARAM 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* bits/typesizes.h -- underlying types for *_t. Generic version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_TYPES_H
|
||||
# error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead."
|
||||
|
@ -72,8 +72,13 @@
|
|||
|
||||
/* And for rlim_t and rlim64_t. */
|
||||
# define __RLIM_T_MATCHES_RLIM64_T 1
|
||||
|
||||
/* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */
|
||||
# define __STATFS_MATCHES_STATFS64 1
|
||||
#else
|
||||
# define __RLIM_T_MATCHES_RLIM64_T 0
|
||||
|
||||
# define __STATFS_MATCHES_STATFS64 0
|
||||
#endif
|
||||
|
||||
/* Number of descriptors that can fit in an `fd_set'. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Inline functions to return unsigned integer values unchanged.
|
||||
Copyright (C) 2017-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#if !defined _NETINET_IN_H && !defined _ENDIAN_H
|
||||
# error "Never use <bits/uintn-identity.h> directly; include <netinet/in.h> or <endian.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Definitions of flag bits for `waitpid' et al.
|
||||
Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#if !defined _SYS_WAIT_H && !defined _STDLIB_H
|
||||
# error "Never include <bits/waitflags.h> directly; use <sys/wait.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Definitions of status bits for `wait' et al.
|
||||
Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#if !defined _SYS_WAIT_H && !defined _STDLIB_H
|
||||
# error "Never include <bits/waitstatus.h> directly; use <sys/wait.h> instead."
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support.
|
||||
Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -23,7 +23,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Define an ELF note identifying the operating-system ABI that the
|
||||
executable was created for. The ELF note information identifies a
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Startup support for ELF initializers/finalizers in the main executable.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2005-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* This file defines standard ELF types, structures, and macros.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _ELF_H
|
||||
#define _ELF_H 1
|
||||
|
@ -1715,6 +1715,7 @@ typedef struct
|
|||
#define SHT_MIPS_EH_REGION 0x70000027
|
||||
#define SHT_MIPS_XLATE_OLD 0x70000028
|
||||
#define SHT_MIPS_PDR_EXCEPTION 0x70000029
|
||||
#define SHT_MIPS_XHASH 0x7000002b
|
||||
|
||||
/* Legal values for sh_flags field of Elf32_Shdr. */
|
||||
|
||||
|
@ -1962,7 +1963,9 @@ typedef struct
|
|||
in a PIE as it stores a relative offset from the address of the tag
|
||||
rather than an absolute address. */
|
||||
#define DT_MIPS_RLD_MAP_REL 0x70000035
|
||||
#define DT_MIPS_NUM 0x36
|
||||
/* GNU-style hash table with xlat. */
|
||||
#define DT_MIPS_XHASH 0x70000036
|
||||
#define DT_MIPS_NUM 0x37
|
||||
|
||||
/* Legal values for DT_MIPS_FLAGS Elf32_Dyn entry. */
|
||||
|
||||
|
|
|
@ -2734,6 +2734,7 @@ pthread_barrierattr_getpshared pthread
|
|||
pthread_barrierattr_init pthread
|
||||
pthread_barrierattr_setpshared pthread
|
||||
pthread_cancel pthread
|
||||
pthread_clockjoin_np pthread
|
||||
pthread_cond_broadcast c
|
||||
pthread_cond_clockwait pthread
|
||||
pthread_cond_destroy c
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
#include <string/bits/endian.h>
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _FEATURES_H
|
||||
#define _FEATURES_H 1
|
||||
|
@ -24,6 +24,7 @@
|
|||
__STRICT_ANSI__ ISO Standard C.
|
||||
_ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
|
||||
_ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
|
||||
_ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
|
||||
__STDC_WANT_LIB_EXT2__
|
||||
Extensions to ISO C99 from TR 27431-2:2010.
|
||||
__STDC_WANT_IEC_60559_BFP_EXT__
|
||||
|
@ -139,6 +140,7 @@
|
|||
#undef __USE_GNU
|
||||
#undef __USE_FORTIFY_LEVEL
|
||||
#undef __KERNEL_STRICT_NAMES
|
||||
#undef __GLIBC_USE_ISOC2X
|
||||
#undef __GLIBC_USE_DEPRECATED_GETS
|
||||
#undef __GLIBC_USE_DEPRECATED_SCANF
|
||||
|
||||
|
@ -195,6 +197,8 @@
|
|||
# define _ISOC99_SOURCE 1
|
||||
# undef _ISOC11_SOURCE
|
||||
# define _ISOC11_SOURCE 1
|
||||
# undef _ISOC2X_SOURCE
|
||||
# define _ISOC2X_SOURCE 1
|
||||
# undef _POSIX_SOURCE
|
||||
# define _POSIX_SOURCE 1
|
||||
# undef _POSIX_C_SOURCE
|
||||
|
@ -216,26 +220,37 @@
|
|||
#if (defined _DEFAULT_SOURCE \
|
||||
|| (!defined __STRICT_ANSI__ \
|
||||
&& !defined _ISOC99_SOURCE && !defined _ISOC11_SOURCE \
|
||||
&& !defined _ISOC2X_SOURCE \
|
||||
&& !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE \
|
||||
&& !defined _XOPEN_SOURCE))
|
||||
# undef _DEFAULT_SOURCE
|
||||
# define _DEFAULT_SOURCE 1
|
||||
#endif
|
||||
|
||||
/* This is to enable the ISO C2X extension. */
|
||||
#if (defined _ISOC2X_SOURCE \
|
||||
|| (defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L))
|
||||
# define __GLIBC_USE_ISOC2X 1
|
||||
#else
|
||||
# define __GLIBC_USE_ISOC2X 0
|
||||
#endif
|
||||
|
||||
/* This is to enable the ISO C11 extension. */
|
||||
#if (defined _ISOC11_SOURCE \
|
||||
#if (defined _ISOC11_SOURCE || defined _ISOC2X_SOURCE \
|
||||
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L))
|
||||
# define __USE_ISOC11 1
|
||||
#endif
|
||||
|
||||
/* This is to enable the ISO C99 extension. */
|
||||
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
|
||||
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
|
||||
|| defined _ISOC2X_SOURCE \
|
||||
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L))
|
||||
# define __USE_ISOC99 1
|
||||
#endif
|
||||
|
||||
/* This is to enable the ISO C90 Amendment 1:1995 extension. */
|
||||
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
|
||||
#if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \
|
||||
|| defined _ISOC2X_SOURCE \
|
||||
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199409L))
|
||||
# define __USE_ISOC95 1
|
||||
#endif
|
||||
|
@ -439,7 +454,7 @@
|
|||
/* Major and minor version number of the GNU C library package. Use
|
||||
these macros to test for features in specific releases. */
|
||||
#define __GLIBC__ 2
|
||||
#define __GLIBC_MINOR__ 30
|
||||
#define __GLIBC_MINOR__ 31
|
||||
|
||||
#define __GLIBC_PREREQ(maj, min) \
|
||||
((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Helper macros for pointer arithmetic.
|
||||
Copyright (C) 2012-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _LIBC_POINTER_ARITH_H
|
||||
#define _LIBC_POINTER_ARITH_H 1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Support macros for making weak and strong aliases for symbols,
|
||||
and for using symbol sets and linker warnings with GNU ld.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _LIBC_SYMBOLS_H
|
||||
#define _LIBC_SYMBOLS_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Macros for defining Systemtap <sys/sdt.h> static probe points.
|
||||
Copyright (C) 2012-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _STAP_PROBE_H
|
||||
#define _STAP_PROBE_H 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _STDC_PREDEF_H
|
||||
#define _STDC_PREDEF_H 1
|
||||
|
|
|
@ -202,9 +202,12 @@ libc_hidden_proto (____strtoll_l_internal)
|
|||
libc_hidden_proto (____strtoul_l_internal)
|
||||
libc_hidden_proto (____strtoull_l_internal)
|
||||
|
||||
#include <bits/floatn.h>
|
||||
libc_hidden_proto (strtof)
|
||||
libc_hidden_proto (strtod)
|
||||
#if __LONG_DOUBLE_USES_FLOAT128 == 0
|
||||
libc_hidden_proto (strtold)
|
||||
#endif
|
||||
libc_hidden_proto (strtol)
|
||||
libc_hidden_proto (strtoll)
|
||||
libc_hidden_proto (strtoul)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* statx-related definitions and declarations. Generic version.
|
||||
Copyright (C) 2018-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2018-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This interface is based on <linux/stat.h> in Linux. */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2005-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2005-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* POSIX Standard: 5.6 File Characteristics <sys/stat.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Definition of struct __locale_struct and __locale_t.
|
||||
Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_TYPES___LOCALE_T_H
|
||||
#define _BITS_TYPES___LOCALE_T_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Definition of locale_t.
|
||||
Copyright (C) 2017-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_TYPES_LOCALE_T_H
|
||||
#define _BITS_TYPES_LOCALE_T_H 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _SYS_CDEFS_H
|
||||
#define _SYS_CDEFS_H 1
|
||||
|
@ -412,14 +412,6 @@
|
|||
# define __glibc_has_attribute(attr) 0
|
||||
#endif
|
||||
|
||||
#ifdef __has_include
|
||||
/* Do not use a function-like macro, so that __has_include can inhibit
|
||||
macro expansion. */
|
||||
# define __glibc_has_include __has_include
|
||||
#else
|
||||
# define __glibc_has_include(header) 0
|
||||
#endif
|
||||
|
||||
#if (!defined _Noreturn \
|
||||
&& (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \
|
||||
&& !__GNUC_PREREQ (4,7))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* `fd_set' type and related macros, and `select'/`pselect' declarations.
|
||||
Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* POSIX 1003.1g: 6.2 Select from File Descriptor Sets <sys/select.h> */
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
|
||||
|
||||
|
@ -31,18 +31,17 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
extern int __pthread_atfork (void (*prepare) (void), void (*parent) (void),
|
||||
void (*child) (void));
|
||||
void (*child) (void));
|
||||
extern int __register_atfork (void (*__prepare) (void),
|
||||
void (*__parent) (void),
|
||||
void (*__child) (void),
|
||||
void *dso_handle);
|
||||
void (*__parent) (void),
|
||||
void (*__child) (void),
|
||||
void *dso_handle);
|
||||
libc_hidden_proto (__register_atfork)
|
||||
extern void *__dso_handle __attribute__ ((__visibility__ ("hidden")));
|
||||
|
||||
|
||||
/* Hide the symbol so that no definition but the one locally in the
|
||||
executable or DSO is used. */
|
||||
int
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993
|
||||
scheduling interface.
|
||||
Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_CPU_SET_H
|
||||
#define _BITS_CPU_SET_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* bits/types.h -- definitions of __*_t types underlying *_t types.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* Never include this file directly; use <sys/types.h> instead.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* ISO C99 Standard: 7.14 Signal handling <signal.h>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _ALLOCA_H
|
||||
#define _ALLOCA_H 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
extern void *__dso_handle __attribute__ ((__visibility__ ("hidden")));
|
||||
extern int __cxa_at_quick_exit (void (*func) (void *), void *d);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -30,7 +30,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
|
||||
libc_hidden_proto (__cxa_atexit);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Floating-point inline functions for stdlib.h.
|
||||
Copyright (C) 2012-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2012-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _STDLIB_H
|
||||
# error "Never use <bits/stdlib-float.h> directly; include <stdlib.h> instead."
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _EXIT_H
|
||||
#define _EXIT_H 1
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/*
|
||||
* ISO C99 Standard: 7.20 General utilities <stdlib.h>
|
||||
|
@ -208,7 +208,7 @@ extern unsigned long long int strtoull (const char *__restrict __nptr,
|
|||
#endif /* ISO C99 or use MISC. */
|
||||
|
||||
/* Convert a floating-point number to a string. */
|
||||
#if __GLIBC_USE (IEC_60559_BFP_EXT)
|
||||
#if __GLIBC_USE (IEC_60559_BFP_EXT_C2X)
|
||||
extern int strfromd (char *__dest, size_t __size, const char *__format,
|
||||
double __f)
|
||||
__THROW __nonnull ((3));
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
/* Endian macros for string.h functions
|
||||
Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_ENDIAN_H
|
||||
#define _BITS_ENDIAN_H 1
|
||||
|
||||
/* Definitions for byte order, according to significance of bytes,
|
||||
from low addresses to high addresses. The value is what you get by
|
||||
putting '4' in the most significant byte, '3' in the second most
|
||||
significant byte, '2' in the second least significant byte, and '1'
|
||||
in the least significant byte, and then writing down one digit for
|
||||
each byte, starting with the byte at the lowest address at the left,
|
||||
and proceeding to the byte with the highest address at the right. */
|
||||
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#define __BIG_ENDIAN 4321
|
||||
#define __PDP_ENDIAN 3412
|
||||
|
||||
/* This file defines `__BYTE_ORDER' for the particular machine. */
|
||||
#include <bits/endianness.h>
|
||||
|
||||
/* Some machines may need to use a different endianness for floating point
|
||||
values. */
|
||||
#ifndef __FLOAT_WORD_ORDER
|
||||
# define __FLOAT_WORD_ORDER __BYTE_ORDER
|
||||
#endif
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# define __LONG_LONG_PAIR(HI, LO) LO, HI
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
# define __LONG_LONG_PAIR(HI, LO) HI, LO
|
||||
#endif
|
||||
|
||||
#endif /* bits/endian.h */
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,48 +13,23 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
#define _ENDIAN_H 1
|
||||
|
||||
#include <features.h>
|
||||
|
||||
/* Definitions for byte order, according to significance of bytes,
|
||||
from low addresses to high addresses. The value is what you get by
|
||||
putting '4' in the most significant byte, '3' in the second most
|
||||
significant byte, '2' in the second least significant byte, and '1'
|
||||
in the least significant byte, and then writing down one digit for
|
||||
each byte, starting with the byte at the lowest address at the left,
|
||||
and proceeding to the byte with the highest address at the right. */
|
||||
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#define __BIG_ENDIAN 4321
|
||||
#define __PDP_ENDIAN 3412
|
||||
|
||||
/* This file defines `__BYTE_ORDER' for the particular machine. */
|
||||
/* Get the definitions of __*_ENDIAN, __BYTE_ORDER, and __FLOAT_WORD_ORDER. */
|
||||
#include <bits/endian.h>
|
||||
|
||||
/* Some machines may need to use a different endianness for floating point
|
||||
values. */
|
||||
#ifndef __FLOAT_WORD_ORDER
|
||||
# define __FLOAT_WORD_ORDER __BYTE_ORDER
|
||||
#endif
|
||||
|
||||
#ifdef __USE_MISC
|
||||
#ifdef __USE_MISC
|
||||
# define LITTLE_ENDIAN __LITTLE_ENDIAN
|
||||
# define BIG_ENDIAN __BIG_ENDIAN
|
||||
# define PDP_ENDIAN __PDP_ENDIAN
|
||||
# define BYTE_ORDER __BYTE_ORDER
|
||||
#endif
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# define __LONG_LONG_PAIR(HI, LO) LO, HI
|
||||
#elif __BYTE_ORDER == __BIG_ENDIAN
|
||||
# define __LONG_LONG_PAIR(HI, LO) HI, LO
|
||||
#endif
|
||||
|
||||
|
||||
#if defined __USE_MISC && !defined __ASSEMBLER__
|
||||
/* Conversion interfaces. */
|
||||
# include <bits/byteswap.h>
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
/* Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; either version 2.1 of the
|
||||
License, or (at your option) any later version.
|
||||
|
||||
The GNU C Library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* AArch64 can be either big or little endian. */
|
||||
#ifdef __AARCH64EB__
|
||||
# define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#define __FLOAT_WORD_ORDER __BYTE_ORDER
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef _BITS_ENDIANNESS_H
|
||||
#define _BITS_ENDIANNESS_H 1
|
||||
|
||||
#ifndef _BITS_ENDIAN_H
|
||||
# error "Never use <bits/endianness.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* AArch64 has selectable endianness. */
|
||||
#ifdef __AARCH64EB__
|
||||
# define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
# define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#endif /* bits/endianness.h */
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for AArch64.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crti.S puts a function prologue at the beginning of the .init and
|
||||
.fini sections and defines global symbols for those addresses, so
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for AArch64.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crtn.S puts function epilogues in the .init and .fini sections
|
||||
corresponding to the prologues in crti.S. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include_next <dl-sysdep.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -14,12 +14,12 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_PTHREADTYPES_ARCH_H
|
||||
#define _BITS_PTHREADTYPES_ARCH_H 1
|
||||
|
||||
#include <endian.h>
|
||||
#include <bits/endian.h>
|
||||
|
||||
#ifdef __ILP32__
|
||||
# define __SIZEOF_PTHREAD_ATTR_T 32
|
||||
|
@ -41,31 +41,7 @@
|
|||
#define __SIZEOF_PTHREAD_COND_T 48
|
||||
#define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
|
||||
|
||||
/* Definitions for internal mutex struct. */
|
||||
#define __PTHREAD_COMPAT_PADDING_MID
|
||||
#define __PTHREAD_COMPAT_PADDING_END
|
||||
#define __PTHREAD_MUTEX_LOCK_ELISION 0
|
||||
#define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
|
||||
#define __PTHREAD_MUTEX_USE_UNION 0
|
||||
|
||||
#define __LOCK_ALIGNMENT
|
||||
#define __ONCE_ALIGNMENT
|
||||
|
||||
struct __pthread_rwlock_arch_t
|
||||
{
|
||||
unsigned int __readers;
|
||||
unsigned int __writers;
|
||||
unsigned int __wrphase_futex;
|
||||
unsigned int __writers_futex;
|
||||
unsigned int __pad3;
|
||||
unsigned int __pad4;
|
||||
int __cur_writer;
|
||||
int __shared;
|
||||
unsigned long int __pad1;
|
||||
unsigned long int __pad2;
|
||||
unsigned int __flags;
|
||||
};
|
||||
|
||||
#define __PTHREAD_RWLOCK_ELISION_EXTRA 0
|
||||
|
||||
#endif /* bits/pthreadtypes.h */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _AARCH64_SYSDEP_H
|
||||
#define _AARCH64_SYSDEP_H
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
/* Alpha is little-endian. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef _BITS_ENDIANNESS_H
|
||||
#define _BITS_ENDIANNESS_H 1
|
||||
|
||||
#ifndef _BITS_ENDIAN_H
|
||||
# error "Never use <bits/endianness.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* Alpha is little-endian. */
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
|
||||
#endif /* bits/endianness.h */
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for Alpha.
|
||||
Copyright (C) 2001-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crti.S puts a function prologue at the beginning of the .init and
|
||||
.fini sections and defines global symbols for those addresses, so
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for Alpha.
|
||||
Copyright (C) 2001-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2001-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crtn.S puts function epilogues in the .init and .fini sections
|
||||
corresponding to the prologues in crti.S. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* System-specific settings for dynamic linker code. Alpha version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include_next <dl-sysdep.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Startup code for Alpha/ELF.
|
||||
Copyright (C) 1993-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Richard Henderson <rth@tamu.edu>
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* ARM can be either big or little endian. */
|
||||
#ifdef __ARMEB__
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef _BITS_ENDIANNESS_H
|
||||
#define _BITS_ENDIANNESS_H 1
|
||||
|
||||
#ifndef _BITS_ENDIAN_H
|
||||
# error "Never use <bits/endianness.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* ARM has selectable endianness. */
|
||||
#ifdef __ARMEB__
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
||||
#else
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
|
||||
#endif /* bits/endianness.h */
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for ARM.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crti.S puts a function prologue at the beginning of the .init and
|
||||
.fini sections and defines global symbols for those addresses, so
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for ARM.
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Always build .init and .fini sections in ARM mode. */
|
||||
#define NO_THUMB
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* System-specific settings for dynamic linker code. Alpha version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include_next <dl-sysdep.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Startup code for ARM & ELF
|
||||
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* This is the canonical entry point, usually the first thing in the text
|
||||
segment.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Assembler macros for ARM.
|
||||
Copyright (C) 1997-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1997-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdeps/generic/sysdep.h>
|
||||
#include <features.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Configuration of lookup functions.
|
||||
Copyright (C) 2000-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* Number of extra dynamic section entries for this architecture. By
|
||||
default there are none. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* System-specific settings for dynamic linker code. Generic version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* No multiple inclusion protection need here because it's just macros.
|
||||
We don't want to use _DL_SYSDEP_H in case we are #include_next'd. */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Declarations and definitions of codes relating to the DWARF2 symbolic
|
||||
debugging information format.
|
||||
Copyright (C) 1992-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1992-2020 Free Software Foundation, Inc.
|
||||
Contributed by Gary Funck (gary@intrepid.com). Derived from the
|
||||
DWARF 1 implementation written by Ron Guilmette (rfg@monkeys.com).
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _DWARF2_H
|
||||
#define _DWARF2_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* libc-internal interface for mutex locks. Stub version.
|
||||
Copyright (C) 1996-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _LIBC_LOCK_H
|
||||
#define _LIBC_LOCK_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Single thread optimization, generic version.
|
||||
Copyright (C) 2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2019-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,11 +14,12 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _SINGLE_THREAD_H
|
||||
#define _SINGLE_THREAD_H
|
||||
|
||||
#define SINGLE_THREAD_P (0)
|
||||
#define RTLD_SINGLE_THREAD_P (0)
|
||||
|
||||
#endif /* _SINGLE_THREAD_H */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Generic asm macros used on many machines.
|
||||
Copyright (C) 1991-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef C_LABEL
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Definition for thread-local data handling. Generic version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* An architecture-specific version of this file has to defined a
|
||||
number of symbols:
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
/* hppa1.1 big-endian. */
|
||||
|
||||
#ifndef _ENDIAN_H
|
||||
# error "Never use <bits/endian.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef _BITS_ENDIANNESS_H
|
||||
#define _BITS_ENDIANNESS_H 1
|
||||
|
||||
#ifndef _BITS_ENDIAN_H
|
||||
# error "Never use <bits/endianness.h> directly; include <endian.h> instead."
|
||||
#endif
|
||||
|
||||
/* HP-PA is big-endian. */
|
||||
#define __BYTE_ORDER __BIG_ENDIAN
|
||||
|
||||
#endif /* bits/endianness.h */
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for HPPA
|
||||
Copyright (C) 2000-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* crti.S puts a function prologue at the beginning of the .init and
|
||||
.fini sections and defines global symbols for those addresses, so
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Special .init and .fini section support for HPPA
|
||||
Copyright (C) 2000-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdep.h>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2005-2019 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2005-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_PTHREADTYPES_ARCH_H
|
||||
#define _BITS_PTHREADTYPES_ARCH_H 1
|
||||
|
@ -40,52 +40,7 @@
|
|||
#define __SIZEOF_PTHREAD_RWLOCK_T 64
|
||||
#define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
|
||||
|
||||
/* The old 4-word 16-byte aligned lock. This is initalized
|
||||
to all ones by the Linuxthreads PTHREAD_MUTEX_INITIALIZER.
|
||||
Unused in NPTL. */
|
||||
#define __PTHREAD_COMPAT_PADDING_MID int __compat_padding[4];
|
||||
/* Two more words are left before the NPTL
|
||||
pthread_mutex_t is larger than Linuxthreads. */
|
||||
#define __PTHREAD_COMPAT_PADDING_END int __reserved[2];
|
||||
#define __PTHREAD_MUTEX_LOCK_ELISION 0
|
||||
#define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1
|
||||
#define __PTHREAD_MUTEX_USE_UNION 1
|
||||
|
||||
#define __LOCK_ALIGNMENT __attribute__ ((__aligned__(16)))
|
||||
#define __ONCE_ALIGNMENT
|
||||
|
||||
struct __pthread_rwlock_arch_t
|
||||
{
|
||||
/* In the old Linuxthreads pthread_rwlock_t, this is the
|
||||
start of the 4-word 16-byte aligned lock structure. The
|
||||
next four words are all set to 1 by the Linuxthreads
|
||||
PTHREAD_RWLOCK_INITIALIZER. We ignore them in NPTL. */
|
||||
int __compat_padding[4] __attribute__ ((__aligned__(16)));
|
||||
unsigned int __readers;
|
||||
unsigned int __writers;
|
||||
unsigned int __wrphase_futex;
|
||||
unsigned int __writers_futex;
|
||||
unsigned int __pad3;
|
||||
unsigned int __pad4;
|
||||
int __cur_writer;
|
||||
/* An unused word, reserved for future use. It was added
|
||||
to maintain the location of the flags from the Linuxthreads
|
||||
layout of this structure. */
|
||||
int __reserved1;
|
||||
/* FLAGS must stay at this position in the structure to maintain
|
||||
binary compatibility. */
|
||||
unsigned char __pad2;
|
||||
unsigned char __pad1;
|
||||
unsigned char __shared;
|
||||
unsigned char __flags;
|
||||
/* The NPTL pthread_rwlock_t is 4 words smaller than the
|
||||
Linuxthreads version. One word is in the middle of the
|
||||
structure, the other three are at the end. */
|
||||
int __reserved2;
|
||||
int __reserved3;
|
||||
int __reserved4;
|
||||
};
|
||||
|
||||
#define __PTHREAD_RWLOCK_ELISION_EXTRA 0
|
||||
|
||||
#endif /* bits/pthreadtypes.h */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* ELF startup code for HPPA.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -31,7 +31,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
.import main, code
|
||||
.import $global$, data
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Assembler macros for HP/PA.
|
||||
Copyright (C) 1999-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
Contributed by Ulrich Drepper, <drepper@cygnus.com>, August 1999.
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library. If not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <sysdeps/generic/sysdep.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Pthread data structures. Generic version.
|
||||
Copyright (C) 2002-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2002-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_PTHREAD_H
|
||||
#define _BITS_PTHREAD_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Common threading primitives definitions for both POSIX and C11.
|
||||
Copyright (C) 2017-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2017-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _THREAD_SHARED_TYPES_H
|
||||
#define _THREAD_SHARED_TYPES_H 1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Private libc-internal interface for mutex locks.
|
||||
Copyright (C) 2015-2019 Free Software Foundation, Inc.
|
||||
Copyright (C) 2015-2020 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
|
@ -14,7 +14,7 @@
|
|||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
||||
not, see <http://www.gnu.org/licenses/>. */
|
||||
not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef _BITS_LIBC_LOCKP_H
|
||||
#define _BITS_LIBC_LOCKP_H 1
|
||||
|
@ -112,6 +112,8 @@ extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
|
|||
extern int __pthread_key_create (pthread_key_t *__key,
|
||||
void (*__destr_function) (void *));
|
||||
|
||||
extern int __pthread_key_delete (pthread_key_t __key);
|
||||
|
||||
extern int __pthread_setspecific (pthread_key_t __key,
|
||||
const void *__pointer);
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue