File: mips-options.test

package info (click to toggle)
llvm-toolchain-3.7 1%3A3.7.1-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 345,556 kB
  • ctags: 362,199
  • sloc: cpp: 2,156,381; ansic: 458,339; objc: 91,547; python: 89,988; asm: 86,305; sh: 21,479; makefile: 6,853; perl: 5,601; ml: 5,458; pascal: 3,933; lisp: 2,429; xml: 686; cs: 239; php: 202; csh: 117
file content (22 lines) | stat: -rw-r--r-- 1,104 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Check DT_MIPS_OPTIONS .dynamic section tag reading

RUN: llvm-readobj -dynamic-table %p/Inputs/mips-options.elf-mips64el | \
RUN:   FileCheck %s

CHECK:      DynamicSection [ (14 entries)
CHECK-NEXT:   Tag                Type                 Name/Value
CHECK-NEXT:   0x0000000000000004 HASH                 0x158
CHECK-NEXT:   0x0000000000000005 STRTAB               0x1C0
CHECK-NEXT:   0x0000000000000006 SYMTAB               0x178
CHECK-NEXT:   0x000000000000000A STRSZ                7 (bytes)
CHECK-NEXT:   0x000000000000000B SYMENT               24 (bytes)
CHECK-NEXT:   0x0000000070000001 MIPS_RLD_VERSION     1
CHECK-NEXT:   0x0000000070000005 MIPS_FLAGS           NOTPOT 
CHECK-NEXT:   0x0000000070000006 MIPS_BASE_ADDRESS    0x0
CHECK-NEXT:   0x000000007000000A MIPS_LOCAL_GOTNO     2
CHECK-NEXT:   0x0000000070000011 MIPS_SYMTABNO        3
CHECK-NEXT:   0x0000000070000013 MIPS_GOTSYM          0x3
CHECK-NEXT:   0x0000000000000003 PLTGOT               0x2000
CHECK-NEXT:   0x0000000070000029 MIPS_OPTIONS         0x1000
CHECK-NEXT:   0x0000000000000000 NULL                 0x0
CHECK-NEXT: ]