Mips ELF: Mark object file as ABI compliant
[oota-llvm.git] / test / MC / Mips / abicalls.ll
1
2 ; When the assembler is ready a .s file for it will
3 ; be created.
4
5 ; Note that EF_MIPS_CPIC is set by -mabicalls which is the default on Linux
6 ; TODO need to support -mno-abicalls
7
8 ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-STATIC %s
9 ; RUN: llc -filetype=asm -mtriple mipsel-unknown-linux -mcpu=mips32 %s -o - | FileCheck -check-prefix=CHECK-PIC %s
10 ; CHECK-STATIC: .abicalls
11 ; CHECK-STATIC-NEXT: pic0
12 ; CHECK-PIC: .abicalls
13 ; CHECK-PIC-NOT: pic0