As discussed in D85414, two tests currently FAIL on Sparc since that backend currently
uses the Sun assembler syntax for the .section directive, controlled by SunStyleELFSectionSwitchSyntax.
Instead of adapting the affected tests, this patch changes that default. The internal assembler still accepts both forms as input, only the output syntax is affected.
Current support for the Sun syntax is cursory at best: the built-in assembler cannot even assemble some of the directives emitted by GCC, and the set supported by the Solaris assembler is even larger: SPARC Assembly Language Reference Manual, 3.4 Pseudo-Op Attributes.
A few Sparc test cases need to be adjusted. At the same time, the patch fixes the failures from D85414.
Tested on sparcv9-sun-solaris2.11.
I believe this patch needs wider testing first, though: I have a hard time getting decent test results for a 2-stage build on Solaris/SPARC. I'm currently trying a sparc64-unknown-linux-gnu build to see if things fare better there.