aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-10-04 17:48:07 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-10-04 17:59:44 -0700
commit1d777e99588be047ec4d7650f048b043d6e52da0 (patch)
treec6155fb3f8b3d9f6218942bbce293bab355d2bf8 /src/link.zig
parentda596b7e4febc95ec5249c9f489166944fbe69b9 (diff)
downloadzig-1d777e99588be047ec4d7650f048b043d6e52da0.tar.gz
zig-1d777e99588be047ec4d7650f048b043d6e52da0.zip
add --image-base support
Based on #6121 by Jay Petacat.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index 3b00684170..139977b3e2 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -45,6 +45,7 @@ pub const Options = struct {
program_code_size_hint: u64 = 256 * 1024,
entry_addr: ?u64 = null,
stack_size_override: ?u64,
+ image_base_override: ?u64,
/// Set to `true` to omit debug info.
strip: bool,
/// If this is true then this link code is responsible for outputting an object