mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
LSDA into the TEXT section. We need to generate non-lazy pointers to it on Mach-O. However, the object the NLP points to may be local to the translation unit. If so, then the NLP needs to have the value of that object specified instead of "0", which the linker interprets as "external". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98325 91177308-0d34-0410-b5e6-96231b3b80d8
31 lines
903 B
CMake
31 lines
903 B
CMake
set(LLVM_TARGET_DEFINITIONS PPC.td)
|
|
|
|
tablegen(PPCGenInstrNames.inc -gen-instr-enums)
|
|
tablegen(PPCGenRegisterNames.inc -gen-register-enums)
|
|
tablegen(PPCGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(PPCGenCodeEmitter.inc -gen-emitter)
|
|
tablegen(PPCGenRegisterInfo.h.inc -gen-register-desc-header)
|
|
tablegen(PPCGenRegisterInfo.inc -gen-register-desc)
|
|
tablegen(PPCGenInstrInfo.inc -gen-instr-desc)
|
|
tablegen(PPCGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(PPCGenCallingConv.inc -gen-callingconv)
|
|
tablegen(PPCGenSubtarget.inc -gen-subtarget)
|
|
|
|
add_llvm_target(PowerPCCodeGen
|
|
PPCBranchSelector.cpp
|
|
PPCCodeEmitter.cpp
|
|
PPCHazardRecognizers.cpp
|
|
PPCInstrInfo.cpp
|
|
PPCISelDAGToDAG.cpp
|
|
PPCISelLowering.cpp
|
|
PPCJITInfo.cpp
|
|
PPCMCAsmInfo.cpp
|
|
PPCPredicates.cpp
|
|
PPCRegisterInfo.cpp
|
|
PPCSubtarget.cpp
|
|
PPCTargetMachine.cpp
|
|
PPCTargetObjectFile.cpp
|
|
)
|
|
|
|
target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG)
|