view test/MC/Mips/micromips-func-addr.s @ 120:1172e4bd9c6f

update 4.0.0
author mir3636
date Fri, 25 Nov 2016 19:14:25 +0900
parents 60c9769439b8
children
line wrap: on
line source

# RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \
# RUN: -mattr=micromips | llvm-readobj -r \
# RUN: | FileCheck %s
# CHECK: Relocations [
# CHECK:     0x0 R_MIPS_32 bar 0x0
# CHECK:     0x4 R_MIPS_32 L1 0x0

  .set    micromips
  .type   bar,@function
bar:
L1:
  nop
  .data
  .4byte bar 
  .4byte L1