llvm/lib/MC/TargetAsmBackend.cpp
Rafael Espindola f230df9af4 Add a MCObjectFormat class so that code common to all targets that use a
single object format can be shared.

This also adds support for

mov zed+(bar-foo), %eax

on ELF and COFF targets.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116675 91177308-0d34-0410-b5e6-96231b3b80d8
2010-10-16 18:23:53 +00:00

22 lines
595 B
C++

//===-- TargetAsmBackend.cpp - Target Assembly Backend ---------------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include "llvm/Target/TargetAsmBackend.h"
using namespace llvm;
TargetAsmBackend::TargetAsmBackend(const Target &T)
: TheTarget(T),
HasReliableSymbolDifference(false),
HasScatteredSymbols(false)
{
}
TargetAsmBackend::~TargetAsmBackend() {
}