summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/riscv-reloc-align.s
blob: 5103066caa3746dc645a6d7b64516b498ecb5368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# REQUIRES: riscv

# RUN: llvm-mc -filetype=obj -triple=riscv32 -mattr=+relax %s -o %t.o
# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s

# CHECK: relocation R_RISCV_ALIGN requires unimplemented linker relaxation

.global _start
_start:
    nop
    .balign 8
    nop
OpenPOWER on IntegriCloud