aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig1
-rw-r--r--src/codegen/llvm/bindings.zig1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index b7943dd4aa..4355ac1191 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -955,6 +955,7 @@ pub const Object = struct {
reloc_mode,
code_model,
options.function_sections,
+ options.data_sections,
float_abi,
if (target_util.llvmMachineAbi(options.target)) |s| s.ptr else null,
);
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig
index 8b3470bbf2..bb68e28bf2 100644
--- a/src/codegen/llvm/bindings.zig
+++ b/src/codegen/llvm/bindings.zig
@@ -919,6 +919,7 @@ pub const TargetMachine = opaque {
Reloc: RelocMode,
CodeModel: CodeModel,
function_sections: bool,
+ data_sections: bool,
float_abi: ABIType,
abi_name: ?[*:0]const u8,
) *TargetMachine;