4 # a) Object file contains R_MIPS_26 relocation refers to the microMIPS symbol.
6 # a) PLT contains a regular non-compressed entry.
9 # RUN: yaml2obj -format=elf -docnum 1 %s > %t.so.o
10 # RUN: lld -flavor gnu -target mipsel -shared -o %t.so %t.so.o
13 # RUN: yaml2obj -format=elf -docnum 2 %s > %t.o.o
14 # RUN: lld -flavor gnu -target mipsel -e T0 -o %t.exe %t.o.o %t.so
15 # RUN: llvm-objdump -s %t.exe | FileCheck %s
17 # FIXME (simon): Check the disassembler output when llvm-objdump starts
18 # to support microMIPS instruction encoding.
20 # CHECK: Contents of section .plt:
21 # CHECK-NEXT: 400170 40001c3c 0020998f 00209c27 23c01c03 @..<. ... .'#...
22 # CHECK-NEXT: 400180 2178e003 82c01800 09f82003 feff1827 !x........ ....'
23 # CHECK-NEXT: 400190 40000f3c 0820f98d 08002003 0820f825 @..<. .... .. .%
32 Flags: [EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_ABI_O32,
33 EF_MIPS_ARCH_32R2, EF_MIPS_MICROMIPS]
40 Flags: [SHF_EXECINSTR, SHF_ALLOC]
49 Other: [STO_MIPS_MICROMIPS]
58 Flags: [EF_MIPS_CPIC, EF_MIPS_ABI_O32,
59 EF_MIPS_ARCH_32R2, EF_MIPS_MICROMIPS]
64 Content: "0000000C00000000"
66 Flags: [SHF_EXECINSTR, SHF_ALLOC]