Lines Matching refs:_w

54 #undef _w
93 # define _w w8 macro
131 # define _w w macro
145 return ELF_R_SYM(_w(rp->r_info)); in fn_ELF_R_SYM()
151 rp->r_info = _w(ELF_R_INFO(sym, type)); in fn_ELF_R_INFO()
181 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount()
272 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
273 uint_t const old_shstr_sh_size = _w(shstr->sh_size); in append_func()
274 uint_t const old_shstr_sh_offset = _w(shstr->sh_offset); in append_func()
278 uint_t t = 1 + strlen(mc_name) + _w(shstr->sh_size); in append_func()
281 shstr->sh_size = _w(t); in append_func()
282 shstr->sh_offset = _w(sb.st_size); in append_func()
310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
312 mcsec.sh_offset = _w(t); in append_func()
313 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
316 mcsec.sh_addralign = _w(_size); in append_func()
317 mcsec.sh_entsize = _w(_size); in append_func()
327 mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); in append_func()
328 mcsec.sh_size = _w((void *)mrelp - (void *)mrel0); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
332 mcsec.sh_entsize = _w(rel_entsize); in append_func()
342 ehdr->e_shoff = _w(new_e_shoff); in append_func()
378 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
383 Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) in get_sym_str_and_relp()
386 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
389 *str0 = (char const *)(_w(strsec->sh_offset) in get_sym_str_and_relp()
414 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
415 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in sift_rel_mcount()
428 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
429 mrelp->r_offset = _w(offbase in sift_rel_mcount()
455 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
461 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
462 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in nop_mcount()
477 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
525 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
527 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
542 *recvalp = _w(symp->st_value); in find_secsym_ndx()
568 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
600 totrelsz += _w(shdrp->sh_size); in tot_relsize()
609 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
613 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func()
675 rel_entsize = _w(relhdr->sh_entsize); in do_func()