Fix order of soinfo links (repairs libcxx tests).

(cherry picked from commit b2a30ee8d2)

Change-Id: I59c5333bc050cbbea14051cea9220be2f64ee383
This commit is contained in:
Dmitriy Ivanov
2014-09-04 18:23:00 -07:00
parent 59c12a6527
commit 8de1ddece0
7 changed files with 113 additions and 2 deletions

View File

@@ -1778,8 +1778,8 @@ void soinfo::CallDestructors() {
void soinfo::add_child(soinfo* child) {
if (has_min_version(0)) {
this->children.push_front(child);
child->parents.push_front(this);
child->parents.push_back(this);
this->children.push_back(child);
}
}