1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 10:27:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-26 17:31:13 +09:00
parent f609d751b3
commit d3372f86d6

View File

@ -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);
}