gas/
commit3e3d9b94affbc4d9ebe3b790f664f46a9e0facb4
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 15:44:52 +0000 (28 15:44 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Mon, 28 Feb 2011 15:44:52 +0000 (28 15:44 +0000)
tree538b1203efff46cf6c351c4e647a9e3dd9a8b82d
parentcc4c65bdb1224a53c80a55d08edc1e7b5c681952
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