Make LABEL a builtin opcode.
[oota-llvm.git] / lib / Target / PowerPC / PPCMachOWriterInfo.cpp
1 //===-- PPCMachOWriterInfo.cpp - Mach-O Writer Info for the PowerPC -------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file was developed by Bill Wendling and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements Mach-O writer information for the PowerPC backend.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "PPCMachOWriterInfo.h"
15 #include "PPCTargetMachine.h"
16 using namespace llvm;
17
18 PPCMachOWriterInfo::PPCMachOWriterInfo(const PPCTargetMachine &TM)
19   : TargetMachOWriterInfo(TM.getTargetData()->getPointerSizeInBits() == 64 ?
20                           HDR_CPU_TYPE_POWERPC64 :
21                           HDR_CPU_TYPE_POWERPC,
22                           HDR_CPU_SUBTYPE_POWERPC_ALL) {}