llvm-project/lld/test/ELF/aarch64-call26-error.s

12 lines
305 B
ArmAsm

// 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
// RUN: not ld.lld %t %tabs -o %t2 2>&1 | FileCheck %s
// REQUIRES: aarch64
.text
.globl _start
_start:
bl big
// CHECK: R_AARCH64_CALL26 out of range