re PR target/59777 (Incorrect expansion of TLS arguments in a call)
commitd92f4df01a7c59cea958574a7d716661bb96a35b
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 5 Feb 2014 00:43:56 +0000 (5 00:43 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 5 Feb 2014 00:43:56 +0000 (5 00:43 +0000)
treef9b5e9309ea124bd5de8fed7d0b8cf62513e7b64
parentba057b4e87ff844635dddf0d1ced6dcf0d3f80ac
re PR target/59777 (Incorrect expansion of TLS arguments in a call)

PR target/59777
* config/pa/pa.c (legitimize_tls_address): Return original address
if not passed a SYMBOL_REF rtx.
(hppa_legitimize_address): Call legitimize_tls_address for all TLS
addresses.
(pa_emit_move_sequence): Simplify TLS source operands.
(pa_legitimate_constant_p): Reject all TLS constants.
* config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment.
(CONSTANT_ADDRESS_P): Reject TLS CONST addresses.

From-SVN: r207493
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h