diff options
author | David S. Miller <davem@davemloft.net> | 2010-02-21 03:58:51 +0000 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 2010-02-20 19:58:51 -0800 |
commit | 878ee0ab0f556ba94f653d1352717d398e16a4ec (patch) | |
tree | 1f268d9d146f9c7ed9d1caef3cd9d4aadc1046a9 /gcc/config.in | |
parent | 9cd1520f413cbe44a7dcde1663a12af958594f44 (diff) | |
download | gcc-878ee0ab0f556ba94f653d1352717d398e16a4ec.zip gcc-878ee0ab0f556ba94f653d1352717d398e16a4ec.tar.gz gcc-878ee0ab0f556ba94f653d1352717d398e16a4ec.tar.bz2 |
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
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config.in b/gcc/config.in index a3744f9..98dffa7 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -417,6 +417,12 @@ #endif +/* Define if your assembler and linker support GOTDATA_OP relocs. */ +#ifndef USED_FOR_TARGET +#undef HAVE_AS_SPARC_GOTDATA_OP +#endif + + /* Define if your assembler and linker support unaligned PC relative relocs. */ #ifndef USED_FOR_TARGET |