Fix order of soinfo links (repairs libcxx tests).

Change-Id: Iee9de09657351cd6a7512784ca797e4b84cdd98b
This commit is contained in:
Dmitriy Ivanov
2014-09-04 18:23:00 -07:00
parent 8adace5f2c
commit b2a30ee8d2
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);
}
}