commit | 2f7f4f4405d0f9fcdf3dbcbe299f00e5c3208323 | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Mon Feb 20 15:57:02 2017 +0800 |
committer | Logan Chien <loganchien@google.com> | Tue Mar 07 13:00:38 2017 +0800 |
tree | d5378f448a00ec97ee4f7be7053e805984580ce6 | |
parent | 18e0749a9c20d6f932a3f6c9d316bd2dc87d970f [diff] |
vndk-def: Link imported symbols. This commit resolves the library dependencies down to symbol level. It will traverse all undefined symbols and try to find a matching symbol from the libraries specified in DT_NEEDED entries. This algorithm won't be able to find symbols for the libraries that are not built with -Wl,--no-undefined. Unresolved weak symbols are added to unresolved_symbols as well. Test: ./tests/run.py Change-Id: I3b0f06e38f256025bb6993d5c9f3d8afc3a4bf0e