Chris Lattner | af76e59 | 2009-08-22 20:48:53 +0000 | [diff] [blame] | 1 | //===-- SparcMCAsmInfo.cpp - Sparc asm properties -------------------------===// |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 2007-12-29 20:36:04 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
Chris Lattner | af76e59 | 2009-08-22 20:48:53 +0000 | [diff] [blame] | 10 | // This file contains the declarations of the SparcMCAsmInfo properties. |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
Chris Lattner | af76e59 | 2009-08-22 20:48:53 +0000 | [diff] [blame] | 14 | #include "SparcMCAsmInfo.h" |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 15 | using namespace llvm; |
| 16 | |
Benjamin Kramer | 38e5989 | 2010-07-14 22:38:02 +0000 | [diff] [blame] | 17 | SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Target &T, StringRef TT) { |
Jim Laskey | 8e8de8f | 2006-09-07 22:05:02 +0000 | [diff] [blame] | 18 | Data16bitsDirective = "\t.half\t"; |
| 19 | Data32bitsDirective = "\t.word\t"; |
| 20 | Data64bitsDirective = 0; // .xword is only supported by V9. |
| 21 | ZeroDirective = "\t.skip\t"; |
| 22 | CommentString = "!"; |
Richard Pennington | 930e4d9 | 2009-09-08 12:47:30 +0000 | [diff] [blame] | 23 | HasLEB128 = true; |
Richard Pennington | 930e4d9 | 2009-09-08 12:47:30 +0000 | [diff] [blame] | 24 | SupportsDebugInformation = true; |
Chris Lattner | 5277b22 | 2009-08-08 20:43:12 +0000 | [diff] [blame] | 25 | |
| 26 | SunStyleELFSectionSwitchSyntax = true; |
Venkatraman Govindaraju | eb2aa09 | 2009-08-26 18:24:12 +0000 | [diff] [blame] | 27 | UsesELFSectionDirectiveForBSS = true; |
| 28 | |
| 29 | WeakRefDirective = "\t.weak\t"; |
Venkatraman Govindaraju | eb2aa09 | 2009-08-26 18:24:12 +0000 | [diff] [blame] | 30 | |
| 31 | PrivateGlobalPrefix = ".L"; |
Anton Korobeynikov | 5b794b9 | 2008-08-07 09:51:25 +0000 | [diff] [blame] | 32 | } |
| 33 | |
Anton Korobeynikov | 5b794b9 | 2008-08-07 09:51:25 +0000 | [diff] [blame] | 34 | |