1 # Check DT_MIPS_RLD_MAP_REL .dynamic section tag reading
3 RUN: llvm-readobj --dynamic-table %p/Inputs/mips-rld-map-rel.elf-mipsel | \
6 CHECK: DynamicSection [ (16 entries)
7 CHECK-NEXT: Tag Type Name/Value
8 CHECK-NEXT: 0x00000004 HASH 0x220
9 CHECK-NEXT: 0x00000005 STRTAB 0x2FC
10 CHECK-NEXT: 0x00000006 SYMTAB 0x25C
11 CHECK-NEXT: 0x0000000A STRSZ 72 (bytes)
12 CHECK-NEXT: 0x0000000B SYMENT 16 (bytes)
13 CHECK-NEXT: 0x70000035 MIPS_RLD_MAP_REL 0x101E0
14 CHECK-NEXT: 0x00000015 DEBUG 0x0
15 CHECK-NEXT: 0x00000003 PLTGOT 0x10390
16 CHECK-NEXT: 0x70000001 MIPS_RLD_VERSION 1
17 CHECK-NEXT: 0x70000005 MIPS_FLAGS NOTPOT
18 CHECK-NEXT: 0x70000006 MIPS_BASE_ADDRESS 0x0
19 CHECK-NEXT: 0x7000000A MIPS_LOCAL_GOTNO 2
20 CHECK-NEXT: 0x70000011 MIPS_SYMTABNO 10
21 CHECK-NEXT: 0x70000012 MIPS_UNREFEXTNO 15
22 CHECK-NEXT: 0x70000013 MIPS_GOTSYM 0xA
23 CHECK-NEXT: 0x00000000 NULL 0x0