diff options
Diffstat (limited to 'lld/test/elf2/x86-64-reloc-32S-error.s')
| -rw-r--r-- | lld/test/elf2/x86-64-reloc-32S-error.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lld/test/elf2/x86-64-reloc-32S-error.s b/lld/test/elf2/x86-64-reloc-32S-error.s new file mode 100644 index 00000000000..f8eaf670148 --- /dev/null +++ b/lld/test/elf2/x86-64-reloc-32S-error.s @@ -0,0 +1,7 @@ +// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t +// RUN: not ld.lld2 -shared %t -o %t2 2>&1 | FileCheck %s +// REQUIRES: x86 + + movq _start - 0x1000000000000, %rdx + +#CHECK: R_X86_64_32S out of range |

