llvm-6502/test/tools/llvm-readobj/dynamic.test
2014-01-05 13:40:17 +00:00

35 lines
1.5 KiB
Plaintext

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