mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-16 08:36:43 +00:00
Pass down alignment when adding input section to orphan section.
This commit is contained in:
parent
33a3a15316
commit
0e43bb4edd
@ -1914,7 +1914,8 @@ Orphan_output_section::set_section_addresses(Symbol_table*, Layout*,
|
||||
}
|
||||
|
||||
address = align_address(address, addralign);
|
||||
this->os_->add_input_section_for_script(p->first, p->second, size, 0);
|
||||
this->os_->add_input_section_for_script(p->first, p->second, size,
|
||||
addralign);
|
||||
address += size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user