Mercurial > hg > CbC > CbC_llvm
annotate lld/test/ELF/mips-micro-bad-cross-calls.s @ 192:d7606dcf6fce
Added tag llvm10 for changeset 0572611fdcc8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 18:01:34 +0900 |
parents | 0572611fdcc8 |
children |
rev | line source |
---|---|
150 | 1 # REQUIRES: mips |
2 # Check error message for invalid cross-mode branch instructions. | |
3 | |
4 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux \ | |
5 # RUN: %S/Inputs/mips-dynamic.s -o %t2.o | |
6 # RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t1.o | |
173 | 7 # RUN: not ld.lld -o /dev/null %t1.o %t2.o 2>&1 | FileCheck %s |
150 | 8 |
9 # CHECK: (.text+0x0): unsupported jump/branch instruction between ISA modes referenced by R_MICROMIPS_PC10_S1 relocation | |
10 | |
11 .text | |
12 .set micromips | |
13 .global __start | |
14 __start: | |
15 b16 foo0 |