Lines Matching defs:file_hdr
2076 struct som_header *file_hdr,
2087 amt = file_hdr->space_strings_size;
2092 if (bfd_seek (abfd, current_offset + file_hdr->space_strings_location,
2099 for (space_index = 0; space_index < file_hdr->space_total; space_index++)
2113 (current_offset + file_hdr->space_location
2152 (current_offset + file_hdr->subspace_location
2161 (current_offset + file_hdr->subspace_location
2318 if (file_hdr->a_magic != RELOC_MAGIC)
2385 struct som_header file_hdr;
2402 som_swap_header_in (&ext_file_hdr, &file_hdr);
2404 if (!_PA_RISC_ID (file_hdr.system_id))
2410 switch (file_hdr.a_magic)
2476 som_swap_header_in (&ext_file_hdr, &file_hdr);
2485 if (file_hdr.version_id != OLD_VERSION_ID
2486 && file_hdr.version_id != NEW_VERSION_ID)
2495 if (file_hdr.aux_header_size != 0)
2513 if (!setup_sections (abfd, &file_hdr, current_offset))
2521 return som_object_setup (abfd, &file_hdr, aux_hdr_ptr, current_offset);
2543 struct som_header *file_hdr;
2548 file_hdr = bfd_zalloc (abfd, amt);
2549 if (file_hdr == NULL)
2551 obj_som_file_hdr (abfd) = file_hdr;
2562 file_hdr->a_magic = DEMAND_MAGIC;
2564 file_hdr->a_magic = SHARE_MAGIC;
2567 file_hdr->a_magic = SHL_MAGIC;
2570 file_hdr->a_magic = EXEC_MAGIC;
2573 file_hdr->a_magic = RELOC_MAGIC;
2578 file_hdr->file_time.secs = 0;
2579 file_hdr->file_time.nanosecs = 0;
2581 file_hdr->entry_space = 0;
2582 file_hdr->entry_subspace = 0;
2583 file_hdr->entry_offset = 0;
2584 file_hdr->presumed_dp = 0;