mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Revert "[ARM] Uses "Sun Style" syntax for section switching"
This reverts commit 03de2f84fc4acf06c719cd007b5459c9d4d0a20c.
This commit is contained in:
parent
9e2300fd63
commit
66c120eb49
@ -215,7 +215,7 @@ protected:
|
||||
const char *TPRel64Directive = nullptr;
|
||||
|
||||
/// This is true if this target uses "Sun Style" syntax for section switching
|
||||
/// ("#alloc,#write" etc) alongside the normal ELF syntax (,"a,w") in
|
||||
/// ("#alloc,#write" etc) instead of the normal ELF syntax (,"a,w") in
|
||||
/// .section directives. Defaults to false.
|
||||
bool SunStyleELFSectionSwitchSyntax = false;
|
||||
|
||||
|
@ -75,10 +75,6 @@ ARMELFMCAsmInfo::ARMELFMCAsmInfo(const Triple &TheTriple) {
|
||||
UseParensForSymbolVariant = true;
|
||||
|
||||
UseIntegratedAssembler = true;
|
||||
|
||||
// The GNU assembler supports Sun style section switching for Arm targets, and
|
||||
// it is used in projects like the Linux kernel.
|
||||
SunStyleELFSectionSwitchSyntax = true;
|
||||
}
|
||||
|
||||
void ARMELFMCAsmInfo::setUseIntegratedAssembler(bool Value) {
|
||||
|
@ -1,13 +0,0 @@
|
||||
@ RUN: llvm-mc -filetype=obj -triple arm-linux-gnu %s -o - | llvm-readelf --sections | FileCheck %s
|
||||
|
||||
@ CHECK: .f1 PROGBITS 00000000 000034 000000 00 A 0 0 1
|
||||
.section ".f1", #alloc
|
||||
|
||||
@ CHECK: .f2 PROGBITS 00000000 000034 000000 00 W 0 0 1
|
||||
.section ".f2", #write
|
||||
|
||||
@ CHECK: .f3 PROGBITS 00000000 000034 000000 00 A 0 0 1
|
||||
.section ".f3", "a"
|
||||
|
||||
@ CHECK: .f4 PROGBITS 00000000 000034 000000 00 W 0 0 1
|
||||
.section ".f4", "w"
|
Loading…
Reference in New Issue
Block a user