OSDN Git Service

ART: Set default visibility to protected
authorAndreas Gampe <agampe@google.com>
Wed, 13 Aug 2014 07:15:43 +0000 (00:15 -0700)
committerAndreas Gampe <agampe@google.com>
Wed, 13 Aug 2014 23:11:40 +0000 (16:11 -0700)
commit235e77bd9f19e4faefda109be40f8744f3a66f40
treed575db972eba6283de16f57340ccb600c3b38013
parent63c051a540e6dfc806f656b88ac3a63e99395429
ART: Set default visibility to protected

Set default visibility of symbols to protected. This allows the
linker to optimize internal calls and helps avoid plt calls.

Make almost all assembly stubs hidden, as -fvisibility does not
seem to apply to them. Change the assembly tests accordingly. Also
allows to clean up previous hacks to avoid plt calls.

Bug: 16974467
Change-Id: I9030dcf6116251f434f94a2b08e56e12085af652
18 files changed:
build/Android.common_build.mk
runtime/arch/arm/arm_sdiv.S
runtime/arch/arm/asm_support_arm.S
runtime/arch/arm/portable_entrypoints_arm.S
runtime/arch/arm/quick_entrypoints_arm.S
runtime/arch/arm64/asm_support_arm64.S
runtime/arch/arm64/portable_entrypoints_arm64.S
runtime/arch/arm64/quick_entrypoints_arm64.S
runtime/arch/memcmp16.cc
runtime/arch/memcmp16.h
runtime/arch/memcmp16_test.cc
runtime/arch/stub_test.cc
runtime/arch/x86/asm_support_x86.S
runtime/arch/x86/portable_entrypoints_x86.S
runtime/arch/x86/quick_entrypoints_x86.S
runtime/arch/x86_64/asm_support_x86_64.S
runtime/arch/x86_64/portable_entrypoints_x86_64.S
runtime/arch/x86_64/quick_entrypoints_x86_64.S