1# REQUIRES: x86 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 5 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 13# RELOCATABLE-NEXT: ] 14# RELOCATABLE-NEXT: Section: Undefined 15 16.global _start 17_start: 18 callq foo 19 .hidden foo 20