diff options
Diffstat (limited to 'lld/test/elf2/incompatible.s')
| -rw-r--r-- | lld/test/elf2/incompatible.s | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lld/test/elf2/incompatible.s b/lld/test/elf2/incompatible.s index 61e89cf514a..46a8df1433a 100644 --- a/lld/test/elf2/incompatible.s +++ b/lld/test/elf2/incompatible.s @@ -1,5 +1,6 @@ // RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %ta.o // RUN: llvm-mc -filetype=obj -triple=i686-unknown-linux %s -o %tb.o +// RUN: lld -flavor gnu2 -shared %tb.o -o %ti686.so // RUN: llvm-mc -filetype=obj -triple=arm-unknown-linux %s -o %tc.o // RUN: not lld -flavor gnu2 %ta.o %tb.o -o %t 2>&1 | \ @@ -10,17 +11,16 @@ // RUN: FileCheck --check-prefix=B-AND-C %s // B-AND-C: b.o is incompatible with {{.*}}c.o -// FIMME: create the .so ourselves once we are able to -// RUN: not lld -flavor gnu2 %ta.o %p/Inputs/i686-simple-library.so -o %t 2>&1 | \ +// RUN: not lld -flavor gnu2 %ta.o %ti686.so -o %t 2>&1 | \ // RUN: FileCheck --check-prefix=A-AND-SO %s -// A-AND-SO: a.o is incompatible with {{.*}}/Inputs/i686-simple-library.so +// A-AND-SO: a.o is incompatible with {{.*}}i686.so -// RUN: not lld -flavor gnu2 %tc.o %p/Inputs/i686-simple-library.so -o %t 2>&1 | \ +// RUN: not lld -flavor gnu2 %tc.o %ti686.so -o %t 2>&1 | \ // RUN: FileCheck --check-prefix=C-AND-SO %s -// C-AND-SO: c.o is incompatible with {{.*}}/Inputs/i686-simple-library.so +// C-AND-SO: c.o is incompatible with {{.*}}i686.so -// RUN: not lld -flavor gnu2 %p/Inputs/i686-simple-library.so %tc.o -o %t 2>&1 | \ +// RUN: not lld -flavor gnu2 %ti686.so %tc.o -o %t 2>&1 | \ // RUN: FileCheck --check-prefix=SO-AND-C %s -// SO-AND-C: /Inputs/i686-simple-library.so is incompatible with {{.*}}c.o +// SO-AND-C: i686.so is incompatible with {{.*}}c.o // REQUIRES: x86,arm |

