Add instruction formats and few opcodes
[oota-llvm.git] / lib / Target / SystemZ / SystemZTargetAsmInfo.cpp
1 //===-- SystemZTargetAsmInfo.cpp - SystemZ asm properties -----------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file contains the declarations of the SystemZTargetAsmInfo properties.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "SystemZTargetAsmInfo.h"
15 #include "SystemZTargetMachine.h"
16
17 using namespace llvm;
18
19 SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM)
20   : ELFTargetAsmInfo(TM) {
21   AlignmentIsInBytes = true;
22
23   CStringSection = ".rodata.str";
24   PrivateGlobalPrefix = ".L";
25   WeakRefDirective = "\t.weak\t";
26   SetDirective = "\t.set\t";
27   PCSymbol = ".";
28
29   NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
30 }