MIPS/GAS: Sanitize `.option picX' pseudo-op
authorMaciej W. Rozycki <macro@imgtec.com>
Sat, 9 Apr 2016 20:35:50 +0000 (21:35 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Sat, 9 Apr 2016 20:35:50 +0000 (21:35 +0100)
commit41a1578ed17cdd7c01c38389ac7c714c4f15cbf8
tree945bc1648562062c921979ec450d66d7247eb957
parent668c5ebc0937ab5288d831d65de3057e56e2763f
MIPS/GAS: Sanitize `.option picX' pseudo-op

gas/
* config/tc-mips.c (s_option): Sanitize `.option picX'
pseudo-op.
* testsuite/gas/mips/option-pic-1.d: New test.
* testsuite/gas/mips/option-pic-2.l: New list test.
* testsuite/gas/mips/option-pic-1.s: New test source.
* testsuite/gas/mips/option-pic-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-1.d [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-1.s [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-2.l [new file with mode: 0644]
gas/testsuite/gas/mips/option-pic-2.s [new file with mode: 0644]