[llvm] Do not replace dead constant references in metadata with undef
[llvm-project.git] / lld / test / ELF / riscv-reloc-align.s
blob5103066caa3746dc645a6d7b64516b498ecb5368
1 # REQUIRES: riscv
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
6 # CHECK: relocation R_RISCV_ALIGN requires unimplemented linker relaxation
8 .global _start
9 _start:
10 nop
11 .balign 8
12 nop