2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3 # RUN: ld.lld -r %t.o -o %t1
4 # RUN: llvm-readobj --symbols %t1 | FileCheck --check-prefix=RELOCATABLE %s
6 # RELOCATABLE: Name: foo
7 # RELOCATABLE-NEXT: Value: 0x0
8 # RELOCATABLE-NEXT: Size: 0
9 # RELOCATABLE-NEXT: Binding: Global
10 # RELOCATABLE-NEXT: Type: None
11 # RELOCATABLE-NEXT: Other [
12 # RELOCATABLE-NEXT: STV_HIDDEN
14 # RELOCATABLE-NEXT: Section: Undefined