AMDGPU: Allow f16/bf16 for DS_READ_TR16_B64 gfx950 builtins (#118297)
[llvm-project.git] / lld / test / ELF / linkerscript / version-linker-symbol.s
blobbe6c4fcf2f80443b25744f9764d59fb316a8e792
1 # REQUIRES: x86
3 # RUN: echo "VER1 { global: _end; foo ; local: * ; } ;" > %t.script
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
5 # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so
6 # RUN: llvm-readobj --dyn-syms %t.so | FileCheck %s
8 # CHECK: Name: foo@@VER1
9 # CHECK-NEXT: Value: 0
10 # CHECK-NEXT: Size: 0
11 # CHECK-NEXT: Binding: Global
12 # CHECK-NEXT: Type: None
13 # CHECK-NEXT: Other: 0
14 # CHECK-NEXT: Section: .text
16 # CHECK: Name: _end@@VER1
17 # CHECK-NEXT: Value: 0
18 # CHECK-NEXT: Size: 0
19 # CHECK-NEXT: Binding: Global
20 # CHECK-NEXT: Type: None
21 # CHECK-NEXT: Other: 0
22 # CHECK-NEXT: Section: .data
24 .global foo
25 foo:
26 .data
27 .quad _end
28 .quad foo