2009-08-23 04:48:53 +08:00
|
|
|
//===-- SparcMCAsmInfo.cpp - Sparc asm properties -------------------------===//
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2009-08-23 04:48:53 +08:00
|
|
|
// This file contains the declarations of the SparcMCAsmInfo properties.
|
2006-09-08 06:05:02 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2009-08-23 04:48:53 +08:00
|
|
|
#include "SparcMCAsmInfo.h"
|
2009-07-26 15:33:58 +08:00
|
|
|
#include "llvm/ADT/SmallVector.h"
|
2006-09-08 06:05:02 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
2010-01-20 14:34:14 +08:00
|
|
|
SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Target &T, const StringRef &TT) {
|
2006-09-08 06:05:02 +08:00
|
|
|
Data16bitsDirective = "\t.half\t";
|
|
|
|
Data32bitsDirective = "\t.word\t";
|
|
|
|
Data64bitsDirective = 0; // .xword is only supported by V9.
|
|
|
|
ZeroDirective = "\t.skip\t";
|
|
|
|
CommentString = "!";
|
2009-09-08 20:47:30 +08:00
|
|
|
HasLEB128 = true;
|
|
|
|
SupportsDebugInformation = true;
|
2009-08-09 04:43:12 +08:00
|
|
|
|
|
|
|
SunStyleELFSectionSwitchSyntax = true;
|
2009-08-27 02:24:12 +08:00
|
|
|
UsesELFSectionDirectiveForBSS = true;
|
|
|
|
|
|
|
|
WeakRefDirective = "\t.weak\t";
|
|
|
|
|
|
|
|
PrivateGlobalPrefix = ".L";
|
2008-08-07 17:51:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|