aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-27 10:23:27 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 19:49:07 -0700
commit435b74acd6384029588755ae87568d03911da5c2 (patch)
treec3957c7cd604ee6dd937cedf4c53e7e491f3bfe4 /src/link.zig
parentc8c32a056989cc669008f1fc295a29d55b753cc0 (diff)
downloadzig-435b74acd6384029588755ae87568d03911da5c2.tar.gz
zig-435b74acd6384029588755ae87568d03911da5c2.zip
move force_undefined_symbols into Compilation
This field is needed by Compilation regardless of whether a link file is instantiated. Fixes an invalid check for bin_file=null.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/link.zig b/src/link.zig
index fdcd5fcf41..6729f00ea9 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -64,10 +64,6 @@ pub const File = struct {
print_gc_sections: bool,
build_id: std.zig.BuildId,
rpath_list: []const []const u8,
- /// List of symbols forced as undefined in the symbol table
- /// thus forcing their resolution by the linker.
- /// Corresponds to `-u <symbol>` for ELF/MachO and `/include:<symbol>` for COFF/PE.
- force_undefined_symbols: std.StringArrayHashMapUnmanaged(void),
allow_shlib_undefined: bool,
stack_size: u64,
@@ -129,7 +125,6 @@ pub const File = struct {
print_icf_sections: bool,
print_map: bool,
- force_undefined_symbols: std.StringArrayHashMapUnmanaged(void),
/// Use a wrapper function for symbol. Any undefined reference to symbol
/// will be resolved to __wrap_symbol. Any undefined reference to
/// __real_symbol will be resolved to symbol. This can be used to provide a