summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/i386-linkonce.s
blob: c06b042c7638e409ed60ebd1a1db6209fefb69ce (plain)
1
2
3
4
5
6
7
8
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
OpenPOWER on IntegriCloud