Elf64_Xword
+sizeof(Elf64_Addr)+sizeof(Elf64_Xword)+0 },
[ELF_T_XWORD] = { .fsz64 = sizeof(Elf64_Xword) },
#define SWAP_XWORD(X) _SWAP_WORD64(X, Elf64_Xword)
#define READ_XWORD(P,X) _READ_WORD64(P, X, Elf64_Xword)
Elf64_Xword t, *d = (Elf64_Xword *) (uintptr_t) dst;
if (dsz < count * sizeof(Elf64_Xword))
d->sh_flags = (Elf64_Xword) sh32->sh_flags;
d->sh_size = (Elf64_Xword) sh32->sh_size;
d->sh_addralign = (Elf64_Xword) sh32->sh_addralign;
d->sh_entsize = (Elf64_Xword) sh32->sh_entsize;
dst->st_size = (Elf64_Xword) sym32->st_size;
Elf64_Xword c_tag; /* Type of entry. */
Elf64_Xword c_val; /* Integer value. */
Elf64_Xword d_val; /* Integer value. */
Elf64_Xword p_filesz; /* Size of segment in file. */
Elf64_Xword p_memsz; /* Size of segment in memory. */
Elf64_Xword p_align; /* Alignment constraints. */
Elf64_Xword m_info; /* Encoded size and index. */
Elf64_Xword m_poffset; /* Offset relative to symbol. */
Elf64_Xword sh_flags; /* section flags */
Elf64_Xword sh_size; /* section size in bytes */
Elf64_Xword sh_addralign; /* alignment constraint */
Elf64_Xword sh_entsize; /* size for fixed-size entries */
Elf64_Xword st_size; /* size of associated data */
Elf64_Xword r_info; /* type+section for relocation */
Elf64_Xword r_info; /* type+section for relocation */
[ELF_T_XWORD] = { .msz64 = sizeof(Elf64_Xword) },
[ELF_T_CAP] = { .fsz64 = sizeof(Elf64_Xword)+sizeof(Elf64_Xword)+0 },
[ELF_T_DYN] = { .fsz64 = sizeof(Elf64_Sxword)+sizeof(Elf64_Xword)+0 },
[ELF_T_MOVE] = { .fsz64 = sizeof(Elf64_Lword)+sizeof(Elf64_Xword)
+sizeof(Elf64_Xword)+sizeof(Elf64_Half)
+sizeof(Elf64_Addr)+sizeof(Elf64_Xword)
+sizeof(Elf64_Xword)+sizeof(Elf64_Xword)+0 },
[ELF_T_REL] = { .fsz64 = sizeof(Elf64_Addr)+sizeof(Elf64_Xword)+0 },
[ELF_T_RELA] = { .fsz64 = sizeof(Elf64_Addr)+sizeof(Elf64_Xword)
+sizeof(Elf64_Xword)+sizeof(Elf64_Addr)
+sizeof(Elf64_Off)+ sizeof(Elf64_Xword)
+sizeof(Elf64_Xword)+sizeof(Elf64_Xword)+0 },
Elf64_Xword sh_addralign; /* Alignment in bytes. */
Elf64_Xword sh_entsize; /* Size of each entry in section. */
Elf64_Xword p_filesz; /* Size of contents in file. */
Elf64_Xword p_memsz; /* Size of contents in memory. */
Elf64_Xword p_align; /* Alignment in memory and file. */
Elf64_Xword d_val; /* Integer value. */
Elf64_Xword r_info; /* Relocation type and symbol index. */
Elf64_Xword r_info; /* Relocation type and symbol index. */
#define ELF64_R_TYPE_DATA(info) (((Elf64_Xword)(info)<<32)>>40)
#define ELF64_R_TYPE_ID(info) (((Elf64_Xword)(info)<<56)>>56)
(((Elf64_Xword)(data)<<8)+(Elf64_Xword)(type))
Elf64_Xword m_info; /* size + index */
Elf64_Xword m_poffset; /* symbol offset */
Elf64_Xword c_tag; /* how to interpret value */
Elf64_Xword c_val;
Elf64_Xword st_size; /* Size of associated object. */
typedef Elf64_Xword Elf64_Size;
Elf64_Xword sh_flags; /* Section flags. */
Elf64_Xword sh_size; /* Size in bytes. */