From fb422e6d310915f9e2641190198698d922f7ef58 Mon Sep 17 00:00:00 2001 From: dim Date: Wed, 26 Mar 2014 07:31:57 +0000 Subject: MFC r262613: Merge the projects/clang-sparc64 branch back to head. This brings in several updates from the llvm and clang trunks to make the sparc64 backend fully functional. Apart from one patch to sys/sparc64/include/pcpu.h which is still under discussion, this makes it possible to let clang fully build world and kernel for sparc64. Any assistance with testing this on actual sparc64 hardware is greatly appreciated, as there will unavoidably be bugs left. Many thanks go to Roman Divacky for his upstream work on getting the sparc64 backend into shape. MFC r262985: Repair a few minor mismerges from r262261 in the clang-sparc64 project branch. This is also to minimize differences with upstream. --- lib/clang/libllvmsparccodegen/Makefile | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lib/clang/libllvmsparccodegen/Makefile (limited to 'lib/clang/libllvmsparccodegen') diff --git a/lib/clang/libllvmsparccodegen/Makefile b/lib/clang/libllvmsparccodegen/Makefile new file mode 100644 index 0000000..36cf0a6 --- /dev/null +++ b/lib/clang/libllvmsparccodegen/Makefile @@ -0,0 +1,34 @@ +# $FreeBSD$ + +.include + +LIB= llvmsparccodegen + +SRCDIR= lib/Target/Sparc +SRCS= DelaySlotFiller.cpp \ + SparcAsmPrinter.cpp \ + SparcCodeEmitter.cpp \ + SparcFrameLowering.cpp \ + SparcISelDAGToDAG.cpp \ + SparcISelLowering.cpp \ + SparcInstrInfo.cpp \ + SparcJITInfo.cpp \ + SparcMCInstLower.cpp \ + SparcMachineFunctionInfo.cpp \ + SparcRegisterInfo.cpp \ + SparcSelectionDAGInfo.cpp \ + SparcSubtarget.cpp \ + SparcTargetMachine.cpp \ + SparcTargetObjectFile.cpp + +TGHDRS= Intrinsics \ + SparcGenAsmWriter \ + SparcGenCallingConv \ + SparcGenCodeEmitter \ + SparcGenDAGISel \ + SparcGenInstrInfo \ + SparcGenMCCodeEmitter \ + SparcGenRegisterInfo \ + SparcGenSubtargetInfo + +.include "../clang.lib.mk" -- cgit v1.1