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: not ld.lld %t.o -script %t.script -o %t 2>&1 | FileCheck %s 6# CHECK: error: {{.*}}:(.text+0x0): undefined symbol '__ehdr_start' 7 8.text 9.global _start, __ehdr_start 10_start: 11 .quad __ehdr_start 12