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

This commit is contained in:
Ying Wang 2015-05-14 16:11:58 +00:00 committed by Gerrit Code Review
commit df5c798f36
2 changed files with 10 additions and 0 deletions

View file

@ -14,6 +14,11 @@ CLANG_CONFIG_mips_UNKNOWN_CFLAGS := \
-msynci \
-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

@ -14,6 +14,11 @@ CLANG_CONFIG_mips64_UNKNOWN_CFLAGS := \
-msynci \
-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)