Lines Matching refs:mcsec
268 Elf_Shdr mcsec; in append_func() local
306 t += 2*sizeof(mcsec); in append_func()
307 mcsec.sh_name = w((sizeof(Elf_Rela) == rel_entsize) + strlen(".rel") in append_func()
309 mcsec.sh_type = w(SHT_PROGBITS); in append_func()
310 mcsec.sh_flags = _w(SHF_ALLOC); in append_func()
311 mcsec.sh_addr = 0; in append_func()
312 mcsec.sh_offset = _w(t); in append_func()
313 mcsec.sh_size = _w((void *)mlocp - (void *)mloc0); in append_func()
314 mcsec.sh_link = 0; in append_func()
315 mcsec.sh_info = 0; in append_func()
316 mcsec.sh_addralign = _w(_size); in append_func()
317 mcsec.sh_entsize = _w(_size); in append_func()
318 if (uwrite(&mcsec, sizeof(mcsec)) < 0) in append_func()
321 mcsec.sh_name = w(old_shstr_sh_size); in append_func()
322 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func()
325 mcsec.sh_flags = 0; in append_func()
326 mcsec.sh_addr = 0; 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()
329 mcsec.sh_link = w(symsec_sh_link); in append_func()
330 mcsec.sh_info = w(old_shnum); in append_func()
331 mcsec.sh_addralign = _w(_size); in append_func()
332 mcsec.sh_entsize = _w(rel_entsize); in append_func()
334 if (uwrite(&mcsec, sizeof(mcsec)) < 0) in append_func()