zig/deps/lld/test/ELF/aarch64-got.s
Andrew Kelley 4794281d64 embed LLD 5.0.0
This is 48aaa9f66120f72b5d7e4a90b32fee40a3386ce9 from the
git monorepo.
2017-08-27 17:46:59 -04:00

19 lines
338 B
ArmAsm

# REQUIRES: aarch64
# RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-readobj -s %t | FileCheck %s
# CHECK-NOT: Name: .got
.globl _start
_start:
adrp x0, :gottprel:foo
.global foo
.section .tdata,"awT",%progbits
.align 2
.type foo, %object
.size foo, 4
foo:
.word 5