summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-08-08 18:23:25 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-08-08 18:23:25 +0000
commit5b5d8bcd880ec9420afeb26dc0421beb24ab610a (patch)
tree052163e9461ae5b071e57c94084c41db99bb66c1 /llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
parent7c20ede085a73e6e25dc5212beb06cc7ec633c3a (diff)
downloadbcm5719-llvm-5b5d8bcd880ec9420afeb26dc0421beb24ab610a.tar.gz
bcm5719-llvm-5b5d8bcd880ec9420afeb26dc0421beb24ab610a.zip
Switch PPC/Darwin to new section handling stuff
llvm-svn: 54537
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
index 75868d4a591..d9807f7c270 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetAsmInfo.cpp
@@ -21,7 +21,7 @@ using namespace llvm::dwarf;
PPCTargetAsmInfo::PPCTargetAsmInfo(const PPCTargetMachine &TM) {
bool isPPC64 = TM.getSubtargetImpl()->isPPC64();
-
+
ZeroDirective = "\t.space\t";
SetDirective = "\t.set";
Data64bitsDirective = isPPC64 ? "\t.quad\t" : 0;
@@ -32,9 +32,8 @@ PPCTargetAsmInfo::PPCTargetAsmInfo(const PPCTargetMachine &TM) {
AssemblerDialect = TM.getSubtargetImpl()->getAsmFlavor();
}
-PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM)
-: PPCTargetAsmInfo(TM)
-{
+PPCDarwinTargetAsmInfo::PPCDarwinTargetAsmInfo(const PPCTargetMachine &TM):
+ PPCTargetAsmInfo(TM), DarwinTargetAsmInfo(TM) {
PCSymbol = ".";
CommentString = ";";
GlobalPrefix = "_";
OpenPOWER on IntegriCloud