2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
3 # RUN: echo -e '.globl foo\nfoo: ret' | \
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t2.o
6 # RUN: ld.lld -shared -o %t.so %t1.o --start-lib %t2.o
7 # RUN: llvm-readobj -dyn-symbols %t.so | FileCheck %s
10 # CHECK-NEXT: Value: 0x0
12 # CHECK-NEXT: Binding: Weak
13 # CHECK-NEXT: Type: None
14 # CHECK-NEXT: Other: 0
15 # CHECK-NEXT: Section: Undefined