mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
25547ee83c
Differential Revision: http://reviews.llvm.org/D6796 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225008 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
337 B
ArmAsm
17 lines
337 B
ArmAsm
# RUN: llvm-mc %s -filetype=obj -triple=mipsel-unknown-linux \
|
|
# RUN: -mattr=micromips | llvm-readobj -r \
|
|
# RUN: | FileCheck %s -check-prefix=CHECK
|
|
# 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
|
|
|