Home | History | Annotate | Download | only in Mips
      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 ; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips4 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s
     11 ; RUN: llc -filetype=asm -mtriple mips64el-unknown-linux -mcpu=mips64 -relocation-model=static %s -o - | FileCheck -check-prefix=CHECK-PIC %s
     12 
     13 ; CHECK-STATIC: .abicalls
     14 ; CHECK-STATIC-NEXT: pic0
     15 ; CHECK-PIC: .abicalls
     16 ; CHECK-PIC-NOT: pic0
     17