mirror of
https://github.com/rui314/mold.git
synced 2024-09-21 09:57:18 +03:00
[Mach-O] Fix .bss sections
This commit is contained in:
parent
fd5d95f9d0
commit
0f0f747135
@ -19,7 +19,7 @@ InputSection::InputSection(Context &ctx, ObjectFile &file, const MachSection &hd
|
||||
Subsection *subsec = new Subsection{
|
||||
.isec = *this,
|
||||
.input_offset = 0,
|
||||
.input_size = (u32)contents.size(),
|
||||
.input_size = (u32)hdr.size,
|
||||
.input_addr = (u32)hdr.addr,
|
||||
.p2align = (u8)hdr.p2align,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user