gas/
commit9c5e80dd47ce21fea627199ca39718237bd04af5
authorRichard Sandiford <rsandifo@nildram.co.uk>
Sun, 13 Sep 2009 19:18:11 +0000 (13 19:18 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Sun, 13 Sep 2009 19:18:11 +0000 (13 19:18 +0000)
tree134fb28e034015f7277efee2bfadf5927cc32f26
parent3e8924c4fce01e968d3d12b5deed49952192c59f
gas/
* config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
Require the target to be a bare symbol on targets with
in-place addends.
(macro_build_jalr): Update accordingly.
(mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
with in-place addends.

gas/testsuite/
* gas/mips/jalr2.s, gas/mips/jalr2.d: New test.
* gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced.
* gas/mips/jal-xgot.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips.exp: Run it.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/jal-svr4pic.d
gas/testsuite/gas/mips/jal-xgot.d
gas/testsuite/gas/mips/jalr2.d [new file with mode: 0644]
gas/testsuite/gas/mips/jalr2.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips-abi32-pic2.d
gas/testsuite/gas/mips/mips.exp