diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 8f51cc9600a61cfa71fd8f32ee0618613e2289be..2e22043920087ea9c2a355d6299fba1b4ea19f3f 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -4139,7 +4139,10 @@ AdltSection::makeSoData(const SharedFileExtended* soext) { // TODO: fill data.sharedLocalIndex // TODO: fill data.sharedGlobalIndex - // TODO: fill data.phIndexes + + std::copy(soext->programHeaderIndexes.begin(), + soext->programHeaderIndexes.end(), + std::back_inserter(data.phIndexes)); return data; }