reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
# REQUIRES: mips
# Check EI_ABIVERSION flags

# RUN: llvm-mc -filetype=obj -triple=mips-unknown-linux %s -o %t.o
# RUN: ld.lld -shared -o %t.so %t.o
# RUN: llvm-readobj -h %t.so | FileCheck -check-prefix=DSO %s
# RUN: ld.lld -o %t.exe %t.o
# RUN: llvm-readobj -h %t.exe | FileCheck -check-prefix=EXE %s
# RUN: ld.lld -pie -o %t.pie %t.o
# RUN: llvm-readobj -h %t.pie | FileCheck -check-prefix=PIE %s
# RUN: ld.lld -r -o %t.rel %t.o
# RUN: llvm-readobj -h %t.rel | FileCheck -check-prefix=REL %s

# DSO: ABIVersion: 0
# EXE: ABIVersion: 1
# PIE: ABIVersion: 0
# REL: ABIVersion: 0

  .global __start
  .text
__start:
  nop