diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2005-03-13 18:03:25 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2005-03-13 18:03:25 +0000 |
commit | 69229b8198e11bbbc5962d3e4ce8ce77ebf737b7 (patch) | |
tree | 6f57ba94026b1caf579525022e6276fe3adcf97b /gcc/rtl.c | |
parent | b095fe2cd9510347db6bc8842562255a78fa6bd4 (diff) | |
download | gcc-69229b8198e11bbbc5962d3e4ce8ce77ebf737b7.zip gcc-69229b8198e11bbbc5962d3e4ce8ce77ebf737b7.tar.gz gcc-69229b8198e11bbbc5962d3e4ce8ce77ebf737b7.tar.bz2 |
configure.ac: Check for MIPS TLS.
* configure.ac: Check for MIPS TLS.
* configure: Regenerated.
* config/mips/mips-protos.h (enum mips_symbol_type): Add
SYMBOL_TLS, SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL,
SYMBOL_GOTTPREL, and SYMBOL_TPREL.
* config/mips/mips.c (mips_regno_to_class): Handle V1_REG.
(TARGET_HAVE_TLS, TARGET_CANNOT_FORCE_CONST_MEM): Define.
(mips_classify_symbol, mips_symbolic_constant_p)
(mips_symbolic_address_p, mips_symbol_insns): Handle TLS symbols.
(mips_tls_operand_p, mips_call_tls_get_addr)
(mips_legitimize_tls_address, mips_cannot_force_const_mem)
(mips_tls_symbol_ref_1): New functions.
(mips_legitimize_address, mips_legitimize_const_move): Call
mips_legitimize_tls_address.
(override_options): Handle V1_REG and TLS symbols. Disable TLS
for MIPS16.
* config/mips/mips.h (enum reg_class, REG_CLASS_NAMES)
(REG_CLASS_CONTENTS, GR_REG_CLASS_P): Include V1_REG.
(mips_char_to_class): Document V1_REG.
(HAVE_AS_TLS): Provide default.
* config/mips/mips.md (UNSPEC_TLS_LDM, UNSPEC_TLS_GET_TP): New
constants.
(load_got<mode>): Renamed from *load_got<mode>. Allow when
!TARGET_ABICALLS.
(tls_get_tp_<mode>): New instruction.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r96380
Diffstat (limited to 'gcc/rtl.c')
0 files changed, 0 insertions, 0 deletions