[all-commits] [llvm/llvm-project] d99934: [Sparc] Don't use SunStyleELFSectionSwitchSyntax
rorth via All-commits
all-commits at lists.llvm.org
Wed Aug 17 04:00:10 PDT 2022
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2022-08-17 (Wed, 17 Aug 2022)
[Sparc] Don't use SunStyleELFSectionSwitchSyntax
As discussed in D85414 <https://reviews.llvm.org/D85414>, two tests
currently `FAIL` on Sparc since that backend uses the Sun assembler syntax
for the `.section` directive, controlled by
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 <https://reviews.llvm.org/D85414>.
Tested on `sparcv9-sun-solaris2.11`.
Differential Revision: https://reviews.llvm.org/D85415
More information about the All-commits