summaryrefslogtreecommitdiffstats
path: root/lld/test
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-01-10 13:43:06 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-01-10 13:43:06 +0000
commit73af3d4060463e3222c56fb1cedb166c05771402 (patch)
tree5107289db905b840ab1b9e6b621a890cba345e0f /lld/test
parent0b7c9e535bceb97b506410a6a8855efa82180e42 (diff)
downloadbcm5719-llvm-73af3d4060463e3222c56fb1cedb166c05771402.tar.gz
bcm5719-llvm-73af3d4060463e3222c56fb1cedb166c05771402.zip
[LLD][ELF] - Support MSP430.
Patch by Michael Skvortsov! This change adds a basic support for linking static MSP430 ELF code. Implemented relocation types are intended to correspond to the BFD. Differential revision: https://reviews.llvm.org/D56535 llvm-svn: 350819
Diffstat (limited to 'lld/test')
-rw-r--r--lld/test/ELF/Inputs/msp430.s4
-rw-r--r--lld/test/lit.cfg.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/lld/test/ELF/Inputs/msp430.s b/lld/test/ELF/Inputs/msp430.s
new file mode 100644
index 00000000000..79e707a5c28
--- /dev/null
+++ b/lld/test/ELF/Inputs/msp430.s
@@ -0,0 +1,4 @@
+ .text
+ .global _start
+_start:
+ nop
diff --git a/lld/test/lit.cfg.py b/lld/test/lit.cfg.py
index 967cba1e01c..e53ff874003 100644
--- a/lld/test/lit.cfg.py
+++ b/lld/test/lit.cfg.py
@@ -72,6 +72,7 @@ llvm_config.feature_config(
'AVR': 'avr',
'Hexagon': 'hexagon',
'Mips': 'mips',
+ 'MSP430': 'msp430',
'PowerPC': 'ppc',
'RISCV': 'riscv',
'Sparc': 'sparc',
OpenPOWER on IntegriCloud