mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Teach the MC to output code/data region marker labels in MachO and ELF modes. These are used by disassemblers to provide better disassembly, particularly on targets like ARM Thumb that like to intermingle data in the TEXT segment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,6 +57,12 @@ MCAsmInfo::MCAsmInfo() {
|
||||
Data16bitsDirective = "\t.short\t";
|
||||
Data32bitsDirective = "\t.long\t";
|
||||
Data64bitsDirective = "\t.quad\t";
|
||||
DataBegin = "$d.";
|
||||
CodeBegin = "$a.";
|
||||
JT8Begin = "$d.";
|
||||
JT16Begin = "$d.";
|
||||
JT32Begin = "$d.";
|
||||
SupportsDataRegions = true;
|
||||
SunStyleELFSectionSwitchSyntax = false;
|
||||
UsesELFSectionDirectiveForBSS = false;
|
||||
AlignDirective = "\t.align\t";
|
||||
|
Reference in New Issue
Block a user