Details
- Reviewers
dsanders vkalintiris - Commits
- rGb67d4690a897: [mips] Added support for -Wa,-mips32 and similar.
rGf60087a22b1c: [mips] Added support for -Wa,-mips32 and similar.
rC257762: [mips] Added support for -Wa,-mips32 and similar.
rC257602: [mips] Added support for -Wa,-mips32 and similar.
rL257762: [mips] Added support for -Wa,-mips32 and similar.
rL257602: [mips] Added support for -Wa,-mips32 and similar.
Diff Detail
Event Timeline
lib/Driver/Tools.cpp | ||
---|---|---|
2501–2524 | We don't quite do the right thing when we get multiple -mips* options. For -Wa,-mips64r2,-mips4 we don't undo the effect of the '-target-feature +mips64r2' when we process the -mips4. As a result, the selected target is mips64r2 whereas GAS would select mips4. We can't fix this by adding a '-target-feature -mips64r2' since would select mips64 so we'll need to wait until we've seen all the '-Wa,' arguments before we add the -target-feature (similar to --compress-debug-sections). | |
2506–2507 | There should be a mips5 case too. | |
test/Driver/mips-ias-Wa.s | ||
66–74 | There should be a mips5 case too | |
121–129 | These two tests aren't quite right since the selected target is the maximum of the three at the moment. |
Responded to reviewers comments.
The -mips* option is now saved until all arguments have been parsed. The last -mips* option is the only one pushed back.
The tests are now updated to check that multiple -target-feature -mips* options are not present.
There should be a mips5 case too.