aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2014-12-18 19:10:56 -0600
committerChih-Hung Hsieh2014-12-18 19:10:56 -0600
commit6f96d58c0de191ac479d0fa83c3b9a514f4d3c48 (patch)
tree4b22968be9ac4c17b5297462ce252b5bd4e19118
parentc631bb215e29981222f19c092ded49c7c1f15845 (diff)
downloadplatform-bionic-6f96d58c0de191ac479d0fa83c3b9a514f4d3c48.tar.gz
platform-bionic-6f96d58c0de191ac479d0fa83c3b9a514f4d3c48.tar.xz
platform-bionic-6f96d58c0de191ac479d0fa83c3b9a514f4d3c48.zip
Must use Clang assembler for mips target.
GNU assembler has internal error with clang's output. BUG: 18807290 Change-Id: Iabbe991720fc562884f19d79bded903505fc891d
-rw-r--r--linker/Android.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/linker/Android.mk b/linker/Android.mk
index d6e00957..0383e7b7 100644
--- a/linker/Android.mk
+++ b/linker/Android.mk
@@ -19,6 +19,13 @@ LOCAL_SRC_FILES_x86_64 := arch/x86_64/begin.S
19LOCAL_SRC_FILES_mips := arch/mips/begin.S 19LOCAL_SRC_FILES_mips := arch/mips/begin.S
20LOCAL_SRC_FILES_mips64 := arch/mips64/begin.S 20LOCAL_SRC_FILES_mips64 := arch/mips64/begin.S
21 21
22# GNU assembler aborted with clang's output for linker.cpp:
23# Assertion failure in get_line_subseg at
24# /s/ndk-toolchain/src/build/../binutils/binutils-2.24/gas/dwarf2dbg.c line 271.
25ifeq ($(TARGET_ARCH),mips)
26 LOCAL_CLANG_CFLAGS += -integrated-as
27endif
28
22LOCAL_LDFLAGS := \ 29LOCAL_LDFLAGS := \
23 -shared \ 30 -shared \
24 -Wl,-Bsymbolic \ 31 -Wl,-Bsymbolic \