This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175201 - in /branches/gcc-4_6-branch/gcc: Chan...
- From: amodra at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 20 Jun 2011 05:25:36 -0000
- Subject: r175201 - in /branches/gcc-4_6-branch/gcc: Chan...
Author: amodra
Date: Mon Jun 20 05:25:35 2011
New Revision: 175201
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175201
Log:
* 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.
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.c
branches/gcc-4_6-branch/gcc/config/rs6000/rs6000.md