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:
Gordon Henriksen 2007-12-23 20:58:16 +00:00
parent 99d562d8fc
commit 81361d6a28
2 changed files with 1 additions and 2 deletions

View File

@ -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)

View File

@ -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"),