1// REQUIRES: aarch64
2// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs
3// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t
4// RUN: not ld.lld %tabs %t -o /dev/null 2>&1 | FileCheck %s
5
6.globl _start
7_start:
8adr x0, big
9
10#CHECK: R_AARCH64_ADR_PREL_LO21 out of range
11