diff options
Diffstat (limited to 'test/ELF/i386-linkonce.s')
-rw-r--r-- | test/ELF/i386-linkonce.s | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/ELF/i386-linkonce.s b/test/ELF/i386-linkonce.s new file mode 100644 index 000000000000..c06b042c7638 --- /dev/null +++ b/test/ELF/i386-linkonce.s @@ -0,0 +1,9 @@ +// REQUIRES: x86 +// RUN: llvm-mc -filetype=obj -triple=i386-linux-gnu %s -o %t.o +// RUN: llvm-mc -filetype=obj -triple=i386-linux-gnu %p/Inputs/i386-linkonce.s -o %t2.o +// RUN: llvm-ar rcs %t2.a %t2.o +// RUN: ld.lld %t.o %t2.a -o %t + + .globl _start +_start: + call _strchr1 |