• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Check DT_MIPS_OPTIONS .dynamic section tag reading
2
3RUN: llvm-readobj -dynamic-table %p/Inputs/mips-options.elf-mips64el | \
4RUN:   FileCheck %s
5
6CHECK:      DynamicSection [ (14 entries)
7CHECK-NEXT:   Tag                Type                 Name/Value
8CHECK-NEXT:   0x0000000000000004 HASH                 0x158
9CHECK-NEXT:   0x0000000000000005 STRTAB               0x1C0
10CHECK-NEXT:   0x0000000000000006 SYMTAB               0x178
11CHECK-NEXT:   0x000000000000000A STRSZ                7 (bytes)
12CHECK-NEXT:   0x000000000000000B SYMENT               24 (bytes)
13CHECK-NEXT:   0x0000000070000001 MIPS_RLD_VERSION     1
14CHECK-NEXT:   0x0000000070000005 MIPS_FLAGS           NOTPOT
15CHECK-NEXT:   0x0000000070000006 MIPS_BASE_ADDRESS    0x0
16CHECK-NEXT:   0x000000007000000A MIPS_LOCAL_GOTNO     2
17CHECK-NEXT:   0x0000000070000011 MIPS_SYMTABNO        3
18CHECK-NEXT:   0x0000000070000013 MIPS_GOTSYM          0x3
19CHECK-NEXT:   0x0000000000000003 PLTGOT               0x2000
20CHECK-NEXT:   0x0000000070000029 MIPS_OPTIONS         0x1000
21CHECK-NEXT:   0x0000000000000000 NULL                 0x0
22CHECK-NEXT: ]
23