blob: 8ea11c95b27da54c755d17689253ff5ac72f21c7 [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 Lattner50f82ef2010-01-20 06:34:14 +000017SystemZMCAsmInfo::SystemZMCAsmInfo(const Target &T, const StringRef &TT) {
Anton Korobeynikovfafa2de2009-07-16 14:04:22 +000018 AlignmentIsInBytes = true;
19
Anton Korobeynikovfafa2de2009-07-16 14:04:22 +000020 PrivateGlobalPrefix = ".L";
21 WeakRefDirective = "\t.weak\t";
22 SetDirective = "\t.set\t";
23 PCSymbol = ".";
24
25 NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
Anton Korobeynikov32b7d5b2009-07-16 13:27:25 +000026}