13 lines · plain
1# REQUIRES: mips2# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o \3# RUN: -mcpu=mips32r64# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \5# RUN: -mcpu=mips32r6 %S/Inputs/mips-align-err.s -o %t2.o6# RUN: not ld.lld %t.o %t2.o -o /dev/null 2>&1 | FileCheck %s7# CHECK: {{.*}}:(.text+0x1): improper alignment for relocation R_MIPS_PC16: 0xB is not aligned to 4 bytes8 9 .globl __start10__start:11.zero 112 beqc $5, $6, _foo # R_MIPS_PC1613