mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
f609d751b3
commit
d3372f86d6
2
main.cc
2
main.cc
@ -290,7 +290,7 @@ static uint64_t set_osec_offsets(ArrayRef<OutputChunk *> output_chunks) {
|
||||
|
||||
for (OutputChunk *chunk : output_chunks) {
|
||||
if (chunk->starts_new_ptload) {
|
||||
fileoff = align_to(fileoff, SECTOR_SIZE);
|
||||
fileoff = align_to(fileoff, PAGE_SIZE);
|
||||
vaddr = align_to(vaddr, PAGE_SIZE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user