summaryrefslogtreecommitdiff
path: root/test/ELF/end-abs.s
blob: 2199ce23ad041be111d5f15cdec6f7defce9c343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t -pie
# RUN: llvm-readobj -r %t | FileCheck %s

# CHECK:      Relocations [
# CHECK-NEXT: ]

.global _start
_start:
.long _end - .