OSDN Git Service

[MIPS] Temporarily disable Mips shared-textrel errors
authorDuane Sand <duane.sand@imgtec.com>
Wed, 29 Apr 2015 23:20:51 +0000 (16:20 -0700)
committerDuane Sand <duane.sand@imgtec.com>
Wed, 13 May 2015 18:07:20 +0000 (11:07 -0700)
commit3dfd20aea49cf6ff75aa41e337ae8dd9817e6428
tree11c90adb642734a860d876cd1c6af335a213c851
parent4415894579186c0c4f8d006ed625c0379b1b9d40
[MIPS] Temporarily disable Mips shared-textrel errors

Clang++ for Mips and Mips64 generates read-only exception unwind
tables that trigger DT_TEXTREL warnings at link time.  Until Clang
is fixed, ignore those performance warnings instead of failing the build.

With this patch, Mips clang++ can be (optionally) used when building
libdeqp.

NDK's Mips llvm has been using an alternate temporary fix, marking the
.gcc_exception_table section as read-write for Mips only:
   https://android-review.googlesource.com/#/c/119660/

A permanent fix using a read-only exception table is pending upstream:
   http://reviews.llvm.org/D9669

Change-Id: Ie0cd7da398acbe45dbe39adc251e7fd5b5ca1445
core/clang/mips.mk
core/clang/mips64.mk