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