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()
267 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
268 uint_t const old_shstr_sh_size = _w(shstr->sh_size); in append_func()
269 uint_t const old_shstr_sh_offset = _w(shstr->sh_offset); in append_func()
273 uint_t t = 1 + strlen(mc_name) + _w(shstr->sh_size); in append_func()
276 shstr->sh_size = _w(t); in append_func()
277 shstr->sh_offset = _w(sb.st_size); in append_func()
305 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
307 mcsec.sh_offset = _w(t); in append_func()
308 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
311 mcsec.sh_addralign = _w(_size); in append_func()
312 mcsec.sh_entsize = _w(_size); in append_func()
322 mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); in append_func()
323 mcsec.sh_size = _w((void *)mrelp - (void *)mrel0); in append_func()
326 mcsec.sh_addralign = _w(_size); in append_func()
327 mcsec.sh_entsize = _w(rel_entsize); in append_func()
337 ehdr->e_shoff = _w(new_e_shoff); in append_func()
373 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
378 Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) in get_sym_str_and_relp()
381 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
384 *str0 = (char const *)(_w(strsec->sh_offset) in get_sym_str_and_relp()
409 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
410 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in sift_rel_mcount()
423 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
424 mrelp->r_offset = _w(offbase in sift_rel_mcount()
450 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
456 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
457 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in nop_mcount()
472 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
520 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
522 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
537 *recvalp = _w(symp->st_value); in find_secsym_ndx()
563 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
595 totrelsz += _w(shdrp->sh_size); in tot_relsize()
604 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
608 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func()
670 rel_entsize = _w(relhdr->sh_entsize); in do_func()