llvm-project/lld/test/old-elf/Mips/interpreter-n32.test

28 lines
677 B
Plaintext

# Check program interpreter setup in case of N32 ABI.
# RUN: yaml2obj -format=elf %s > %t.o
# RUN: lld -flavor old-gnu -target mipsel -o %t.exe %t.o
# RUN: llvm-objdump -s %t.exe | FileCheck %s
# CHECK: Contents of section .interp:
# CHECK-NEXT: {{[0-9a-f ]+}} /lib32/ld.so.1.
FileHeader:
Class: ELFCLASS32
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_MIPS
Flags: [ EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_ARCH_64, EF_MIPS_ABI2 ]
Sections:
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
AddressAlign: 16
Size: 8
Symbols:
Global:
- Name: __start
Section: .text