be_uint32_t
put_uint32(be_uint32_t *be, u_int32_t v)
put_uint32((be_uint32_t *)r->locoff_l, (adr) - reladdr); \
be_uint32_t b1, b2;
u_int32_t get_uint32(be_uint32_t *be);
void put_uint32(be_uint32_t *be, u_int32_t v);
be_uint32_t be32;
be_uint32_t be32x2[2];
get_uint32(be_uint32_t *be)
be_uint32_t e_version;
be_uint32_t e_entry; /* entry address */
be_uint32_t e_phoff; /* program header address */
be_uint32_t e_shoff;
be_uint32_t e_flags;
be_uint32_t sh_name;
be_uint32_t sh_type;
be_uint32_t sh_flags;
be_uint32_t sh_addr;
be_uint32_t sh_offset;
be_uint32_t sh_size;
be_uint32_t sh_link;
be_uint32_t sh_info;
be_uint32_t sh_addralign;
be_uint32_t sh_entsize;
be_uint32_t p_type; /* type of segment */
be_uint32_t p_offset; /* file offset */
be_uint32_t p_vaddr; /* virtual address */
be_uint32_t p_paddr; /* physical address (ignored) */
be_uint32_t p_filesz; /* size on file */
be_uint32_t p_memsz; /* size on memory */
be_uint32_t p_flags;
be_uint32_t p_align;
be_uint32_t a_magic; /* encoded magic number */
be_uint32_t a_text; /* size of text section */
be_uint32_t a_data; /* size of data section */
be_uint32_t a_bss; /* size of bss */
be_uint32_t a_syms; /* size of symbol table */
be_uint32_t a_entry; /* entry point address */
be_uint32_t a_trsize; /* size of text relocation */
be_uint32_t a_drsize; /* size of data relocation */
be_uint32_t x_base; /* base address (normally 0) */
be_uint32_t x_entry; /* execution entry */
be_uint32_t x_text; /* size of text section */
be_uint32_t x_data; /* size of data section */
be_uint32_t x_bss; /* size of bss */
be_uint32_t x_rsize; /* size of relocation table */
be_uint32_t x_syms; /* size of symbol info */
be_uint32_t x_db_line; /* size of debugging info (line #) */
be_uint32_t x_db_syms; /* size of debugging info (symbol) */
be_uint32_t x_db_str; /* size of debugging info (string) */
be_uint32_t x_reserved2[4]; /* 0 */
be_uint32_t x_bindlist; /* bind list offset */
#define SIZE_32 sizeof(be_uint32_t)