Revert "Revert "Make libc.so global""

This reverts commit 65236d43e8.

Bug: http://b/35417197
Bug: http://b/35338922
Test: vogar --classpath out/target/common/obj/JAVA_LIBRARIES/core-tests_intermediates/classes.jack  --mode=device --variant=X32 dalvik.system.JniTest#testGetSuperclass
Change-Id: Ibf3bb7396e7d11ebe95e2f9267d0fc4af3fbe8c5
This commit is contained in:
Dimitry Ivanov 2017-02-16 12:03:21 -08:00
parent fec0e015ce
commit 2a4d892c7f
1 changed files with 2 additions and 0 deletions

View File

@ -1665,6 +1665,8 @@ cc_library {
keep_symbols: true,
},
ldflags: ["-Wl,-z,global"],
// Do not pack libc.so relocations; see http://b/20645321 for details.
pack_relocations: false,