Lines Matching refs:_w
49 #undef _w
83 # define _w w8 macro
116 # define _w w macro
130 return ELF_R_SYM(_w(rp->r_info)); in fn_ELF_R_SYM()
136 rp->r_info = _w(ELF_R_INFO(sym, type)); in fn_ELF_R_INFO()
166 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount()
192 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
193 uint_t const old_shstr_sh_size = _w(shstr->sh_size); in append_func()
194 uint_t const old_shstr_sh_offset = _w(shstr->sh_offset); in append_func()
195 uint_t t = 1 + strlen(mc_name) + _w(shstr->sh_size); in append_func()
198 shstr->sh_size = _w(t); in append_func()
199 shstr->sh_offset = _w(sb.st_size); in append_func()
225 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
227 mcsec.sh_offset = _w(t); in append_func()
228 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
231 mcsec.sh_addralign = _w(_size); in append_func()
232 mcsec.sh_entsize = _w(_size); in append_func()
242 mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); in append_func()
243 mcsec.sh_size = _w((void *)mrelp - (void *)mrel0); in append_func()
246 mcsec.sh_addralign = _w(_size); in append_func()
247 mcsec.sh_entsize = _w(rel_entsize); in append_func()
257 ehdr->e_shoff = _w(new_e_shoff); in append_func()
294 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
299 Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) in get_sym_str_and_relp()
302 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
305 *str0 = (char const *)(_w(strsec->sh_offset) in get_sym_str_and_relp()
330 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
331 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in sift_rel_mcount()
344 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
345 mrelp->r_offset = _w(offbase in sift_rel_mcount()
371 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
377 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
378 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in nop_mcount()
393 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
439 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
441 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
456 *recvalp = _w(symp->st_value); in find_secsym_ndx()
482 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
514 totrelsz += _w(shdrp->sh_size); in tot_relsize()
524 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
528 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func()
584 rel_entsize = _w(relhdr->sh_entsize); in do_func()