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()
280 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in get_sym_str_and_relp()
285 Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset) in get_sym_str_and_relp()
288 *sym0 = (Elf_Sym const *)(_w(symsec->sh_offset) in get_sym_str_and_relp()
291 *str0 = (char const *)(_w(strsec->sh_offset) in get_sym_str_and_relp()
316 unsigned rel_entsize = _w(relhdr->sh_entsize); in sift_rel_mcount()
317 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in sift_rel_mcount()
329 _w(_w(relp->r_offset) - recval + mcount_adjust); in sift_rel_mcount()
330 mrelp->r_offset = _w(offbase in sift_rel_mcount()
356 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in nop_mcount()
362 unsigned rel_entsize = _w(relhdr->sh_entsize); in nop_mcount()
363 unsigned const nrel = _w(relhdr->sh_size) / rel_entsize; in nop_mcount()
421 Elf_Sym const *const sym0 = (Elf_Sym const *)(_w(symhdr->sh_offset) in find_secsym_ndx()
423 unsigned const nsym = _w(symhdr->sh_size) / _w(symhdr->sh_entsize); in find_secsym_ndx()
438 *recvalp = _w(symp->st_value); in find_secsym_ndx()
465 !(_w(txthdr->sh_flags) & SHF_EXECINSTR)) in __has_rel_mcount()
493 totrelsz += _w(shdrp->sh_size); in tot_relsize()
503 Elf_Shdr *const shdr0 = (Elf_Shdr *)(_w(ehdr->e_shoff) in do_func()
507 char const *const shstrtab = (char const *)(_w(shstr->sh_offset) in do_func()
535 rel_entsize = _w(relhdr->sh_entsize); in do_func()