3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: echo "SECTIONS { }" > %t.script
5 # RUN: ld.lld %t.o -script %t.script -o %t
6 # RUN: llvm-readobj --symbols %t | FileCheck %s
7 # CHECK: Name: __ehdr_start (1)
8 # CHECK-NEXT: Value: 0x0
10 # CHECK-NEXT: Binding: Local (0x0)
11 # CHECK-NEXT: Type: None (0x0)
12 # CHECK-NEXT: Other [ (0x2)
13 # CHECK-NEXT: STV_HIDDEN (0x2)
15 # CHECK-NEXT: Section: .text (0x1)
18 .global __ehdr_start, _start