You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
3.9 KiB

# RUN: yaml2obj %s -o %t
# RUN: llvm-objdump -p %t | FileCheck %s
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
Sections:
- Name: .dynamic
Type: SHT_DYNAMIC
Flags: [ SHF_WRITE, SHF_ALLOC ]
EntSize: 0x0000000000000010
Entries:
- Tag: DT_INIT
Value: 0x00000000000006A0
- Tag: DT_FINI
Value: 0x0000000000000924
- Tag: DT_INIT_ARRAY
Value: 0x0000000000200DA8
- Tag: DT_INIT_ARRAYSZ
Value: 0x0000000000000010
- Tag: DT_FINI_ARRAY
Value: 0x0000000000200DB8
- Tag: DT_FINI_ARRAYSZ
Value: 0x0000000000000008
- Tag: DT_GNU_HASH
Value: 0x0000000000000298
- Tag: DT_STRTAB
Value: 0x00000000000003C8
- Tag: DT_SYMTAB
Value: 0x00000000000002C0
- Tag: DT_STRSZ
Value: 0x000000000000012F
- Tag: DT_SYMENT
Value: 0x0000000000000018
- Tag: DT_DEBUG
Value: 0x0000000000000000
- Tag: DT_PLTGOT
Value: 0x0000000000201000
- Tag: DT_PLTRELSZ
Value: 0x0000000000000048
- Tag: DT_PLTREL
Value: 0x0000000000000007
- Tag: DT_JMPREL
Value: 0x0000000000000658
- Tag: DT_RELA
Value: 0x0000000000000550
- Tag: DT_RELASZ
Value: 0x0000000000000108
- Tag: DT_RELAENT
Value: 0x0000000000000018
- Tag: DT_FLAGS_1
Value: 0x0000000008000000
- Tag: DT_VERNEED
Value: 0x0000000000000510
- Tag: DT_VERNEEDNUM
Value: 0x0000000000000002
- Tag: DT_VERSYM
Value: 0x00000000000004F8
- Tag: DT_RELACOUNT
Value: 0x0000000000000004
- Tag: DT_RELRSZ
Value: 0x0000000000000014
- Tag: DT_RELR
Value: 0x0000000087654321
- Tag: DT_RELRENT
Value: 0x0000000000000010
- Tag: DT_NULL
Value: 0x0000000000000000
# CHECK: INIT 0x00000000000006a0
# CHECK: FINI 0x0000000000000924
# CHECK: INIT_ARRAY 0x0000000000200da8
# CHECK: INIT_ARRAYSZ 0x0000000000000010
# CHECK: FINI_ARRAY 0x0000000000200db8
# CHECK: FINI_ARRAYSZ 0x0000000000000008
# CHECK: GNU_HASH 0x0000000000000298
# CHECK: STRTAB 0x00000000000003c8
# CHECK: SYMTAB 0x00000000000002c0
# CHECK: STRSZ 0x000000000000012f
# CHECK: SYMENT 0x0000000000000018
# CHECK: DEBUG 0x0000000000000000
# CHECK: PLTGOT 0x0000000000201000
# CHECK: PLTRELSZ 0x0000000000000048
# CHECK: PLTREL 0x0000000000000007
# CHECK: JMPREL 0x0000000000000658
# CHECK: RELA 0x0000000000000550
# CHECK: RELASZ 0x0000000000000108
# CHECK: RELAENT 0x0000000000000018
# CHECK: FLAGS_1 0x0000000008000000
# CHECK: VERNEED 0x0000000000000510
# CHECK: VERNEEDNUM 0x0000000000000002
# CHECK: VERSYM 0x00000000000004f8
# CHECK: RELACOUNT 0x0000000000000004
# CHECK: RELRSZ 0x0000000000000014
# CHECK: RELR 0x0000000087654321
# CHECK: RELRENT 0x0000000000000010