OSDN Git Service

Add a method to leave the symbol table in a library.
authorChristopher Ferris <cferris@google.com>
Tue, 18 Mar 2014 21:50:09 +0000 (14:50 -0700)
committerChristopher Ferris <cferris@google.com>
Wed, 19 Mar 2014 00:34:41 +0000 (17:34 -0700)
commita6e2f9322c47ac02546aa436341fa42afd0000c5
treed159588a6013b962458d7bff15d628ec7d65fcf0
parentbce52ca5fae5d0062e7622d758a3619f2279c666
Add a method to leave the symbol table in a library.

When LOCAL_STRIP_MODULE := keep_symbols is set, then the normal strip rules
will be modified so that only the .debug_* sections are removed. The original
symbol table is left alone.

This allows the compilation of certain libraries so that libbacktrace library
can provide meaningful names to functions.

Bug: 12958251
Change-Id: I82bdc304a463012e29086325ccb51163464cb4a9
core/combo/TARGET_linux-arm.mk
core/combo/TARGET_linux-arm64.mk
core/combo/TARGET_linux-mips.mk
core/combo/TARGET_linux-mips64.mk
core/combo/TARGET_linux-x86.mk
core/combo/TARGET_linux-x86_64.mk
core/definitions.mk
core/dynamic_binary.mk
core/strip.mk [new file with mode: 0644]