2018-06-27 06:20:04 +08:00
|
|
|
// REQUIRES: aarch64
|
2015-10-08 07:15:22 +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-07-03 01:48:23 +08:00
|
|
|
// RUN: not ld.lld %tabs %t -o /dev/null 2>&1 | FileCheck %s
|
2015-10-08 07:15:22 +08:00
|
|
|
|
2015-12-05 14:20:24 +08:00
|
|
|
.globl _start
|
|
|
|
_start:
|
2015-10-08 07:15:22 +08:00
|
|
|
adrp x0, big
|
|
|
|
|
|
|
|
#CHECK: R_AARCH64_ADR_PREL_PG_HI21 out of range
|