gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Wed, 29 May 2013 16:22:14 +0000 (16:22 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Wed, 29 May 2013 16:22:14 +0000 (16:22 +0000)
commitd6101ac20076846ff5092444691d502fd689c886
treebc8ed8a04d7189c55c1d9b6b3966300002064ba8
parent95e34fb4f43f5cc57c48d4799c5c59d7dcf6c2a2
gas/
* write.c (resolve_reloc_expr_symbols): On REL targets don't
convert relocs who have no relocatable field either.  Rephrase
the conditional so that the PC-relative check is only applied
for REL targets.

gas/testsuite/
* gas/mips/jalr3.d: New test.
* gas/mips/jalr3-n32.d: New test.
* gas/mips/jalr3-n64.d: New test.
* gas/mips/jalr3.s: New test source.
* gas/mips/mips.exp: Run the new tests.

ld/testsuite/
* ld-mips-elf/jalr3.dd: New test.
* ld-mips-elf/jalr3.ld: New test linker script.
* ld-mips-elf/mips-elf.exp: Run the new test.
12 files changed:
gas/ChangeLog
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/jalr3-n32.d [new file with mode: 0644]
gas/testsuite/gas/mips/jalr3-n64.d [new file with mode: 0644]
gas/testsuite/gas/mips/jalr3.d [new file with mode: 0644]
gas/testsuite/gas/mips/jalr3.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
gas/write.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/jalr3.dd [new file with mode: 0644]
ld/testsuite/ld-mips-elf/jalr3.ld [new file with mode: 0644]
ld/testsuite/ld-mips-elf/mips-elf.exp