[mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI
[oota-llvm.git] / test / MC / Mips / micromips-func-addr.s
1 # RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \
2 # RUN: -mattr=micromips | llvm-readobj -r \
3 # RUN: | FileCheck %s -check-prefix=CHECK
4 # CHECK: Relocations [
5 # CHECK:     0x0 R_MIPS_32 bar 0x0
6 # CHECK:     0x4 R_MIPS_32 L1 0x0
7
8   .set    micromips
9   .type   bar,@function
10 bar:
11 L1:
12   nop
13   .data
14   .4byte bar 
15   .4byte L1 
16