aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Mips/relocation.s
blob: 642b40960a6570f43033c0b5a0b62160c5179f20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// 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