From 1d777e99588be047ec4d7650f048b043d6e52da0 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 4 Oct 2020 17:48:07 -0700 Subject: add --image-base support Based on #6121 by Jay Petacat. --- src/link.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'src/link.zig') 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 -- cgit v1.2.3