Add -Bsymbolic to the ld flags when linking the dynamic linker.
We don't need this on architectures other than aarch64, and we're still investigating why we need it on aarch64, but it doesn't seem unreasonable to have this flag set when linking the dynamic linker anyway; it's clearly the intended behavior. Change-Id: I4fa1b4ae543a818979934bf818eabac03bb9154f
This commit is contained in:
parent
ae189740de
commit
7ff07ad321
@ -16,7 +16,10 @@ LOCAL_SRC_FILES:= \
|
||||
linker_phdr.cpp \
|
||||
rt.cpp \
|
||||
|
||||
LOCAL_LDFLAGS := -shared -Wl,--exclude-libs,ALL
|
||||
LOCAL_LDFLAGS := \
|
||||
-shared \
|
||||
-Wl,-Bsymbolic \
|
||||
-Wl,--exclude-libs,ALL \
|
||||
|
||||
LOCAL_CFLAGS += \
|
||||
-fno-stack-protector \
|
||||
|
Loading…
Reference in New Issue
Block a user