am 9f0d99d2: Merge "Do not pack relocations for libc.so"

* commit '9f0d99d2983c7692cec8e866514335488a930058':
  Do not pack relocations for libc.so
This commit is contained in:
Dmitriy Ivanov 2015-04-28 22:30:29 +00:00 committed by Android Git Automerger
commit 0045456336

View File

@ -1352,6 +1352,9 @@ LOCAL_ADDITIONAL_DEPENDENCIES := \
# meaningful name resolution.
LOCAL_STRIP_MODULE := keep_symbols
# Do not pack libc.so relocations; see http://b/20645321 for details.
LOCAL_PACK_MODULE_RELOCATIONS := false
# WARNING: The only library libc.so should depend on is libdl.so! If you add other libraries,
# make sure to add -Wl,--exclude-libs=libgcc.a to the LOCAL_LDFLAGS for those libraries. This
# ensures that symbols that are pulled into those new libraries from libgcc.a are not declared