]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/symver-archive.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / symver-archive.s
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1
3 # RUN: rm -f %t.a
4 # RUN: llvm-ar rcs %t.a %t1
5 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/symver-archive1.s -o %t2.o
6 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/symver-archive2.s -o %t3.o
7 # RUN: ld.lld -o /dev/null %t2.o %t3.o %t.a
8
9 .text
10 .globl x
11 .type x, @function
12 x:
13
14 .globl xx
15 xx = x