2009-08-02 04:30:59 +00:00
|
|
|
//===-- SparcTargetAsmInfo.cpp - Sparc asm properties ---------------------===//
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-09-07 22:05:02 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declarations of the SparcTargetAsmInfo properties.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "SparcTargetAsmInfo.h"
|
2009-07-26 07:33:58 +00:00
|
|
|
#include "llvm/ADT/SmallVector.h"
|
2006-09-07 22:05:02 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
2009-08-12 07:22:17 +00:00
|
|
|
SparcELFTargetAsmInfo::SparcELFTargetAsmInfo(const Target &T,
|
|
|
|
const StringRef &TT) {
|
2006-09-07 22:05:02 +00:00
|
|
|
Data16bitsDirective = "\t.half\t";
|
|
|
|
Data32bitsDirective = "\t.word\t";
|
|
|
|
Data64bitsDirective = 0; // .xword is only supported by V9.
|
|
|
|
ZeroDirective = "\t.skip\t";
|
|
|
|
CommentString = "!";
|
2008-08-07 09:51:25 +00:00
|
|
|
COMMDirectiveTakesAlignment = true;
|
2009-08-08 20:43:12 +00:00
|
|
|
|
|
|
|
SunStyleELFSectionSwitchSyntax = true;
|
2008-08-07 09:51:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|