aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-01-19 11:41:08 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-01-19 11:41:08 -0700
commitfd6d1fe015c62cbdb52c9703384c0321b8c5ef01 (patch)
tree9be7f9b5f04ba747ef275a0f8349274b7c66befa /tools
parent5ae3e4e9bd5216c7cc2305c8996ed413c89c59e7 (diff)
downloadzig-fd6d1fe015c62cbdb52c9703384c0321b8c5ef01.tar.gz
zig-fd6d1fe015c62cbdb52c9703384c0321b8c5ef01.zip
stage2: improvements to entry point handling
* rename `entry` to `entry_symbol_name` for the zig build API * integrate with `zig cc` command line options * integrate with COFF linking with LLD * integrate with self-hosted ELF linker * don't put it in the hash for MachO since it is ignored
Diffstat (limited to 'tools')
-rw-r--r--tools/update_clang_options.zig8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/update_clang_options.zig b/tools/update_clang_options.zig
index 73b1bbd284..bada964c91 100644
--- a/tools/update_clang_options.zig
+++ b/tools/update_clang_options.zig
@@ -416,6 +416,14 @@ const known_options = [_]KnownOpt{
.name = "sysroot",
.ident = "sysroot",
},
+ .{
+ .name = "entry",
+ .ident = "entry",
+ },
+ .{
+ .name = "e",
+ .ident = "entry",
+ },
};
const blacklisted_options = [_][]const u8{};