linux-packaging-mono/external/llvm/test/MC/Mips/micromips-func-addr.s
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

17 lines
317 B
ArmAsm

# 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