Searched refs:esecs (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/arch/mips/boot/ |
D | elf2ecoff.c | 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() [all …]
|
D | addinitrd.c | 46 SCNHDR esecs[3]; in main() local 65 if (read (fd_vmlinux, esecs, sizeof esecs) != sizeof esecs) in main() 84 if (eaout.dsize || esecs[1].s_size) { in main() 92 loadaddr = ((SWAB(esecs[2].s_vaddr) + SWAB(esecs[2].s_size) in main() 94 if (loadaddr < (SWAB(esecs[2].s_vaddr) + SWAB(esecs[2].s_size))) in main() 98 eaout.dsize = esecs[1].s_size = initrd_header[1] = SWAB(st.st_size+8); in main() 99 eaout.data_start = esecs[1].s_vaddr = esecs[1].s_paddr = SWAB(loadaddr); in main() 107 if (write (fd_outfile, esecs, sizeof esecs) != sizeof esecs) in main() 110 if(lseek(fd_vmlinux, SWAB(esecs[0].s_scnptr), SEEK_SET) == (off_t)-1) in main() 112 if(lseek(fd_outfile, SWAB(esecs[0].s_scnptr), SEEK_SET) == (off_t)-1) in main()
|