blob: 6ec74e6e4fc5a198c7aec75a9fc5ae8ad5e1b545 [file] [log] [blame]
Chris Lattner361da8a2009-08-02 04:30:59 +00001//===-- SparcTargetAsmInfo.cpp - Sparc asm properties ---------------------===//
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file contains the declarations of the SparcTargetAsmInfo properties.
11//
12//===----------------------------------------------------------------------===//
13
14#include "SparcTargetAsmInfo.h"
Chris Lattner94d8a762009-07-26 07:33:58 +000015#include "llvm/ADT/SmallVector.h"
Dan Gohmanf17a25c2007-07-18 16:29:46 +000016using namespace llvm;
17
Chris Lattner361da8a2009-08-02 04:30:59 +000018SparcELFTargetAsmInfo::SparcELFTargetAsmInfo() {
Dan Gohmanf17a25c2007-07-18 16:29:46 +000019 Data16bitsDirective = "\t.half\t";
20 Data32bitsDirective = "\t.word\t";
21 Data64bitsDirective = 0; // .xword is only supported by V9.
22 ZeroDirective = "\t.skip\t";
23 CommentString = "!";
Anton Korobeynikovdb9a8952008-08-07 09:51:25 +000024 COMMDirectiveTakesAlignment = true;
Chris Lattnera8b97f42009-08-08 20:43:12 +000025
26 SunStyleELFSectionSwitchSyntax = true;
Anton Korobeynikovdb9a8952008-08-07 09:51:25 +000027}
28
Anton Korobeynikovdb9a8952008-08-07 09:51:25 +000029