llvm-project/llvm/test/MC/Mips/micromips-func-addr.s

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
311 B
ArmAsm
Raw Normal View History

# 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
# CHECK: 0x4 R_MIPS_32 L1
.set micromips
.type bar,@function
bar:
L1:
nop
.data
.4byte bar
.4byte L1