FreeBSD/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
/*
 * Convert a 32-bit ELF section header into GElf.
 */
Convert a 32-bit ELF section header into GElf.
Convert a 32 - bit ELF section header into GElf .
static void
shdr_to_gelf(const Elf32_Shdr *src, GElf_Shdr *dst)
{
	dst->sh_name = src->sh_name;
	dst->sh_type = src->sh_type;
	dst->sh_flags = src->sh_flags;
	dst->sh_addr = src->sh_addr;
	dst->sh_offset = src->sh_offset;
	dst->sh_size = src->sh_size;
	dst->sh_link = src->sh_link;
	dst->sh_info = src->sh_info;
	dst->sh_addralign = src->sh_addralign;
	dst->sh_entsize = src->sh_entsize;
}
static void shdr_to_gelf ( const Elf32_Shdr * src , GElf_Shdr * dst ) { dst -> sh_name = src -> sh_name ; dst -> sh_type = src -> sh_type ; dst -> sh_flags = src -> sh_flags ; dst -> sh_addr = src -> sh_addr ; dst -> sh_offset = src -> sh_offset ; dst -> sh_size = src -> sh_size ; dst -> sh_link = src -> sh_link ; dst -> sh_info = src -> sh_info ; dst -> sh_addralign = src -> sh_addralign ; dst -> sh_entsize = src -> sh_entsize ; }
Convert a 32-bit ELF section header into GElf.
Convert a 32 - bit ELF section header into GElf .