summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/ehdr_start.s
blob: e605df59af10e9bce4ac04b93e769062f723ffc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: x86

# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-objdump -t %t | FileCheck %s
# CHECK: 0000000000010040 *ABS* 00000000 .hidden __ehdr_start

.text
.global _start, __ehdr_start
_start:
	.quad __ehdr_start
OpenPOWER on IntegriCloud