[lld] r250556 - [elf2] Simplify and rename x86-64 relocation error tests.
Michael J. Spencer via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 15:05:52 PDT 2015
Author: mspencer
Date: Fri Oct 16 17:05:52 2015
New Revision: 250556
URL: http://llvm.org/viewvc/llvm-project?rev=250556&view=rev
Log:
[elf2] Simplify and rename x86-64 relocation error tests.
Added:
lld/trunk/test/elf2/x86-64-reloc-32-error.s
- copied, changed from r250555, lld/trunk/test/elf2/relocation-errors.s
lld/trunk/test/elf2/x86-64-reloc-32S-error.s
- copied, changed from r250555, lld/trunk/test/elf2/relocation-32S-error.s
Removed:
lld/trunk/test/elf2/relocation-32S-error.s
lld/trunk/test/elf2/relocation-errors.s
Removed: lld/trunk/test/elf2/relocation-32S-error.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/relocation-32S-error.s?rev=250555&view=auto
==============================================================================
--- lld/trunk/test/elf2/relocation-32S-error.s (original)
+++ lld/trunk/test/elf2/relocation-32S-error.s (removed)
@@ -1,9 +0,0 @@
-// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
-// RUN: not ld.lld2 %t -o %t2 2>&1 | FileCheck %s
-// REQUIRES: x86
-
-.global _start
-_start:
- movq _start - 0x1000000000000, %rdx
-
-#CHECK: R_X86_64_32S out of range
Removed: lld/trunk/test/elf2/relocation-errors.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/relocation-errors.s?rev=250555&view=auto
==============================================================================
--- lld/trunk/test/elf2/relocation-errors.s (original)
+++ lld/trunk/test/elf2/relocation-errors.s (removed)
@@ -1,10 +0,0 @@
-// 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
-// REQUIRES: x86
-
-.global _start
-_start:
- movl $big, %edx
-
-#CHECK: R_X86_64_32 out of range
Copied: lld/trunk/test/elf2/x86-64-reloc-32-error.s (from r250555, lld/trunk/test/elf2/relocation-errors.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/x86-64-reloc-32-error.s?p2=lld/trunk/test/elf2/x86-64-reloc-32-error.s&p1=lld/trunk/test/elf2/relocation-errors.s&r1=250555&r2=250556&rev=250556&view=diff
==============================================================================
--- lld/trunk/test/elf2/relocation-errors.s (original)
+++ lld/trunk/test/elf2/x86-64-reloc-32-error.s Fri Oct 16 17:05:52 2015
@@ -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
Copied: lld/trunk/test/elf2/x86-64-reloc-32S-error.s (from r250555, lld/trunk/test/elf2/relocation-32S-error.s)
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/x86-64-reloc-32S-error.s?p2=lld/trunk/test/elf2/x86-64-reloc-32S-error.s&p1=lld/trunk/test/elf2/relocation-32S-error.s&r1=250555&r2=250556&rev=250556&view=diff
==============================================================================
--- lld/trunk/test/elf2/relocation-32S-error.s (original)
+++ lld/trunk/test/elf2/x86-64-reloc-32S-error.s Fri Oct 16 17:05:52 2015
@@ -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
More information about the llvm-commits
mailing list