// RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o - | \
// RUN: llvm-readobj -r - | FileCheck %s
.section .data
this:
.word this@GOTPCREL
.word extern_sym@GOTPCREL+4
.word negative_offset@GOTPCREL-4
// CHECK: Section ({{.*}}) .rela.data
// CHECK-NEXT: 0x0 R_AARCH64_GOTPCREL32 this 0x0
// CHECK-NEXT: 0x4 R_AARCH64_GOTPCREL32 extern_sym 0x4
// CHECK-NEXT: 0x8 R_AARCH64_GOTPCREL32 negative_offset 0xFFFFFFFFFFFFFFFC
// CHECK-NEXT: }