am 09ffd5b8: am cfd794a9: Merge "Explain why we need objcopy for the linker"

* commit '09ffd5b8d560106759be8fe2b34e5e6e58e27ca5':
  Explain why we need objcopy for the linker
This commit is contained in:
Dmitriy Ivanov 2015-03-27 00:15:01 +00:00 committed by Android Git Automerger
commit 708d0423d9

View File

@ -70,7 +70,9 @@ LOCAL_MULTILIB := both
# meaningful name resolution.
LOCAL_STRIP_MODULE := keep_symbols
# Insert an extra objcopy step to add prefix to symbols.
# Insert an extra objcopy step to add prefix to symbols. This is needed to prevent gdb
# looking up symbols in the linker by mistake.
#
# Note we are using "=" instead of ":=" to defer the evaluation,
# because LOCAL_2ND_ARCH_VAR_PREFIX or linked_module isn't set properly yet at this point.
LOCAL_POST_LINK_CMD = $(hide) $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_OBJCOPY) \