OSDN Git Service

gas/
authorrsandifo <rsandifo>
Sun, 13 Sep 2009 19:18:11 +0000 (19:18 +0000)
committerrsandifo <rsandifo>
Sun, 13 Sep 2009 19:18:11 +0000 (19:18 +0000)
commitc118757b1625c99d63c4ca3a97e700836fdf4f2d
treeed49d36b274ec0002dc2385c9bf88f908abed32e
parent1e9c582abbe53aaa66b96126c641715882f4d702
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