Lines Matching defs:scnhdr
3664 struct internal_scnhdr scnhdr;
3692 memset (&scnhdr, 0, sizeof (struct internal_scnhdr));
3693 memcpy (scnhdr.s_name, data_name, strlen (data_name));
3694 scnhdr.s_paddr = 0;
3695 scnhdr.s_vaddr = 0;
3696 scnhdr.s_size = 0; /* set below */
3697 scnhdr.s_scnptr = FILHSZ + SCNHSZ;
3698 scnhdr.s_relptr = 0; /* set below */
3699 scnhdr.s_lnnoptr = 0;
3700 scnhdr.s_nreloc = 0; /* either 1 or 2 */
3701 scnhdr.s_nlnno = 0;
3702 scnhdr.s_flags = STYP_DATA;
3752 scnhdr.s_size = data_buffer_size;
3846 scnhdr.s_nreloc += 1;
3879 &reloc_ext[scnhdr.s_nreloc * RELSZ]);
3882 scnhdr.s_nreloc += 1;
3905 &reloc_ext[scnhdr.s_nreloc * RELSZ]);
3908 scnhdr.s_nreloc += 1;
3911 scnhdr.s_relptr = scnhdr.s_scnptr + data_buffer_size;
3912 filehdr.f_symptr = scnhdr.s_relptr + scnhdr.s_nreloc * RELSZ;
3916 bfd_coff_swap_scnhdr_out (abfd, &scnhdr, scnhdr_ext);
3919 bfd_bwrite (reloc_ext, scnhdr.s_nreloc * RELSZ, abfd);