3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: echo "SECTIONS { }" > %t.script
5 # RUN: not ld.lld %t.o -script %t.script -o %t 2>&1 | FileCheck %s
6 # CHECK: error: {{.*}}:(.text+0x0): undefined symbol '__ehdr_start'
9 .global _start, __ehdr_start