commit | b2a30ee8d209154efc367db11b4167a5d6db605f | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Thu Sep 04 18:23:00 2014 -0700 |
committer | Dmitriy Ivanov <dimitry@google.com> | Fri Sep 05 16:01:47 2014 -0700 |
tree | 3c36591245f31a062f73ad4b18028505be956229 | |
parent | 8adace5f2c185bd616f79159eaf90d2982157069 [diff] [blame] |
Fix order of soinfo links (repairs libcxx tests). Change-Id: Iee9de09657351cd6a7512784ca797e4b84cdd98b
diff --git a/linker/linker.cpp b/linker/linker.cpp index 610489e..ac470a5 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp
@@ -1778,8 +1778,8 @@ 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); } }