Lines Matching refs:exec_header
3585 struct som_exec_auxhdr *exec_header = NULL; in som_begin_writing() local
3613 exec_header = obj_som_exec_hdr (abfd); in som_begin_writing()
3614 exec_header->som_auxhdr.type = EXEC_AUX_ID; in som_begin_writing()
3615 exec_header->som_auxhdr.length = 40; in som_begin_writing()
3778 if (subsection->flags & SEC_CODE && exec_header->exec_tfile == 0) in som_begin_writing()
3780 exec_header->exec_tmem = section->vma; in som_begin_writing()
3781 exec_header->exec_tfile = current_offset; in som_begin_writing()
3783 if (subsection->flags & SEC_DATA && exec_header->exec_dfile == 0) in som_begin_writing()
3785 exec_header->exec_dmem = section->vma; in som_begin_writing()
3786 exec_header->exec_dfile = current_offset; in som_begin_writing()
3814 exec_header->exec_tsize += subsection->vma - subspace_offset; in som_begin_writing()
3816 exec_header->exec_dsize += subsection->vma - subspace_offset; in som_begin_writing()
3827 exec_header->exec_tsize += subsection->size; in som_begin_writing()
3830 exec_header->exec_dsize += subsection->size; in som_begin_writing()
3842 exec_header->exec_bsize += subsection->size; in som_begin_writing()
4219 struct som_exec_auxhdr *exec_header; in som_finish_writing() local
4222 exec_header = obj_som_exec_hdr (abfd); in som_finish_writing()
4223 exec_header->exec_entry = bfd_get_start_address (abfd); in som_finish_writing()
4224 exec_header->exec_flags = obj_som_exec_data (abfd)->exec_flags; in som_finish_writing()
4229 tmp = exec_header->exec_dsize; in som_finish_writing()
4231 exec_header->exec_bsize -= (tmp - exec_header->exec_dsize); in som_finish_writing()
4232 if (exec_header->exec_bsize < 0) in som_finish_writing()
4233 exec_header->exec_bsize = 0; in som_finish_writing()
4234 exec_header->exec_dsize = tmp; in som_finish_writing()
4239 if (exec_header->exec_tfile + exec_header->exec_tsize > som_length in som_finish_writing()
4240 || exec_header->exec_dfile + exec_header->exec_dsize > som_length) in som_finish_writing()
4246 som_swap_exec_auxhdr_out (exec_header, &ext_exec_header); in som_finish_writing()
5460 struct som_exec_auxhdr *exec_header; in som_bfd_print_private_bfd_data() local
5466 exec_header = obj_som_exec_hdr (abfd); in som_bfd_print_private_bfd_data()
5467 if (exec_header) in som_bfd_print_private_bfd_data()
5471 auxhdr = &exec_header->som_auxhdr; in som_bfd_print_private_bfd_data()
5487 fprintf (f, " text size %#lx\n", (long) exec_header->exec_tsize); in som_bfd_print_private_bfd_data()
5488 fprintf (f, " text memory offset %#lx\n", (long) exec_header->exec_tmem); in som_bfd_print_private_bfd_data()
5489 fprintf (f, " text file offset %#lx\n", (long) exec_header->exec_tfile); in som_bfd_print_private_bfd_data()
5490 fprintf (f, " data size %#lx\n", (long) exec_header->exec_dsize); in som_bfd_print_private_bfd_data()
5491 fprintf (f, " data memory offset %#lx\n", (long) exec_header->exec_dmem); in som_bfd_print_private_bfd_data()
5492 fprintf (f, " data file offset %#lx\n", (long) exec_header->exec_dfile); in som_bfd_print_private_bfd_data()
5493 fprintf (f, " bss size %#lx\n", (long) exec_header->exec_bsize); in som_bfd_print_private_bfd_data()
5494 fprintf (f, " entry point %#lx\n", (long) exec_header->exec_entry); in som_bfd_print_private_bfd_data()
5495 fprintf (f, " loader flags %#lx\n", (long) exec_header->exec_flags); in som_bfd_print_private_bfd_data()
5496 fprintf (f, " bss initializer %#lx\n", (long) exec_header->exec_bfill); in som_bfd_print_private_bfd_data()