Skip to content

Commit

Permalink
Add missed files from prev. commit
Browse files Browse the repository at this point in the history
llvm-svn: 346949
  • Loading branch information
asl committed Nov 15, 2018
1 parent 49045c6 commit f0001f4
Show file tree
Hide file tree
Showing 12 changed files with 1,588 additions and 0 deletions.
16 changes: 16 additions & 0 deletions llvm/include/llvm/BinaryFormat/ELFRelocs/MSP430.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

#ifndef ELF_RELOC
#error "ELF_RELOC must be defined"
#endif

ELF_RELOC(R_MSP430_NONE, 0)
ELF_RELOC(R_MSP430_32, 1)
ELF_RELOC(R_MSP430_10_PCREL, 2)
ELF_RELOC(R_MSP430_16, 3)
ELF_RELOC(R_MSP430_16_PCREL, 4)
ELF_RELOC(R_MSP430_16_BYTE, 5)
ELF_RELOC(R_MSP430_16_PCREL_BYTE, 6)
ELF_RELOC(R_MSP430_2X_PCREL, 7)
ELF_RELOC(R_MSP430_RL_PCREL, 8)
ELF_RELOC(R_MSP430_8, 9)
ELF_RELOC(R_MSP430_SYM_DIFF, 10)
3 changes: 3 additions & 0 deletions llvm/lib/Target/MSP430/AsmParser/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
add_llvm_library(LLVMMSP430AsmParser
MSP430AsmParser.cpp
)
23 changes: 23 additions & 0 deletions llvm/lib/Target/MSP430/AsmParser/LLVMBuild.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
;===- lib/Target/MSP430/AsmParser/LLVMBuild.txt ----------------*- Conf -*--===;
;
; The LLVM Compiler Infrastructure
;
; This file is distributed under the University of Illinois Open Source
; License. See LICENSE.TXT for details.
;
;===------------------------------------------------------------------------===;
;
; This is an LLVMBuild description file for the components in this subdirectory.
;
; For more information on the LLVMBuild system, please see:
;
; http://llvm.org/docs/LLVMBuild.html
;
;===------------------------------------------------------------------------===;

[component_0]
type = Library
name = MSP430AsmParser
parent = MSP430
required_libraries = MC MCParser MSP430Desc MSP430Info Support
add_to_library_groups = MSP430
Loading

0 comments on commit f0001f4

Please sign in to comment.