Lines Matching refs:file_hdr
2074 struct som_header *file_hdr, in setup_sections() argument
2085 amt = file_hdr->space_strings_size; in setup_sections()
2090 if (bfd_seek (abfd, current_offset + file_hdr->space_strings_location, in setup_sections()
2097 for (space_index = 0; space_index < file_hdr->space_total; space_index++) in setup_sections()
2111 (current_offset + file_hdr->space_location in setup_sections()
2150 (current_offset + file_hdr->subspace_location in setup_sections()
2159 (current_offset + file_hdr->subspace_location in setup_sections()
2316 if (file_hdr->a_magic != RELOC_MAGIC) in setup_sections()
2383 struct som_header file_hdr; in som_object_p() local
2400 som_swap_header_in (&ext_file_hdr, &file_hdr); in som_object_p()
2402 if (!_PA_RISC_ID (file_hdr.system_id)) in som_object_p()
2408 switch (file_hdr.a_magic) in som_object_p()
2474 som_swap_header_in (&ext_file_hdr, &file_hdr); in som_object_p()
2483 if (file_hdr.version_id != OLD_VERSION_ID in som_object_p()
2484 && file_hdr.version_id != NEW_VERSION_ID) in som_object_p()
2493 if (file_hdr.aux_header_size != 0) in som_object_p()
2511 if (!setup_sections (abfd, &file_hdr, current_offset)) in som_object_p()
2519 return som_object_setup (abfd, &file_hdr, aux_hdr_ptr, current_offset); in som_object_p()
2541 struct som_header *file_hdr; in som_prep_headers() local
2546 file_hdr = bfd_zalloc (abfd, amt); in som_prep_headers()
2547 if (file_hdr == NULL) in som_prep_headers()
2549 obj_som_file_hdr (abfd) = file_hdr; in som_prep_headers()
2560 file_hdr->a_magic = DEMAND_MAGIC; in som_prep_headers()
2562 file_hdr->a_magic = SHARE_MAGIC; in som_prep_headers()
2565 file_hdr->a_magic = SHL_MAGIC; in som_prep_headers()
2568 file_hdr->a_magic = EXEC_MAGIC; in som_prep_headers()
2571 file_hdr->a_magic = RELOC_MAGIC; in som_prep_headers()
2576 file_hdr->file_time.secs = 0; in som_prep_headers()
2577 file_hdr->file_time.nanosecs = 0; in som_prep_headers()
2579 file_hdr->entry_space = 0; in som_prep_headers()
2580 file_hdr->entry_subspace = 0; in som_prep_headers()
2581 file_hdr->entry_offset = 0; in som_prep_headers()
2582 file_hdr->presumed_dp = 0; in som_prep_headers()