Merge "Revert "Create libgcc_stripped with llvm-objcopy""

This commit is contained in:
Yi Kong 2019-10-16 23:33:52 +00:00 committed by Gerrit Code Review
commit 7801661907
1 changed files with 2 additions and 2 deletions

View File

@ -67,9 +67,9 @@ do_strip_keep_symbols() {
do_strip_keep_symbol_list() {
echo "${symbols_to_keep}" | tr ',' '\n' > "${outfile}.symbolList"
KEEP_SYMBOLS="--strip-unneeded-symbol=.* --keep-symbols="
KEEP_SYMBOLS="--strip-unneeded-symbol=* --keep-symbols="
KEEP_SYMBOLS+="${outfile}.symbolList"
"${CLANG_BIN}/llvm-objcopy" --regex "${infile}" "${outfile}.tmp" ${KEEP_SYMBOLS}
"${CROSS_COMPILE}objcopy" -w "${infile}" "${outfile}.tmp" ${KEEP_SYMBOLS}
}
do_strip_keep_mini_debug_info() {