Lines Matching refs:mcsec
187 Elf_Shdr mcsec; in append_func() local
221 t += 2*sizeof(mcsec); in append_func()
222 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func()
224 mcsec.sh_type = w(SHT_PROGBITS); in append_func()
225 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
226 mcsec.sh_addr = 0; in append_func()
227 mcsec.sh_offset = _w(t); in append_func()
228 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
229 mcsec.sh_link = 0; in append_func()
230 mcsec.sh_info = 0; in append_func()
231 mcsec.sh_addralign = _w(_size); in append_func()
232 mcsec.sh_entsize = _w(_size); in append_func()
233 if (uwrite(&mcsec, sizeof(mcsec)) < 0) in append_func()
236 mcsec.sh_name = w(old_shstr_sh_size); in append_func()
237 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func()
240 mcsec.sh_flags = 0; in append_func()
241 mcsec.sh_addr = 0; 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()
244 mcsec.sh_link = w(symsec_sh_link); in append_func()
245 mcsec.sh_info = w(old_shnum); in append_func()
246 mcsec.sh_addralign = _w(_size); in append_func()
247 mcsec.sh_entsize = _w(rel_entsize); in append_func()
249 if (uwrite(&mcsec, sizeof(mcsec)) < 0) in append_func()