Home
last modified time | relevance | path

Searched refs:scnhdr_ext (Results 1 – 5 of 5) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dcoffswap.h752 SCNHDR *scnhdr_ext = (SCNHDR *) ext; in coff_swap_scnhdr_in() local
758 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in()
760 scnhdr_int->s_vaddr = GET_SCNHDR_VADDR (abfd, scnhdr_ext->s_vaddr); in coff_swap_scnhdr_in()
761 scnhdr_int->s_paddr = GET_SCNHDR_PADDR (abfd, scnhdr_ext->s_paddr); in coff_swap_scnhdr_in()
762 scnhdr_int->s_size = GET_SCNHDR_SIZE (abfd, scnhdr_ext->s_size); in coff_swap_scnhdr_in()
764 scnhdr_int->s_scnptr = GET_SCNHDR_SCNPTR (abfd, scnhdr_ext->s_scnptr); in coff_swap_scnhdr_in()
765 scnhdr_int->s_relptr = GET_SCNHDR_RELPTR (abfd, scnhdr_ext->s_relptr); in coff_swap_scnhdr_in()
766 scnhdr_int->s_lnnoptr = GET_SCNHDR_LNNOPTR (abfd, scnhdr_ext->s_lnnoptr); in coff_swap_scnhdr_in()
767 scnhdr_int->s_flags = GET_SCNHDR_FLAGS (abfd, scnhdr_ext->s_flags); in coff_swap_scnhdr_in()
768 scnhdr_int->s_nreloc = GET_SCNHDR_NRELOC (abfd, scnhdr_ext->s_nreloc); in coff_swap_scnhdr_in()
[all …]
Dpeicode.h205 SCNHDR *scnhdr_ext = (SCNHDR *) ext; in coff_swap_scnhdr_in() local
208 memcpy (scnhdr_int->s_name, scnhdr_ext->s_name, sizeof (scnhdr_int->s_name)); in coff_swap_scnhdr_in()
210 scnhdr_int->s_vaddr = GET_SCNHDR_VADDR (abfd, scnhdr_ext->s_vaddr); in coff_swap_scnhdr_in()
211 scnhdr_int->s_paddr = GET_SCNHDR_PADDR (abfd, scnhdr_ext->s_paddr); in coff_swap_scnhdr_in()
212 scnhdr_int->s_size = GET_SCNHDR_SIZE (abfd, scnhdr_ext->s_size); in coff_swap_scnhdr_in()
213 scnhdr_int->s_scnptr = GET_SCNHDR_SCNPTR (abfd, scnhdr_ext->s_scnptr); in coff_swap_scnhdr_in()
214 scnhdr_int->s_relptr = GET_SCNHDR_RELPTR (abfd, scnhdr_ext->s_relptr); in coff_swap_scnhdr_in()
215 scnhdr_int->s_lnnoptr = GET_SCNHDR_LNNOPTR (abfd, scnhdr_ext->s_lnnoptr); in coff_swap_scnhdr_in()
216 scnhdr_int->s_flags = H_GET_32 (abfd, scnhdr_ext->s_flags); in coff_swap_scnhdr_in()
222 scnhdr_int->s_nlnno = (H_GET_16 (abfd, scnhdr_ext->s_nlnno) in coff_swap_scnhdr_in()
[all …]
DpeXXigen.c946 SCNHDR *scnhdr_ext = (SCNHDR *) out; in _bfd_XXi_swap_scnhdr_out() local
951 memcpy (scnhdr_ext->s_name, scnhdr_int->s_name, sizeof (scnhdr_int->s_name)); in _bfd_XXi_swap_scnhdr_out()
957 scnhdr_ext->s_vaddr); in _bfd_XXi_swap_scnhdr_out()
986 scnhdr_ext->s_size); in _bfd_XXi_swap_scnhdr_out()
989 PUT_SCNHDR_PADDR (abfd, ps, scnhdr_ext->s_paddr); in _bfd_XXi_swap_scnhdr_out()
992 scnhdr_ext->s_scnptr); in _bfd_XXi_swap_scnhdr_out()
994 scnhdr_ext->s_relptr); in _bfd_XXi_swap_scnhdr_out()
996 scnhdr_ext->s_lnnoptr); in _bfd_XXi_swap_scnhdr_out()
1057 H_PUT_32 (abfd, scnhdr_int->s_flags, scnhdr_ext->s_flags); in _bfd_XXi_swap_scnhdr_out()
1073 H_PUT_16 (abfd, (scnhdr_int->s_nlnno & 0xffff), scnhdr_ext->s_nlnno); in _bfd_XXi_swap_scnhdr_out()
[all …]
Dcoff64-rs6000.c2172 bfd_byte scnhdr_ext[SCNHSZ * 3]; in xcoff64_generate_rtinit() local
2213 memset (scnhdr_ext, 0, 3 * SCNHSZ); in xcoff64_generate_rtinit()
2473 bfd_coff_swap_scnhdr_out (abfd, &text_scnhdr, &scnhdr_ext[SCNHSZ * 0]); in xcoff64_generate_rtinit()
2474 bfd_coff_swap_scnhdr_out (abfd, &data_scnhdr, &scnhdr_ext[SCNHSZ * 1]); in xcoff64_generate_rtinit()
2475 bfd_coff_swap_scnhdr_out (abfd, &bss_scnhdr, &scnhdr_ext[SCNHSZ * 2]); in xcoff64_generate_rtinit()
2476 bfd_bwrite (scnhdr_ext, 3 * SCNHSZ, abfd); in xcoff64_generate_rtinit()
Dcoff-rs6000.c3648 bfd_byte scnhdr_ext[SCNHSZ]; in xcoff_generate_rtinit() local
3685 memset (scnhdr_ext, 0, SCNHSZ); in xcoff_generate_rtinit()
3910 bfd_coff_swap_scnhdr_out (abfd, &scnhdr, scnhdr_ext); in xcoff_generate_rtinit()
3911 bfd_bwrite (scnhdr_ext, SCNHSZ, abfd); in xcoff_generate_rtinit()