1# REQUIRES: x86 2 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 9# CHECK-NEXT: Size: 0 10# CHECK-NEXT: Binding: Local (0x0) 11# CHECK-NEXT: Type: None (0x0) 12# CHECK-NEXT: Other [ (0x2) 13# CHECK-NEXT: STV_HIDDEN (0x2) 14# CHECK-NEXT: ] 15# CHECK-NEXT: Section: .text (0x1) 16 17.text 18.global __ehdr_start, _start 19_start: 20 .quad __ehdr_start 21