diff options
Diffstat (limited to 'test/ELF/ppc64-addr16-error.s')
-rw-r--r-- | test/ELF/ppc64-addr16-error.s | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ELF/ppc64-addr16-error.s b/test/ELF/ppc64-addr16-error.s index 57a919a9b338..2bc8ef2ae4d7 100644 --- a/test/ELF/ppc64-addr16-error.s +++ b/test/ELF/ppc64-addr16-error.s @@ -1,7 +1,8 @@ // RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t -// RUN: not ld.lld -shared %t -o %t2 2>&1 | FileCheck %s +// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %p/Inputs/ppc64-addr16-error.s -o %t2 +// RUN: not ld.lld -shared %t %t2 -o %t3 2>&1 | FileCheck %s // REQUIRES: ppc .short sym+65539 -// CHECK: Relocation R_PPC64_ADDR16 out of range +// CHECK: relocation R_PPC64_ADDR16 out of range |