Lines Matching refs:phnum
19217 int shnum, i, phnum, file_offset, offset, size, j, tmp, sh_order_index, k; in tcc_output_file() local
19423 phnum = 0; in tcc_output_file()
19427 phnum = 4; in tcc_output_file()
19429 phnum = 2; in tcc_output_file()
19432 phnum = 3; in tcc_output_file()
19459 phdr = tcc_mallocz(phnum * sizeof(Elf32_Phdr)); in tcc_output_file()
19462 file_offset = sizeof(Elf32_Ehdr) + phnum * sizeof(Elf32_Phdr); in tcc_output_file()
19466 if (phnum > 0) { in tcc_output_file()
19600 ph = &phdr[phnum - 1]; in tcc_output_file()
19675 ehdr.e_phnum = phnum; in tcc_output_file()
19682 if (phnum > 0 && (s->sh_flags & SHF_ALLOC)) in tcc_output_file()
19787 dummy_size_t = fwrite(phdr, 1, phnum * sizeof(Elf32_Phdr), f); in tcc_output_file()
19788 offset = sizeof(Elf32_Ehdr) + phnum * sizeof(Elf32_Phdr); in tcc_output_file()