mips.c (mips_legitimize_tls_address): Call sorry if we encounter TLS address in MIPS1...
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 5 Sep 2007 14:33:48 +0000 (10:33 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Wed, 5 Sep 2007 14:33:48 +0000 (10:33 -0400)
commitedede0242fe72bf7814fa25da0ddb6a4dd516738
treeedbc99a79858da6dd3a8b15ed4569cd3fa92a054
parentdb2960f402c407aa41fe09d5195da5c414ae79af
mips.c (mips_legitimize_tls_address): Call sorry if we encounter TLS address in MIPS16 mode.

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.

From-SVN: r128133
gcc/ChangeLog
gcc/config/mips/mips.c