blob: c17535f4e2b34888581852eebcb918f427dab96a [file] [log] [blame]
Chris Lattner621c44d2009-08-22 20:48:53 +00001//===-- SystemZMCAsmInfo.cpp - SystemZ asm properties ---------------------===//
Anton Korobeynikov32b7d5b2009-07-16 13:27:25 +00002//
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//
Chris Lattner621c44d2009-08-22 20:48:53 +000010// This file contains the declarations of the SystemZMCAsmInfo properties.
Anton Korobeynikov32b7d5b2009-07-16 13:27:25 +000011//
12//===----------------------------------------------------------------------===//
13
Chris Lattner621c44d2009-08-22 20:48:53 +000014#include "SystemZMCAsmInfo.h"
Anton Korobeynikov32b7d5b2009-07-16 13:27:25 +000015using namespace llvm;
16
Chris Lattnera9182162010-01-19 22:42:28 +000017SystemZMCAsmInfo::SystemZMCAsmInfo(const Target &T, const StringRef &TT)
18: MCAsmInfo(false) {
Anton Korobeynikovfafa2de2009-07-16 14:04:22 +000019 AlignmentIsInBytes = true;
20
Anton Korobeynikovfafa2de2009-07-16 14:04:22 +000021 PrivateGlobalPrefix = ".L";
22 WeakRefDirective = "\t.weak\t";
23 SetDirective = "\t.set\t";
24 PCSymbol = ".";
25
26 NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
Anton Korobeynikov32b7d5b2009-07-16 13:27:25 +000027}