2018-08-05 05:47:16 +08:00
|
|
|
// REQUIRES: aarch64
|
2017-08-28 05:46:59 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %S/Inputs/abs.s -o %tabs
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=aarch64-pc-freebsd %s -o %t
|
2018-08-05 05:47:16 +08:00
|
|
|
// RUN: not ld.lld %tabs %t -o /dev/null 2>&1 | FileCheck %s
|
2017-08-28 05:46:59 +08:00
|
|
|
|
|
|
|
.globl _start
|
|
|
|
_start:
|
|
|
|
adr x0, big
|
|
|
|
|
|
|
|
#CHECK: R_AARCH64_ADR_PREL_LO21 out of range
|