xref: /llvm-project-15.0.7/lld/test/ELF/mips-align-err.s (revision 052d95a6)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: mips
2# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o \
3# RUN:         -mcpu=mips32r6
4# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \
5# RUN:         -mcpu=mips32r6 %S/Inputs/mips-align-err.s -o %t2.o
6# RUN: not ld.lld %t.o %t2.o -o %t.exe 2>&1 | FileCheck %s
7# CHECK: {{.*}}:(.text+0x1): improper alignment for relocation R_MIPS_PC16
8
9        .globl  __start
10__start:
11.zero 1
12        beqc      $5, $6, _foo            # R_MIPS_PC16
13

served by {OpenGrok

Last Index Update: Fri May 15 20:09:11 GMT 2026