mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 19:04:27 +03:00
temporary
This commit is contained in:
parent
5e930b0fb0
commit
0c8dbbda0a
10
main.cc
10
main.cc
@ -343,13 +343,9 @@ create_shdrs(ArrayRef<OutputChunk *> output_chunks) {
|
||||
}
|
||||
|
||||
static void fill_shdrs(ArrayRef<OutputChunk *> output_chunks) {
|
||||
int i = 1;
|
||||
|
||||
for (OutputChunk *chunk : output_chunks) {
|
||||
if (chunk->name.empty())
|
||||
continue;
|
||||
chunk->shdr.sh_size = chunk->get_size();
|
||||
}
|
||||
for (OutputChunk *chunk : output_chunks)
|
||||
if (!chunk->name.empty())
|
||||
chunk->shdr.sh_size = chunk->get_size();
|
||||
}
|
||||
|
||||
static u64 set_osec_offsets(ArrayRef<OutputChunk *> output_chunks) {
|
||||
|
Loading…
Reference in New Issue
Block a user