aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index 817cb4c052..883d79de34 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -146,6 +146,7 @@ pub const Options = struct {
disable_lld_caching: bool,
is_test: bool,
use_stage1: bool,
+ hash_style: HashStyle,
major_subsystem_version: ?u32,
minor_subsystem_version: ?u32,
gc_sections: ?bool = null,
@@ -191,6 +192,8 @@ pub const Options = struct {
}
};
+pub const HashStyle = enum { sysv, gnu, both };
+
pub const File = struct {
tag: Tag,
options: Options,