diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-19 11:41:08 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-19 11:41:08 -0700 |
| commit | fd6d1fe015c62cbdb52c9703384c0321b8c5ef01 (patch) | |
| tree | 9be7f9b5f04ba747ef275a0f8349274b7c66befa /tools | |
| parent | 5ae3e4e9bd5216c7cc2305c8996ed413c89c59e7 (diff) | |
| download | zig-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.zig | 8 |
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{}; |
