mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Setting GlobalDirective in TargetAsmInfo by default rather than
providing a misleading facility. It's used once in the MIPS backend and hardcoded as "\t.globl\t" everywhere else. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
99d562d8fc
commit
81361d6a28
@ -26,7 +26,6 @@ MipsTargetAsmInfo::MipsTargetAsmInfo(const MipsTargetMachine &TM) {
|
||||
ReadOnlySection = "\t.rdata";
|
||||
ZeroDirective = "\t.space\t";
|
||||
BSSSection = "\t.section\t.bss";
|
||||
GlobalDirective = "\t.globl\t";
|
||||
LCOMMDirective = "\t.lcomm\t";
|
||||
|
||||
if (TM.getRelocationModel() == Reloc::Static)
|
||||
|
@ -67,7 +67,7 @@ TargetAsmInfo::TargetAsmInfo() :
|
||||
EightByteConstantSection(0),
|
||||
SixteenByteConstantSection(0),
|
||||
ReadOnlySection(0),
|
||||
GlobalDirective(0),
|
||||
GlobalDirective("\t.globl\t"),
|
||||
SetDirective(0),
|
||||
LCOMMDirective(0),
|
||||
COMMDirective("\t.comm\t"),
|
||||
|
Loading…
Reference in New Issue
Block a user