Lines Matching refs:esecs

277 	struct scnhdr esecs[6];  in main()  local
448 memset(esecs, 0, sizeof esecs); in main()
449 strcpy(esecs[0].s_name, ".text"); in main()
450 strcpy(esecs[1].s_name, ".data"); in main()
451 strcpy(esecs[2].s_name, ".bss"); in main()
453 strcpy(esecs[3].s_name, ".rdata"); in main()
454 strcpy(esecs[4].s_name, ".sdata"); in main()
455 strcpy(esecs[5].s_name, ".sbss"); in main()
457 esecs[0].s_paddr = esecs[0].s_vaddr = eah.text_start; in main()
458 esecs[1].s_paddr = esecs[1].s_vaddr = eah.data_start; in main()
459 esecs[2].s_paddr = esecs[2].s_vaddr = eah.bss_start; in main()
461 esecs[3].s_paddr = esecs[3].s_vaddr = 0; in main()
462 esecs[4].s_paddr = esecs[4].s_vaddr = 0; in main()
463 esecs[5].s_paddr = esecs[5].s_vaddr = 0; in main()
465 esecs[0].s_size = eah.tsize; in main()
466 esecs[1].s_size = eah.dsize; in main()
467 esecs[2].s_size = eah.bsize; in main()
469 esecs[3].s_size = 0; in main()
470 esecs[4].s_size = 0; in main()
471 esecs[5].s_size = 0; in main()
473 esecs[0].s_scnptr = N_TXTOFF(efh, eah); in main()
474 esecs[1].s_scnptr = N_DATOFF(efh, eah); in main()
477 esecs[2].s_scnptr = esecs[1].s_scnptr + in main()
478 ECOFF_ROUND(esecs[1].s_size, ECOFF_SEGMENT_ALIGNMENT(&eah)); in main()
480 esecs[3].s_scnptr = 0; in main()
481 esecs[4].s_scnptr = 0; in main()
482 esecs[5].s_scnptr = 0; in main()
484 esecs[0].s_relptr = esecs[1].s_relptr = esecs[2].s_relptr = 0; in main()
485 esecs[0].s_lnnoptr = esecs[1].s_lnnoptr = esecs[2].s_lnnoptr = 0; in main()
486 esecs[0].s_nreloc = esecs[1].s_nreloc = esecs[2].s_nreloc = 0; in main()
487 esecs[0].s_nlnno = esecs[1].s_nlnno = esecs[2].s_nlnno = 0; in main()
489 esecs[3].s_relptr = esecs[4].s_relptr in main()
490 = esecs[5].s_relptr = 0; in main()
491 esecs[3].s_lnnoptr = esecs[4].s_lnnoptr in main()
492 = esecs[5].s_lnnoptr = 0; in main()
493 esecs[3].s_nreloc = esecs[4].s_nreloc = esecs[5].s_nreloc = in main()
495 esecs[3].s_nlnno = esecs[4].s_nlnno = esecs[5].s_nlnno = 0; in main()
497 esecs[0].s_flags = 0x20; in main()
498 esecs[1].s_flags = 0x40; in main()
499 esecs[2].s_flags = 0x82; in main()
501 esecs[3].s_flags = 0x100; in main()
502 esecs[4].s_flags = 0x200; in main()
503 esecs[5].s_flags = 0x400; in main()
524 i, esecs[i].s_name, esecs[i].s_paddr, in main()
525 esecs[i].s_size, esecs[i].s_scnptr); in main()
540 convert_ecoff_esecs(&esecs[0], nosecs); in main()
541 i = write(outfile, &esecs, nosecs * sizeof(struct scnhdr)); in main()