gas/
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 15:44:53 +0000 (15:44 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 15:44:53 +0000 (15:44 +0000)
commitce70d90a3e5e00fd49b46164a43e3dfbcf1cf404
tree3fa69a6e9d73d3806e9892bba1a4cd515edbef7e
parent5c4f07bae108d3f6e70b755f49d1c008088138f9
gas/
* config/tc-mips.c (mips_fix_adjustable): On REL targets also
reject PC-relative relocations.

gas/testsuite/
* gas/mips/branch-misc-2.d: Adjust for relocation change.
* gas/mips/branch-misc-2pic.d: Likewise.
* gas/mips/branch-misc-4.d: New test for PC-relative relocation
overflow.
* gas/mips/branch-misc-4-64.d: Likewise.
* gas/mips/branch-misc-4.s: Source for the new tests.
* testsuite/gas/mips/mips.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/branch-misc-2.d
gas/testsuite/gas/mips/branch-misc-2pic.d
gas/testsuite/gas/mips/branch-misc-4-64.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-4.d [new file with mode: 0644]
gas/testsuite/gas/mips/branch-misc-4.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp