aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2011-05-11 17:30:52 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-05-11 17:30:52 +0200
commitcb032feee848f70456b6265a5f7520371e719f35 (patch)
treeb6c3b80ce2d340562c1bce2f34083ef27a41f5fd /gcc/gimple.c
parent6d3cc8f0516347d5e1a1dec49e872889967c0136 (diff)
downloadgcc-cb032feee848f70456b6265a5f7520371e719f35.zip
gcc-cb032feee848f70456b6265a5f7520371e719f35.tar.gz
gcc-cb032feee848f70456b6265a5f7520371e719f35.tar.bz2
i386.c (legitimize_tls_address): Call gen_tls_dynamic_gnu2_{32,64} expanders directly for TARGET_GNU2_TLS.
* config/i386/i386.c (legitimize_tls_address) <TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} expanders directly for TARGET_GNU2_TLS. Determine pic and __tls_get_addr symbol reference here. Update call to gen_tls_global_dynamic_{32,64} for added arguments. <TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} expanders directly for TARGET_GNU2_TLS. Determine __tls_get_addr symbol reference here. Update call to gen_tls_local_dynamic_base_{32,64} for added arguments. Attach unique UNSPEC REG_EQUIV to libcall block. (ix86_tls_get_addr): Declare static. * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. Do not determine pic and __tls_get_addr symbol reference here. Do not call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. (tls_local_dynamic_base_32): Ditto for operands 1 and 2. (tls_global_dynamic_64): Add operand 2. Do not determine __tls_get_addr symbol reference here. Do not call gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. (tls_local_dynamic_base64): Ditto for operand 1. From-SVN: r173662
Diffstat (limited to 'gcc/gimple.c')
0 files changed, 0 insertions, 0 deletions