[mips][microMIPS] Implement ERET and ERETNC instructions
[oota-llvm.git] / test / MC / Mips / relocation.s
1 // RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux < %s | llvm-readobj -r | FileCheck  %s
2
3 // Test that we produce the correct relocation.
4 // FIXME: move more relocation only tests here.
5
6         .long foo
7 // CHECK: R_MIPS_32 foo
8
9         .long foo-.
10 // CHECK: R_MIPS_PC32 foo