Elf64_Word
Elf64_Word sh_type; /* Section type. */
Elf64_Word sh_link; /* Index of a related section. */
Elf64_Word sh_info; /* Depends on section type. */
Elf64_Word p_type; /* Entry type. */
Elf64_Word p_flags; /* Access permission flags. */
Elf64_Word st_name; /* String table index of name. */
Elf64_Word vd_hash;
Elf64_Word vd_aux;
Elf64_Word vd_next;
Elf64_Word vda_name;
Elf64_Word vda_next;
Elf64_Word vn_file;
Elf64_Word vn_aux;
Elf64_Word vn_next;
Elf64_Word vna_hash;
Elf64_Word vna_name;
Elf64_Word vna_next;
typedef Elf64_Word Elf64_Hashelt;
Elf64_Word e_version; /* ELF format version. */
Elf64_Word e_flags; /* Architecture-specific flags. */
Elf64_Word l_name; /* The name of a shared object. */
Elf64_Word l_time_stamp; /* 64-bit timestamp. */
Elf64_Word l_checksum; /* Checksum of visible symbols, sizes. */
Elf64_Word l_version; /* Interface version string index. */
Elf64_Word l_flags; /* Flags (LL_*). */
Elf64_Word sh_name; /* Section name (index into the
Elf64_Word symtabtype;
#define Elf_Word Elf64_Word
extern Elf64_Word elfedit64_type_to_shndx(elfedit64_obj_state_t *obj_state,
Elf64_Word shtype);
Elf64_Word sec_shndx;
Elf64_Word symt_shndx;
Elf64_Word symt_xshndx;
Elf64_Word symt_versym;
Elf64_Word symt_syminfo;
Elf64_Word os_dynndx;
Elf64_Word dn_ndx;
extern void elfedit64_dyn_elt_save(elfedit64_dyn_elt_t *elt, Elf64_Word ndx,
extern Elf64_Word elfedit64_dynstr_insert(elfedit64_section_t *dynsec,
extern Elf64_Word elfedit64_name_to_shndx(elfedit64_obj_state_t *obj_state,
Elf64_Word *ret_symndx);
Elf64_Word offset, elfedit_msg_t msg_type, int debug_msg);
extern int elfedit64_sec_findstr(elfedit64_section_t *sec, Elf64_Word tail_ign,
const char *str, Elf64_Word *ret_offset);
elfedit64_obj_state_t *obj_state, Elf64_Word shndx);
elfedit64_obj_state_t *obj_state, Elf64_Cap **cap, Elf64_Word *num);
elfedit64_obj_state_t *obj_state, Elf64_Dyn **dyn, Elf64_Word *num);
elfedit64_obj_state_t *obj_state, Elf64_Word shndx, int);
elfedit64_obj_state_t *obj_state, Elf64_Syminfo **syminfo, Elf64_Word *num);
elfedit64_obj_state_t *obj_state, int by_index, Elf64_Word index,
const char *name, Elf64_Sym **sym, Elf64_Word *num,
Elf64_Versym **versym, Elf64_Word *num);
Elf64_Word **xshndx, Elf64_Word *num);
Elf64_Word shndx);
extern Elf64_Word elfedit64_strtab_insert(elfedit64_obj_state_t *obj_state,
extern size_t _elf64_entsz(Elf *elf, Elf64_Word, unsigned);
extern Elf_Type _elf64_mtype(Elf *, Elf64_Word, unsigned);
Elf64_Word w;
dst->m_poffset = (Elf64_Word)m->m_poffset;
sizeof (Elf64_Word), /* ELF_T_SWORD */
sizeof (Elf64_Word), /* ELF_T_WORD */
sizeof (Elf64_Word) /* ELF_T_CAP */
Elf64_Word e_version; /* ELF format version. */
Elf64_Word e_flags; /* Architecture-specific flags. */
Elf64_Word p_type; /* Entry type. */
Elf64_Word p_flags; /* Access permission flags. */
typedef Elf64_Word GElf_Word;
extern void ld_input_section64(const char *, Elf64_Shdr **, Elf64_Word,
extern void ld_section64(const char *, Elf64_Shdr *, Elf64_Word,
Elf64_Word e_version;
Elf64_Word e_flags;
Elf64_Word e_phnum; /* phdr count extended to 32 bits */
Elf64_Word e_shnum; /* shdr count extended to 32 bits */
Elf64_Word e_shstrndx; /* shdr string index extended to 32 bits */
efp->e_hdr.e_phnum = (Elf64_Word)e64.e_phnum;
efp->e_hdr.e_shnum = (Elf64_Word)e64.e_shnum;
efp->e_hdr.e_shstrndx = (Elf64_Word)e64.e_shstrndx;
efp->e_hdr.e_phnum = (Elf64_Word)e32.e_phnum;
efp->e_hdr.e_shnum = (Elf64_Word)e32.e_shnum;
efp->e_hdr.e_shstrndx = (Elf64_Word)e32.e_shstrndx;
efp->e_hdr.e_phnum = (Elf64_Word)phnum;
Elf64_Word p_type; /* entry type */
Elf64_Word p_flags; /* entry flags */
Elf64_Word sh_name; /* section name */
Elf64_Word sh_type; /* SHT_... */
Elf64_Word sh_link; /* misc info */
Elf64_Word sh_info; /* misc info */
Elf64_Word st_name;
#define ELF64_R_TYPE(info) ((Elf64_Word)(info))
Elf64_Word n_namesz; /* length of note's name */
Elf64_Word n_descsz; /* length of note's "desc" */
Elf64_Word n_type; /* type of note */
Elf64_Word e_version; /* file version */
typedef Elf64_Word Elf64_Capchain;
#define ELF64_C_GROUP(info) ((Elf64_Word)(info))
Elf64_Word e_flags; /* file flags */
Elf64_Word shnum;
Elf64_Word phnum;
Elf64_Word shstrndx;
Elf64_Word vd_hash; /* version name hash value */
Elf64_Word vd_aux; /* no. of bytes from start of this */
Elf64_Word vd_next; /* no. of bytes from start of this */
Elf64_Word vda_name; /* first element defines the version */
Elf64_Word vda_next; /* no. of bytes from start of this */
Elf64_Word vn_file; /* name of needed dependency (file) */
Elf64_Word vn_aux; /* no. of bytes from start of this */
Elf64_Word vn_next; /* no. of bytes from start of this */
Elf64_Word vna_hash; /* version name hash value */
Elf64_Word vna_name; /* version name */
Elf64_Word vna_next; /* no. of bytes from start of this */
#define EC_WORD(a) ((Elf64_Word)(a)) /* "u" */
typedef Elf64_Word Word;