mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +00:00
This handles only the 32 bit case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238751 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
285 B
ArmAsm
11 lines
285 B
ArmAsm
// RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux < %s | llvm-readobj -r | FileCheck %s
|
|
|
|
// Test that we produce the correct relocation.
|
|
// FIXME: move more relocation only tests here.
|
|
|
|
.long foo
|
|
// CHECK: R_MIPS_32 foo
|
|
|
|
.long foo-.
|
|
// CHECK: R_MIPS_PC32 foo
|