1# RUN: llvm-mc -filetype=obj -triple riscv32 -mattr=-relax < %s \ 2# RUN: | llvm-readobj -r - | FileCheck %s 3 4# Check that .option relax overrides -mno-relax and enables R_RISCV_ALIGN 5# relocations. 6# CHECK: R_RISCV_ALIGN 7 .option relax 8 .align 4 9