blob: ccb3dc3c6edadb80c939e62d72f5f372078bc617 [file] [log] [blame]
Rafael Espindola43c4e242013-10-16 01:34:32 +00001//===-- MCAsmInfoELF.cpp - ELF asm properties -------------------*- C++ -*-===//
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 defines target asm properties related what form asm statements
11// should take in general on ELF-based targets
12//
13//===----------------------------------------------------------------------===//
14
15#include "llvm/MC/MCAsmInfoELF.h"
16using namespace llvm;
17
18void MCAsmInfoELF::anchor() { }
19
20MCAsmInfoELF::MCAsmInfoELF() {
21 HasIdentDirective = true;
22 WeakRefDirective = "\t.weak\t";
Rafael Espindola5113d162013-12-02 23:39:26 +000023 PrivateGlobalPrefix = ".L";
Rafael Espindola43c4e242013-10-16 01:34:32 +000024}