comp: add support for -fdata-sections
This commit is contained in:
committed by
Andrew Kelley
parent
a306bfcd8e
commit
8b4e3b6aee
@@ -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,
|
||||
);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user