2009-07-16 21:27:25 +08:00
|
|
|
//===-- SystemZTargetAsmInfo.cpp - SystemZ asm properties -----------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the declarations of the SystemZTargetAsmInfo properties.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "SystemZTargetAsmInfo.h"
|
|
|
|
#include "SystemZTargetMachine.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
SystemZTargetAsmInfo::SystemZTargetAsmInfo(const SystemZTargetMachine &TM)
|
|
|
|
: ELFTargetAsmInfo(TM) {
|
2009-07-16 22:04:22 +08:00
|
|
|
AlignmentIsInBytes = true;
|
|
|
|
|
|
|
|
CStringSection = ".rodata.str";
|
|
|
|
PrivateGlobalPrefix = ".L";
|
|
|
|
WeakRefDirective = "\t.weak\t";
|
|
|
|
SetDirective = "\t.set\t";
|
|
|
|
PCSymbol = ".";
|
|
|
|
|
|
|
|
NonexecutableStackDirective = "\t.section\t.note.GNU-stack,\"\",@progbits";
|
2009-07-27 03:23:28 +08:00
|
|
|
|
2009-07-27 14:17:14 +08:00
|
|
|
BSSSection_ = getOrCreateSection("\t.bss", true, SectionKind::BSS);
|
2009-07-16 21:27:25 +08:00
|
|
|
}
|