gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 13 Sep 2009 19:18:11 +0000 (19:18 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sun, 13 Sep 2009 19:18:11 +0000 (19:18 +0000)
commit1180b5a4deb36962eb5ad244f32d93e4ad519370
tree60ffcaeeb998f209bb52cc696fff9bb1e89b71cf
parent3c0bfb2a239710f52543cc9e1a434814e82bd120
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