Lines Matching refs:esecs

275 	struct scnhdr esecs[6];  in main()  local
443 memset(esecs, 0, sizeof(esecs)); in main()
444 strcpy(esecs[0].s_name, ".text"); in main()
445 strcpy(esecs[1].s_name, ".data"); in main()
446 strcpy(esecs[2].s_name, ".bss"); in main()
448 strcpy(esecs[3].s_name, ".rdata"); in main()
449 strcpy(esecs[4].s_name, ".sdata"); in main()
450 strcpy(esecs[5].s_name, ".sbss"); in main()
452 esecs[0].s_paddr = esecs[0].s_vaddr = eah.text_start; in main()
453 esecs[1].s_paddr = esecs[1].s_vaddr = eah.data_start; in main()
454 esecs[2].s_paddr = esecs[2].s_vaddr = eah.bss_start; in main()
456 esecs[3].s_paddr = esecs[3].s_vaddr = 0; in main()
457 esecs[4].s_paddr = esecs[4].s_vaddr = 0; in main()
458 esecs[5].s_paddr = esecs[5].s_vaddr = 0; in main()
460 esecs[0].s_size = eah.tsize; in main()
461 esecs[1].s_size = eah.dsize; in main()
462 esecs[2].s_size = eah.bsize; in main()
464 esecs[3].s_size = 0; in main()
465 esecs[4].s_size = 0; in main()
466 esecs[5].s_size = 0; in main()
468 esecs[0].s_scnptr = N_TXTOFF(efh, eah); in main()
469 esecs[1].s_scnptr = N_DATOFF(efh, eah); in main()
472 esecs[2].s_scnptr = esecs[1].s_scnptr + in main()
473 ECOFF_ROUND(esecs[1].s_size, ECOFF_SEGMENT_ALIGNMENT(&eah)); in main()
475 esecs[3].s_scnptr = 0; in main()
476 esecs[4].s_scnptr = 0; in main()
477 esecs[5].s_scnptr = 0; in main()
479 esecs[0].s_relptr = esecs[1].s_relptr = esecs[2].s_relptr = 0; in main()
480 esecs[0].s_lnnoptr = esecs[1].s_lnnoptr = esecs[2].s_lnnoptr = 0; in main()
481 esecs[0].s_nreloc = esecs[1].s_nreloc = esecs[2].s_nreloc = 0; in main()
482 esecs[0].s_nlnno = esecs[1].s_nlnno = esecs[2].s_nlnno = 0; in main()
484 esecs[3].s_relptr = esecs[4].s_relptr in main()
485 = esecs[5].s_relptr = 0; in main()
486 esecs[3].s_lnnoptr = esecs[4].s_lnnoptr in main()
487 = esecs[5].s_lnnoptr = 0; in main()
488 esecs[3].s_nreloc = esecs[4].s_nreloc = esecs[5].s_nreloc = in main()
490 esecs[3].s_nlnno = esecs[4].s_nlnno = esecs[5].s_nlnno = 0; in main()
492 esecs[0].s_flags = 0x20; in main()
493 esecs[1].s_flags = 0x40; in main()
494 esecs[2].s_flags = 0x82; in main()
496 esecs[3].s_flags = 0x100; in main()
497 esecs[4].s_flags = 0x200; in main()
498 esecs[5].s_flags = 0x400; in main()
519 i, esecs[i].s_name, esecs[i].s_paddr, in main()
520 esecs[i].s_size, esecs[i].s_scnptr); in main()
534 convert_ecoff_esecs(&esecs[0], nosecs); in main()
535 i = write(outfile, &esecs, nosecs * sizeof(struct scnhdr)); in main()