Write some tests as linker scripts instead of assembly files.
authorRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 20:22:42 +0000 (20:22 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 28 Feb 2018 20:22:42 +0000 (20:22 +0000)
commit2dfe49a44155f0bd1d4819eb7e06488c6ec00bab
tree19180757bc24783f5ad83013e9fa28dec3244203
parentf181f1a6a206f427860e999768259e81a94f6d6a
Write some tests as linker scripts instead of assembly files.

Some linker script test cases contain only a few lines of assembly
and a long linker script. Such tests are easier to maintain if we
write the main test file as a linkier script instead of assembly.

Differential Revision: https://reviews.llvm.org/D43887

llvm-svn: 326363
lld/test/ELF/linkerscript/absolute-expr.test [moved from lld/test/ELF/linkerscript/absolute-expr.s with 74% similarity]
lld/test/ELF/linkerscript/align-empty.s [deleted file]
lld/test/ELF/linkerscript/align-empty.test [new file with mode: 0644]
lld/test/ELF/linkerscript/discard-interp.s [deleted file]
lld/test/ELF/linkerscript/discard-interp.test [new file with mode: 0644]
lld/test/ELF/linkerscript/operators.test [moved from lld/test/ELF/linkerscript/operators.s with 68% similarity]