Improved warning message when using .cpload inside a reorder section and added an error message for using .cpload with Mips16 enabled.
Modified the tests to fit with the changes mentioned above, added a test-case for the N32 ABI in cpload.s and did some reformatting to make the tests easier to read.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
For the .cpload in Mips16 case, we have a choice between an error and a warning. I took the more conservative GAS approach and chose the error.
Comment Actions
Added an error and test case for when the EndOfStatement is not found at the appropriate location.
Slightly improved the reporting of the ".cpload is not supported in Mips16 mode" error.
Comment Actions
Could you correct the N32 test case?
test/MC/Mips/cpload.s | ||
---|---|---|
7–14 | N32 is not allowed on a 32-bit processor since it's a 64-bit ABI. You should take the N64 run line and change it to N32 instead. |
N32 is not allowed on a 32-bit processor since it's a 64-bit ABI. You should take the N64 run line and change it to N32 instead.