1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-29 11:24:36 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-20 09:22:01 +09:00
parent a0c224fc9d
commit ccb09cdf73
2 changed files with 1 additions and 2 deletions

View File

@ -181,7 +181,6 @@ public:
ObjectFile *file;
OutputSection *output_section;
StringRef output_section_name;
uint64_t output_file_offset;
int64_t offset = -1;
uint32_t alignment;

View File

@ -176,7 +176,7 @@ int main(int argc, char **argv) {
for (OutputSection *osec : output_sections) {
for (InputSection *isec : osec->sections) {
filesize = align_to(filesize, isec->alignment);
isec->output_file_offset = filesize;
isec->offset = filesize;
filesize += isec->get_size();
}
}