ELF Header: Magic: 7f 454c 46020101000000000000000000 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: REL (Relocatable file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x0 Start of program headers: 0 (bytes into file) Start of section headers: 1000 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 0 (bytes) Number of program headers: 0 Size of section headers: 64 (bytes) Number of section headers: 15 Section header string table index: 14
There are15 section headers, starting atoffset0x3e8: Section Headers: [Nr] Name Type Address Offset Size EntSize Flags Link Info Align [ 0] NULL00000000000000000000000000000000000000000000000000000000000 [ 1] .text PROGBITS 000000000000000000000040000000000000003e 0000000000000000 AX 001 [ 2] .rela.text RELA 00000000000000000000031000000000000000180000000000000018 I 1218 [ 3] .data PROGBITS 00000000000000000000008000000000000000050000000000000000 WA 004 [ 4] .bss NOBITS 00000000000000000000008800000000000000050000000000000000 WA 004 [ 5] .rodata PROGBITS 00000000000000000000008800000000000000070000000000000000 A 001 [ 6] .data.rel.local PROGBITS 00000000000000000000009000000000000000080000000000000000 WA 008 [ 7] .rela.data.rel.lo RELA 00000000000000000000032800000000000000180000000000000018 I 1268 [ 8] .comment PROGBITS 000000000000000000000098000000000000002a 0000000000000001 MS 001 [ 9] .note.GNU-stack PROGBITS 0000000000000000000000c2 00000000000000000000000000000000001 [10] .eh_frame PROGBITS 0000000000000000000000c8 00000000000000580000000000000000 A 008 [11] .rela.eh_frame RELA 00000000000000000000034000000000000000300000000000000018 I 12108 [12] .symtab SYMTAB 0000000000000000000001200000000000000198000000000000001813128 [13] .strtab STRTAB 0000000000000000000002b8 00000000000000510000000000000000001 [14] .shstrtab STRTAB 00000000000000000000037000000000000000760000000000000000001 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), I (info), L (link order), O (extra OS processing required), G (group), T (TLS), C (compressed), x (unknown), o (OS specific), E (exclude), l (large), p (processor specific)
Relocation section '.rela.text'atoffset0x310contains1 entry: Offset Info Type Sym. Value Sym. Name + Addend 000000000033000c00000002 R_X86_64_PC32 0000000000000000 _Z3addii -4
Relocation section '.rela.data.rel.local'atoffset0x328contains1 entry: Offset Info Type Sym. Value Sym. Name + Addend 000000000000000500000001 R_X86_64_64 0000000000000000 .rodata +0
Relocation section '.rela.eh_frame'atoffset0x340contains2 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000000020000200000002 R_X86_64_PC32 0000000000000000 .text +0 000000000040000200000002 R_X86_64_PC32 0000000000000000 .text +14