Home
last modified time | relevance | path

Searched refs:s_shdr (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/elftoolchain/libelf/
H A Delf_data.c79 sh_type = s->s_shdr.s_shdr32.sh_type; in elf_getdata()
80 sh_offset = (uint64_t) s->s_shdr.s_shdr32.sh_offset; in elf_getdata()
81 sh_size = (uint64_t) s->s_shdr.s_shdr32.sh_size; in elf_getdata()
82 sh_align = (uint64_t) s->s_shdr.s_shdr32.sh_addralign; in elf_getdata()
84 sh_type = s->s_shdr.s_shdr64.sh_type; in elf_getdata()
85 sh_offset = s->s_shdr.s_shdr64.sh_offset; in elf_getdata()
86 sh_size = s->s_shdr.s_shdr64.sh_size; in elf_getdata()
87 sh_align = s->s_shdr.s_shdr64.sh_addralign; in elf_getdata()
243 sh_type = s->s_shdr.s_shdr32.sh_type; in elf_rawdata()
244 sh_offset = (uint64_t) s->s_shdr.s_shdr32.sh_offset; in elf_rawdata()
[all …]
H A Dlibelf_extended.c60 scn->s_shdr.s_shdr32.sh_size = (Elf32_Word) shnum; in _libelf_setshnum()
62 scn->s_shdr.s_shdr64.sh_size = shnum; in _libelf_setshnum()
90 scn->s_shdr.s_shdr32.sh_link = (Elf32_Word) shstrndx; in _libelf_setshstrndx()
92 scn->s_shdr.s_shdr64.sh_link = (Elf64_Word) shstrndx; in _libelf_setshstrndx()
119 scn->s_shdr.s_shdr32.sh_info = (Elf32_Word) phnum; in _libelf_setphnum()
121 scn->s_shdr.s_shdr64.sh_info = (Elf64_Word) phnum; in _libelf_setphnum()
H A Delf_scn.c124 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_section_headers()
129 scn->s_shdr.s_shdr32.sh_offset; in _libelf_load_section_headers()
130 scn->s_size = scn->s_shdr.s_shdr32.sh_size; in _libelf_load_section_headers()
133 scn->s_shdr.s_shdr64.sh_offset; in _libelf_load_section_headers()
134 scn->s_size = scn->s_shdr.s_shdr64.sh_size; in _libelf_load_section_headers()
H A Dgelf_cap.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getcap()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getcap()
120 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_cap()
122 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_cap()
H A Dgelf_syminfo.c59 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsyminfo()
61 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsyminfo()
120 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_syminfo()
122 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_syminfo()
H A Dgelf_symshndx.c62 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsymshndx()
64 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsymshndx()
114 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_symshndx()
116 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_symshndx()
H A Dgelf_dyn.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getdyn()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getdyn()
121 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_dyn()
123 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_dyn()
H A Dgelf_move.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getmove()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getmove()
124 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_move()
126 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_move()
H A Dgelf_rel.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getrel()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getrel()
126 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_rel()
128 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_rel()
H A Dgelf_sym.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getsym()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getsym()
123 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_sym()
125 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_sym()
H A Dgelf_rela.c61 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_getrela()
63 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_getrela()
128 sh_type = scn->s_shdr.s_shdr32.sh_type; in gelf_update_rela()
130 sh_type = scn->s_shdr.s_shdr64.sh_type; in gelf_update_rela()
H A Dlibelf_ehdr.c69 (*xlator)((unsigned char *) &scn->s_shdr, sizeof(scn->s_shdr), in _libelf_load_extended()
73 #define GET_SHDR_MEMBER(M) ((ec == ELFCLASS32) ? scn->s_shdr.s_shdr32.M : \ in _libelf_load_extended()
74 scn->s_shdr.s_shdr64.M) in _libelf_load_extended()
H A Delf_update.c126 shdr32 = &s->s_shdr.s_shdr32; in _libelf_compute_section_extents()
127 shdr64 = &s->s_shdr.s_shdr64; in _libelf_compute_section_extents()
463 sh_type = s->s_shdr.s_shdr32.sh_type; in _libelf_resync_sections()
465 sh_type = s->s_shdr.s_shdr64.sh_type; in _libelf_resync_sections()
737 sh_type = s->s_shdr.s_shdr32.sh_type; in _libelf_write_scn()
738 sh_size = (uint64_t) s->s_shdr.s_shdr32.sh_size; in _libelf_write_scn()
740 sh_type = s->s_shdr.s_shdr64.sh_type; in _libelf_write_scn()
741 sh_size = s->s_shdr.s_shdr64.sh_size; in _libelf_write_scn()
1002 src.d_buf = &scn->s_shdr.s_shdr32; in _libelf_write_shdr()
1004 src.d_buf = &scn->s_shdr.s_shdr64; in _libelf_write_shdr()
H A Dgelf_shdr.c112 scn->s_shdr.s_shdr64 = *s; in gelf_update_shdr()
116 sh32 = &scn->s_shdr.s_shdr32; in gelf_update_shdr()
H A Dlibelf_shdr.c53 return ((void *) &s->s_shdr); in _libelf_getshdr()
H A D_libelf.h151 } s_shdr; member