diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-09-04 18:23:00 -0700 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2014-10-01 16:00:41 -0700 |
commit | 8de1ddece0d0b85eafeb86c06cf3a734dadf2b55 (patch) | |
tree | cade8bf31022d3c5e0850d2de7303226a7d2f298 /linker/linker.cpp | |
parent | 59c12a652794273da22907a374222f4fa7d975c6 (diff) | |
download | android_bionic-8de1ddece0d0b85eafeb86c06cf3a734dadf2b55.tar.gz android_bionic-8de1ddece0d0b85eafeb86c06cf3a734dadf2b55.tar.bz2 android_bionic-8de1ddece0d0b85eafeb86c06cf3a734dadf2b55.zip |
Fix order of soinfo links (repairs libcxx tests).
(cherry picked from commit b2a30ee8d209154efc367db11b4167a5d6db605f)
Change-Id: I59c5333bc050cbbea14051cea9220be2f64ee383
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 610489ea5..ac470a54b 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -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); } } |