invoke.texi (ARM Options): Document -mtls-dialect option.
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 22 Jun 2011 09:57:02 +0000 (09:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 22 Jun 2011 09:57:02 +0000 (09:57 +0000)
commitccdc216414a902642b358b80f9aaa14bb7ce192b
treec569dfb959139fe6dbc9e0be0b3faf1a129cf42a
parent70e41a6a27a6aad0abbe5598497b4b17ef3feb48
invoke.texi (ARM Options): Document -mtls-dialect option.

* doc/invoke.texi (ARM Options): Document -mtls-dialect option.
* doc/install.texi (Configuration): Document --with-tls.
* config.gcc (arm*-*-linux*): Default to gnu tls.
(arm*-*-*): Add --with-tls option.
(all_defaults): Add 'tls'.
* config/arm/arm.c (enum tls_reloc): Add TLS_DESCSEQ.
(arm_call_tls_get_addr): Clean up. Assert not tls descriptor.
(arm_tls_descseq_addr): New.
(legitimize_tls_address): Add tlsdesc support.
(arm_cannot_copy_insn_p): Check for tlscall.
(arm_emit_tls_decoration): Likewise.
* config/arm/arm.h (TARGET_GNU2_TLS): New.
(OPTION_DEFAULT_SPECS): Add with-tls support.
* config/arm/arm.md (R1_REGNUM): Define.
(tlscall): New.
* config/arm/arm.opt (tls_type): New enumeration type and values.
(mtls-dialect): New switch.
* config/arm/arm-opts.h (enum tls_type): New.

testsuite/
* gcc.target/arm/tlscall.c: New.

From-SVN: r175287
gcc/ChangeLog
gcc/config/arm/arm-opts.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/config/arm/arm.opt
gcc/doc/install.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/tlscall.c [new file with mode: 0644]