]> git.ipfire.org Git - thirdparty/gcc.git/commit
configure.ac: Test if linker and assembler properly support GOTDATA_OP relocations.
authorDavid S. Miller <davem@davemloft.net>
Sun, 21 Feb 2010 03:58:51 +0000 (03:58 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Sun, 21 Feb 2010 03:58:51 +0000 (19:58 -0800)
commit878ee0ab0f556ba94f653d1352717d398e16a4ec
tree1f268d9d146f9c7ed9d1caef3cd9d4aadc1046a9
parent9cd1520f413cbe44a7dcde1663a12af958594f44
configure.ac: Test if linker and assembler properly support GOTDATA_OP relocations.

gcc/

2010-02-20  David S. Miller  <davem@davemloft.net>

* configure.ac: Test if linker and assembler properly support
GOTDATA_OP relocations.
* configure: Rebuild.
* config.in: Likewise.
* config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New.
(movsi_lo_sum_pic): Use %gdop_*() relocs if available.
(movsi_high_pic): Likewise.
(movdi_lo_sum_pic): Likewise.
(movdi_high_pic): Likewise.
(movsi_pic_gotdata_op): New pattern.
(movdi_pic_gotdata_op): Likewise.
* config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.

From-SVN: r156933
gcc/ChangeLog
gcc/config.in
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.md
gcc/configure
gcc/configure.ac