Remove MIPS workaround for shared text relocations.

Bug: 14296739

Updates to LLVM and libc++ have removed the remaining spurious shared text
relocations from the MIPS build of libc++. We no longer need to disable
linker warnings as errors, since we don't trigger the warning.

Change-Id: I82ec8c76decc92d93a5ce87d9a172e8cbcdb82b8
This commit is contained in:
Stephen Hines
2014-07-24 09:14:56 -07:00
parent 73abdfe437
commit 3aba5bed90

View File

@@ -76,15 +76,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES := libc++
LOCAL_SHARED_LIBRARIES := libdl
LOCAL_SYSTEM_SHARED_LIBRARIES := libc libm
# Bug: 14296739
# The MIPS target in LLVM is spuriously generating a text relocation for
# __gxx_personality_v0 in the .eh_frame section. This triggers a linker
# warning, since it is not considered PIC. Disable warnings as errors
# for this link step until we can get the bug fixed.
ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH), mips mips64))
LOCAL_LDFLAGS := -Wl,--no-fatal-warnings
endif
ifneq ($(TARGET_ARCH),arm)
LOCAL_SHARED_LIBRARIES += libdl
endif