mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-22 20:05:38 +00:00
b2d3b0af04
We use both -long-option and --long-option in tests. Switch to --long-option for consistency. In the "llvm-readelf" mode, -long-option is discouraged as it conflicts with grouped short options and it is not accepted by GNU readelf. While updating the tests, change llvm-readobj -s to llvm-readobj -S to reduce confusion ("s" is --section-headers in llvm-readobj but --symbols in llvm-readelf). llvm-svn: 359649
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
# Check DT_MIPS_RLD_MAP_REL .dynamic section tag reading
|
|
|
|
RUN: llvm-readobj --dynamic-table %p/Inputs/mips-rld-map-rel.elf-mipsel | \
|
|
RUN: FileCheck %s
|
|
|
|
CHECK: DynamicSection [ (16 entries)
|
|
CHECK-NEXT: Tag Type Name/Value
|
|
CHECK-NEXT: 0x00000004 HASH 0x220
|
|
CHECK-NEXT: 0x00000005 STRTAB 0x2FC
|
|
CHECK-NEXT: 0x00000006 SYMTAB 0x25C
|
|
CHECK-NEXT: 0x0000000A STRSZ 72 (bytes)
|
|
CHECK-NEXT: 0x0000000B SYMENT 16 (bytes)
|
|
CHECK-NEXT: 0x70000035 MIPS_RLD_MAP_REL 0x101E0
|
|
CHECK-NEXT: 0x00000015 DEBUG 0x0
|
|
CHECK-NEXT: 0x00000003 PLTGOT 0x10390
|
|
CHECK-NEXT: 0x70000001 MIPS_RLD_VERSION 1
|
|
CHECK-NEXT: 0x70000005 MIPS_FLAGS NOTPOT
|
|
CHECK-NEXT: 0x70000006 MIPS_BASE_ADDRESS 0x0
|
|
CHECK-NEXT: 0x7000000A MIPS_LOCAL_GOTNO 2
|
|
CHECK-NEXT: 0x70000011 MIPS_SYMTABNO 10
|
|
CHECK-NEXT: 0x70000012 MIPS_UNREFEXTNO 15
|
|
CHECK-NEXT: 0x70000013 MIPS_GOTSYM 0xA
|
|
CHECK-NEXT: 0x00000000 NULL 0x0
|
|
CHECK-NEXT: ]
|