aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-12-15 15:28:37 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-12-15 15:28:37 -0700
commitd9fe0d2d6b55f618a4c4be82ece0fc01a7a3026f (patch)
tree45aa364e9479de29e4b4a262ad3810da75cbd724 /tools
parent3dcd3612dca6f649a1e05f558c5d6ed462d2e4a4 (diff)
downloadzig-d9fe0d2d6b55f618a4c4be82ece0fc01a7a3026f.tar.gz
zig-d9fe0d2d6b55f618a4c4be82ece0fc01a7a3026f.zip
tools/update_glibc: ignore some more files
Diffstat (limited to 'tools')
-rw-r--r--tools/update_glibc.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/update_glibc.zig b/tools/update_glibc.zig
index 9d4f338956..14d318ea7b 100644
--- a/tools/update_glibc.zig
+++ b/tools/update_glibc.zig
@@ -12,13 +12,22 @@ const log = std.log;
const fs = std.fs;
const exempt_files = [_][]const u8{
+ // This file is maintained by a separate project and does not come from glibc.
"abilists",
+
+ // Generated files.
"include/libc-modules.h",
"include/config.h",
+
// These are easier to maintain like this, without updating to the abi-note.c
// that glibc did upstream.
"csu/abi-tag.h",
"csu/abi-note.S",
+
+ // We have patched these files to require fewer includes.
+ "stdlib/at_quick_exit.c",
+ "stdlib/atexit.c",
+ "sysdeps/pthread/pthread_atfork.c",
};
pub fn main() !void {