diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2015-10-16 22:05:52 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2015-10-16 22:05:52 +0000 |
| commit | 7dccca543a5f29cee53e2fea8ed8abb56be90c3c (patch) | |
| tree | 2fec03643e31df10f91d2eb5efeb6c5c3be4213c | |
| parent | 6f97c2bc00208fbde954146104a8a8c7842e9b32 (diff) | |
| download | bcm5719-llvm-7dccca543a5f29cee53e2fea8ed8abb56be90c3c.tar.gz bcm5719-llvm-7dccca543a5f29cee53e2fea8ed8abb56be90c3c.zip | |
[elf2] Simplify and rename x86-64 relocation error tests.
llvm-svn: 250556
| -rw-r--r-- | lld/test/elf2/x86-64-reloc-32-error.s (renamed from lld/test/elf2/relocation-errors.s) | 4 | ||||
| -rw-r--r-- | lld/test/elf2/x86-64-reloc-32S-error.s (renamed from lld/test/elf2/relocation-32S-error.s) | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lld/test/elf2/relocation-errors.s b/lld/test/elf2/x86-64-reloc-32-error.s index 17fd700f3b9..24f52977439 100644 --- a/lld/test/elf2/relocation-errors.s +++ b/lld/test/elf2/x86-64-reloc-32-error.s @@ -1,10 +1,8 @@ // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t -// RUN: not ld.lld2 %tabs %t -o %t2 2>&1 | FileCheck %s +// RUN: not ld.lld2 -shared %tabs %t -o %t2 2>&1 | FileCheck %s // REQUIRES: x86 -.global _start -_start: movl $big, %edx #CHECK: R_X86_64_32 out of range diff --git a/lld/test/elf2/relocation-32S-error.s b/lld/test/elf2/x86-64-reloc-32S-error.s index 1c2c1d92eb3..f8eaf670148 100644 --- a/lld/test/elf2/relocation-32S-error.s +++ b/lld/test/elf2/x86-64-reloc-32S-error.s @@ -1,9 +1,7 @@ // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t -// RUN: not ld.lld2 %t -o %t2 2>&1 | FileCheck %s +// RUN: not ld.lld2 -shared %t -o %t2 2>&1 | FileCheck %s // REQUIRES: x86 -.global _start -_start: movq _start - 0x1000000000000, %rdx #CHECK: R_X86_64_32S out of range |

