MIPS/GAS: Disallow `.option picX' with VxWorks PIC
authorMaciej W. Rozycki <macro@imgtec.com>
Sat, 9 Apr 2016 20:23:40 +0000 (21:23 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Sat, 9 Apr 2016 20:23:40 +0000 (21:23 +0100)
commit668c5ebc0937ab5288d831d65de3057e56e2763f
tree8e254249c8aae86d8d3f4eae4789167a1b45c893
parent2e88a1ea30deecac47d89b03f6d60ca04245c36f
MIPS/GAS: Disallow `.option picX' with VxWorks PIC

gas/
* config/tc-mips.c (s_option): Reject `.option picX' if VxWorks
PIC.
* testsuite/gas/mips/option-pic-vxworks-1.l: New list test.
* testsuite/gas/mips/option-pic-vxworks-2.l: New list test.
* testsuite/gas/mips/option-pic-vxworks-1.s: New test source.
* testsuite/gas/mips/option-pic-vxworks-2.s: New test source.
* testsuite/gas/mips/mips.exp: Run the new tests.
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/gas/mips/mips.exp
gas/testsuite/gas/mips/option-pic-vxworks-1.l [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-vxworks-1.s [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-vxworks-2.l [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-vxworks-2.s [new file with mode: 0644]