blob: 25048b81bc4e49d31977f2bf8b078f12497bb3e9 [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
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";
Anton Korobeynikov4403b932009-07-16 13:27:25 +000030}