Add version to libc.so symbols
Bug: http://b/21617095 Bug: http://b/20139821 Change-Id: If3d42d2a0b4a0c49721fd9b9ecbb4f7bee5a1eff (cherry picked from commit 665607a6b7a7a8f129c30ee73c6606f4a56cea0c)
This commit is contained in:
parent
929be68849
commit
420574690c
@ -1340,7 +1340,7 @@ LOCAL_CLANG := $(use_clang)
|
||||
LOCAL_REQUIRED_MODULES := tzdata
|
||||
LOCAL_ADDITIONAL_DEPENDENCIES := \
|
||||
$(libc_common_additional_dependencies) \
|
||||
$(LOCAL_PATH)/version_script.txt \
|
||||
$(LOCAL_PATH)/libc.map \
|
||||
|
||||
# Leave the symbols in the shared library so that stack unwinders can produce
|
||||
# meaningful name resolution.
|
||||
@ -1368,7 +1368,7 @@ LOCAL_CXX_STL := none
|
||||
LOCAL_SYSTEM_SHARED_LIBRARIES :=
|
||||
|
||||
# Don't re-export new/delete and friends, even if the compiler really wants to.
|
||||
LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/version_script.txt
|
||||
LOCAL_LDFLAGS := -Wl,--version-script,$(LOCAL_PATH)/libc.map
|
||||
|
||||
# We'd really like to do this for all architectures, but since this wasn't done
|
||||
# before, these symbols must continue to be exported on LP32 for binary
|
||||
|
1455
libc/libc.map
Normal file
1455
libc/libc.map
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user