1# REQUIRES: riscv 2 3# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax %s -o %t.o 4# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s 5 6# CHECK: relocation R_RISCV_ALIGN requires unimplemented linker relaxation 7 8.global _start 9_start: 10 nop 11 .balign 8 12 nop 13