Compute A-B when A or B is weak.
[oota-llvm.git] / test / MC / Mips / micromips-el-fixup-data.s
1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
2 # RUN:   -mattr=+micromips 2>&1 -filetype=obj > %t.o
3 # RUN: llvm-objdump %t.o -triple mipsel -mattr=+micromips -d | FileCheck %s
4
5 # Check that fixup data is written in the microMIPS specific little endian
6 # byte order.
7
8     .text
9     .globl  main
10     .align  2
11     .type   main,@function
12     .set    micromips
13     .set    nomips16
14     .ent    main
15 main:
16     addiu   $sp, $sp, -16
17     bnez    $9, lab1
18
19 # CHECK:    09 b4 04 00    bne $9, $zero, 8
20
21     addu    $zero, $zero, $zero
22 lab1:
23     jr  $ra
24     addiu   $sp, $sp, 16
25     .end    main