mirror of
https://github.com/rui314/mold.git
synced 2024-11-11 16:58:12 +03:00
wip
This commit is contained in:
parent
4db65bb2a8
commit
50147f07e8
@ -482,12 +482,9 @@ void OutputSection::copy_buf() {
|
||||
if (shdr.sh_type == SHT_NOBITS)
|
||||
return;
|
||||
|
||||
tbb::parallel_for((i64)0, (i64)members.size(), [&](u64 i) {
|
||||
InputSection &isec = *members[i];
|
||||
if (isec.shdr.sh_type == SHT_NOBITS)
|
||||
return;
|
||||
|
||||
tbb::parallel_for((i64)0, (i64)members.size(), [&](i64 i) {
|
||||
// Copy section contents to an output file
|
||||
InputSection &isec = *members[i];
|
||||
isec.copy_buf();
|
||||
|
||||
// Zero-clear trailing padding
|
||||
|
Loading…
Reference in New Issue
Block a user