Lines Matching refs:_w

50 #undef _w
84 # define _w w8 macro
117 # define _w w macro
131 return ELF_R_SYM(_w(rp->r_info)); in fn_ELF_R_SYM()
137 rp->r_info = _w(ELF_R_INFO(sym, type)); in fn_ELF_R_INFO()
167 Elf_Addr current_r_offset = _w(rp->r_offset); in MIPS_is_fake_mcount()
193 uint_t const old_shoff = _w(ehdr->e_shoff); in append_func()
194 uint_t const old_shstr_sh_size = _w(shstr->sh_size); in append_func()
195 uint_t const old_shstr_sh_offset = _w(shstr->sh_offset); in append_func()
196 uint_t t = 1 + strlen(mc_name) + _w(shstr->sh_size); in append_func()
199 shstr->sh_size = _w(t); in append_func()
200 shstr->sh_offset = _w(sb.st_size); in append_func()
221 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
223 mcsec.sh_offset = _w(t); in append_func()
224 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
227 mcsec.sh_addralign = _w(_size); in append_func()
228 mcsec.sh_entsize = _w(_size); in append_func()
237 mcsec.sh_offset = _w((void *)mlocp - (void *)mloc0 + t); in append_func()
238 mcsec.sh_size = _w((void *)mrelp - (void *)mrel0); in append_func()
241 mcsec.sh_addralign = _w(_size); in append_func()
242 mcsec.sh_entsize = _w(rel_entsize); in append_func()
248 ehdr->e_shoff = _w(new_e_shoff); in append_func()
282 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
287 Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) in get_sym_str_and_relp()
290 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
293 *str0 = (char const *)(_w(strsec->sh_offset) in get_sym_str_and_relp()
318 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
319 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in sift_rel_mcount()
331 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
332 mrelp->r_offset = _w(offbase in sift_rel_mcount()
358 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
364 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
365 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in nop_mcount()
380 ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); in nop_mcount()
423 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
425 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
440 *recvalp = _w(symp->st_value); in find_secsym_ndx()
467 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
495 totrelsz += _w(shdrp->sh_size); in tot_relsize()
505 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
509 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func()
537 rel_entsize = _w(relhdr->sh_entsize); in do_func()