xref: /llvm-project-15.0.7/lld/test/ELF/linkerscript/ehdr_start.s (revision 052d95a6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026