blob: 2f17676eef068a99f0743dfde83fea01fb8b42f3 [file] [log] [blame]
Anton Korobeynikov4403b932009-07-16 13:27:25 +00001//===-- 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
17using namespace llvm;
18
19SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM)
20 : ELFTargetAsmInfo(TM) {
Anton Korobeynikov70f717f2009-07-16 14:04:22 +000021 AlignmentIsInBytes = true;
22
Anton Korobeynikov70f717f2009-07-16 14:04:22 +000023 PrivateGlobalPrefix = ".L";
24 WeakRefDirective = "\t.weak\t";
25 SetDirective = "\t.set\t";
26 PCSymbol = ".";
27
28 NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
Anton Korobeynikov4403b932009-07-16 13:27:25 +000029}