Revert "[MIPS] Temporarily disable Mips shared-textrel errors"

This reverts commit 3dfd20aea4 - the clang
version we are using has the mentioned permanent fix. The new build
system (Soong) uses a single list of unknown clang flags for all
architectures, so workarounds like this no longer work.

Change-Id: I64a83f3b52a9ca1d11a76df5a060a36f42e27e4b
This commit is contained in:
Dan Willemsen 2016-05-09 13:10:00 -07:00
parent 622b3c2764
commit 593e670602
2 changed files with 0 additions and 10 deletions

View file

@ -15,11 +15,6 @@ CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
-mno-synci \
-mno-fused-madd
# Temporary workaround for Mips clang++ problem, creates
# relocated ptrs in read-only pic .gcc_exception_table;
# permanent fix pending at http://reviews.llvm.org/D9669
CLANG_CONFIG_mips_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel
# We don't have any mips flags to substitute yet.
define subst-clang-incompatible-mips-flags
$(1)

View file

@ -15,11 +15,6 @@ CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
-mno-synci \
-mno-fused-madd
# Temporary workaround for Mips clang++ problem creating
# relocated ptrs in read-only pic .gcc_exception_table;
# permanent fix pending at http://reviews.llvm.org/D9669
CLANG_CONFIG_mips64_UNKNOWN_CFLAGS += -Wl,--warn-shared-textrel
# We don't have any mips64 flags to substitute yet.
define subst-clang-incompatible-mips64-flags
$(1)