1 // Check dynamic section tags in case of shared library file.
2 RUN: llvm-readobj -dynamic-table %p/Inputs/dynamic-table-so.mips \
3 RUN: | FileCheck %s -check-prefix ELF-MIPS
5 ELF-MIPS: Format: ELF32-mips
7 ELF-MIPS: AddressSize: 32bit
9 ELF-MIPS: DynamicSection [ (23 entries)
10 ELF-MIPS: Tag Type Name/Value
11 ELF-MIPS: 0x00000001 NEEDED SharedLibrary (libc.so.6)
12 ELF-MIPS: 0x0000000C INIT 0x528
13 ELF-MIPS: 0x0000000D FINI 0x860
14 ELF-MIPS: 0x00000004 HASH 0x210
15 ELF-MIPS: 0x00000005 STRTAB 0x3D8
16 ELF-MIPS: 0x00000006 SYMTAB 0x2A8
17 ELF-MIPS: 0x0000000A STRSZ 231 (bytes)
18 ELF-MIPS: 0x0000000B SYMENT 16 (bytes)
19 ELF-MIPS: 0x00000003 PLTGOT 0x108E0
20 ELF-MIPS: 0x00000011 REL 0x518
21 ELF-MIPS: 0x00000012 RELSZ 16 (bytes)
22 ELF-MIPS: 0x00000013 RELENT 8 (bytes)
23 ELF-MIPS: 0x70000001 MIPS_RLD_VERSION 1
24 ELF-MIPS: 0x70000005 MIPS_FLAGS 0x2
25 ELF-MIPS: 0x70000006 MIPS_BASE_ADDRESS 0x0
26 ELF-MIPS: 0x7000000A MIPS_LOCAL_GOTNO 10
27 ELF-MIPS: 0x70000011 MIPS_SYMTABNO 19
28 ELF-MIPS: 0x70000012 MIPS_UNREFEXTNO 26
29 ELF-MIPS: 0x70000013 MIPS_GOTSYM 0xD
30 ELF-MIPS: 0x6FFFFFFE VERNEED 0x4E8
31 ELF-MIPS: 0x6FFFFFFF VERNEEDNUM 1
32 ELF-MIPS: 0x6FFFFFF0 VERSYM 0x4C0
33 ELF-MIPS: 0x00000000 NULL 0x0