Lines Matching defs:filehdr
3663 struct internal_filehdr filehdr;
3681 memset (&filehdr, 0, sizeof (struct internal_filehdr));
3682 filehdr.f_magic = bfd_xcoff_magic_number (abfd);
3683 filehdr.f_nscns = 1;
3684 filehdr.f_timdat = 0;
3685 filehdr.f_nsyms = 0; /* at least 6, no more than 10 */
3686 filehdr.f_symptr = 0; /* set below */
3687 filehdr.f_opthdr = 0;
3688 filehdr.f_flags = 0;
3792 &syment_ext[filehdr.f_nsyms * SYMESZ]);
3795 &syment_ext[(filehdr.f_nsyms + 1) * SYMESZ]);
3796 filehdr.f_nsyms += 2;
3808 &syment_ext[filehdr
3811 &syment_ext[(filehdr.f_nsyms + 1) * SYMESZ]);
3812 filehdr.f_nsyms += 2;
3832 &syment_ext[filehdr.f_nsyms * SYMESZ]);
3835 &syment_ext[(filehdr.f_nsyms + 1) * SYMESZ]);
3840 reloc.r_symndx = filehdr.f_nsyms;
3845 filehdr.f_nsyms += 2;
3867 &syment_ext[filehdr.f_nsyms * SYMESZ]);
3870 &syment_ext[(filehdr.f_nsyms + 1) * SYMESZ]);
3875 reloc.r_symndx = filehdr.f_nsyms;
3881 filehdr.f_nsyms += 2;
3893 &syment_ext[filehdr.f_nsyms * SYMESZ]);
3896 &syment_ext[(filehdr.f_nsyms + 1) * SYMESZ]);
3901 reloc.r_symndx = filehdr.f_nsyms;
3907 filehdr.f_nsyms += 2;
3912 filehdr.f_symptr = scnhdr.s_relptr + scnhdr.s_nreloc * RELSZ;
3914 bfd_coff_swap_filehdr_out (abfd, &filehdr, filehdr_ext);
3920 bfd_bwrite (syment_ext, filehdr.f_nsyms * SYMESZ, abfd);