llvm-project/lld/test/ELF/aarch64-relative.s

12 lines
279 B
ArmAsm
Raw Normal View History

// REQUIRES: aarch64
// RUN: llvm-mc -filetype=obj -triple=aarch64-unknown-freebsd %s -o %t.o
// RUN: ld.lld %t.o -o %t.so -shared
// RUN: llvm-readobj -r %t.so | FileCheck %s
.Lfoo:
.rodata
.long .Lfoo - .
// CHECK: Relocations [
// CHECK-NEXT: ]