OSDN Git Service

* config/rs6000/rs6000.c (create_TOC_reference): Wrap high part
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2011 05:12:10 +0000 (05:12 +0000)
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jun 2011 05:12:10 +0000 (05:12 +0000)
commitef24450930595b3241677fcdf0a88c1b9c7f593c
treea7c8d0569095d18c55aee8e1f58232219baf0804
parent4c5f011c7079a672173ebf715b6888d62efa4009
* config/rs6000/rs6000.c (create_TOC_reference): Wrap high part
of toc-relative address in CONST.
(rs6000_delegitimize_address): Recognize changed address.
(rs6000_legitimize_reload_address): Likewise.
(rs6000_emit_move): Don't force these constants to memory.
* config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of
toc-relative address in CONST.
(tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise.
(tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175200 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md