OSDN Git Service

2007-09-05 Sandra Loosemore <sandra@codesourcery.com>
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 14:33:48 +0000 (14:33 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 14:33:48 +0000 (14:33 +0000)
commit7d03861257fedd57a928d4614f7d3a6857d7f22f
treeedbc99a79858da6dd3a8b15ed4569cd3fa92a054
parent87d4aa85da6af10588ef2c32dd4956cc1f5b7d08
2007-09-05  Sandra Loosemore  <sandra@codesourcery.com>

gcc/
* config/mips/mips.c (mips_legitimize_tls_address): Call sorry
if we encounter TLS address in MIPS16 mode.
(mips_legitimize_const_move):  Check cannot_force_const_mem for
the (const (plus symbol offset)) case; this forces invalid TLS
address in MIPS16 mode to be caught by the above call to sorry.
(override_options): Don't reset targetm.have_tls in MIPS16 mode,
because that now enables emutls, which is not ABI compatible
with native TLS in non-MIPS16 mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128133 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c