21 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o4# RUN: echo "SECTIONS { }" > %t.script5# RUN: ld.lld %t.o -script %t.script -o %t6# RUN: llvm-readobj --symbols %t | FileCheck %s7# CHECK: Name: __ehdr_start (1)8# CHECK-NEXT: Value: 0x09# CHECK-NEXT: Size: 010# 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.text18.global __ehdr_start, _start19_start:20 .quad __ehdr_start21