Lines Matching refs:src
594 const struct external_ldhdr *src = (const struct external_ldhdr *) s; in xcoff64_swap_ldhdr_in() local
596 dst->l_version = bfd_get_32 (abfd, src->l_version); in xcoff64_swap_ldhdr_in()
597 dst->l_nsyms = bfd_get_32 (abfd, src->l_nsyms); in xcoff64_swap_ldhdr_in()
598 dst->l_nreloc = bfd_get_32 (abfd, src->l_nreloc); in xcoff64_swap_ldhdr_in()
599 dst->l_istlen = bfd_get_32 (abfd, src->l_istlen); in xcoff64_swap_ldhdr_in()
600 dst->l_nimpid = bfd_get_32 (abfd, src->l_nimpid); in xcoff64_swap_ldhdr_in()
601 dst->l_stlen = bfd_get_32 (abfd, src->l_stlen); in xcoff64_swap_ldhdr_in()
602 dst->l_impoff = bfd_get_64 (abfd, src->l_impoff); in xcoff64_swap_ldhdr_in()
603 dst->l_stoff = bfd_get_64 (abfd, src->l_stoff); in xcoff64_swap_ldhdr_in()
604 dst->l_symoff = bfd_get_64 (abfd, src->l_symoff); in xcoff64_swap_ldhdr_in()
605 dst->l_rldoff = bfd_get_64 (abfd, src->l_rldoff); in xcoff64_swap_ldhdr_in()
611 xcoff64_swap_ldhdr_out (bfd *abfd, const struct internal_ldhdr *src, void *d) in xcoff64_swap_ldhdr_out() argument
615 bfd_put_32 (abfd, (bfd_vma) src->l_version, dst->l_version); in xcoff64_swap_ldhdr_out()
616 bfd_put_32 (abfd, src->l_nsyms, dst->l_nsyms); in xcoff64_swap_ldhdr_out()
617 bfd_put_32 (abfd, src->l_nreloc, dst->l_nreloc); in xcoff64_swap_ldhdr_out()
618 bfd_put_32 (abfd, src->l_istlen, dst->l_istlen); in xcoff64_swap_ldhdr_out()
619 bfd_put_32 (abfd, src->l_nimpid, dst->l_nimpid); in xcoff64_swap_ldhdr_out()
620 bfd_put_32 (abfd, src->l_stlen, dst->l_stlen); in xcoff64_swap_ldhdr_out()
621 bfd_put_64 (abfd, src->l_impoff, dst->l_impoff); in xcoff64_swap_ldhdr_out()
622 bfd_put_64 (abfd, src->l_stoff, dst->l_stoff); in xcoff64_swap_ldhdr_out()
623 bfd_put_64 (abfd, src->l_symoff, dst->l_symoff); in xcoff64_swap_ldhdr_out()
624 bfd_put_64 (abfd, src->l_rldoff, dst->l_rldoff); in xcoff64_swap_ldhdr_out()
632 const struct external_ldsym *src = (const struct external_ldsym *) s; in xcoff64_swap_ldsym_in() local
637 dst->_l._l_l._l_offset = bfd_get_32 (abfd, src->l_offset); in xcoff64_swap_ldsym_in()
638 dst->l_value = bfd_get_64 (abfd, src->l_value); in xcoff64_swap_ldsym_in()
639 dst->l_scnum = bfd_get_16 (abfd, src->l_scnum); in xcoff64_swap_ldsym_in()
640 dst->l_smtype = bfd_get_8 (abfd, src->l_smtype); in xcoff64_swap_ldsym_in()
641 dst->l_smclas = bfd_get_8 (abfd, src->l_smclas); in xcoff64_swap_ldsym_in()
642 dst->l_ifile = bfd_get_32 (abfd, src->l_ifile); in xcoff64_swap_ldsym_in()
643 dst->l_parm = bfd_get_32 (abfd, src->l_parm); in xcoff64_swap_ldsym_in()
649 xcoff64_swap_ldsym_out (bfd *abfd, const struct internal_ldsym *src, void *d) in xcoff64_swap_ldsym_out() argument
653 bfd_put_64 (abfd, src->l_value, dst->l_value); in xcoff64_swap_ldsym_out()
654 bfd_put_32 (abfd, (bfd_vma) src->_l._l_l._l_offset, dst->l_offset); in xcoff64_swap_ldsym_out()
655 bfd_put_16 (abfd, (bfd_vma) src->l_scnum, dst->l_scnum); in xcoff64_swap_ldsym_out()
656 bfd_put_8 (abfd, src->l_smtype, dst->l_smtype); in xcoff64_swap_ldsym_out()
657 bfd_put_8 (abfd, src->l_smclas, dst->l_smclas); in xcoff64_swap_ldsym_out()
658 bfd_put_32 (abfd, src->l_ifile, dst->l_ifile); in xcoff64_swap_ldsym_out()
659 bfd_put_32 (abfd, src->l_parm, dst->l_parm); in xcoff64_swap_ldsym_out()
665 struct external_reloc *src = (struct external_reloc *) s; in xcoff64_swap_reloc_in() local
670 dst->r_vaddr = bfd_get_64 (abfd, src->r_vaddr); in xcoff64_swap_reloc_in()
671 dst->r_symndx = bfd_get_32 (abfd, src->r_symndx); in xcoff64_swap_reloc_in()
672 dst->r_size = bfd_get_8 (abfd, src->r_size); in xcoff64_swap_reloc_in()
673 dst->r_type = bfd_get_8 (abfd, src->r_type); in xcoff64_swap_reloc_in()
679 struct internal_reloc *src = (struct internal_reloc *) s; in xcoff64_swap_reloc_out() local
682 bfd_put_64 (abfd, src->r_vaddr, dst->r_vaddr); in xcoff64_swap_reloc_out()
683 bfd_put_32 (abfd, src->r_symndx, dst->r_symndx); in xcoff64_swap_reloc_out()
684 bfd_put_8 (abfd, src->r_type, dst->r_type); in xcoff64_swap_reloc_out()
685 bfd_put_8 (abfd, src->r_size, dst->r_size); in xcoff64_swap_reloc_out()
695 const struct external_ldrel *src = (const struct external_ldrel *) s; in xcoff64_swap_ldrel_in() local
697 dst->l_vaddr = bfd_get_64 (abfd, src->l_vaddr); in xcoff64_swap_ldrel_in()
698 dst->l_symndx = bfd_get_32 (abfd, src->l_symndx); in xcoff64_swap_ldrel_in()
699 dst->l_rtype = bfd_get_16 (abfd, src->l_rtype); in xcoff64_swap_ldrel_in()
700 dst->l_rsecnm = bfd_get_16 (abfd, src->l_rsecnm); in xcoff64_swap_ldrel_in()
706 xcoff64_swap_ldrel_out (bfd *abfd, const struct internal_ldrel *src, void *d) in xcoff64_swap_ldrel_out() argument
710 bfd_put_64 (abfd, src->l_vaddr, dst->l_vaddr); in xcoff64_swap_ldrel_out()
711 bfd_put_16 (abfd, (bfd_vma) src->l_rtype, dst->l_rtype); in xcoff64_swap_ldrel_out()
712 bfd_put_16 (abfd, (bfd_vma) src->l_rsecnm, dst->l_rsecnm); in xcoff64_swap_ldrel_out()
713 bfd_put_32 (abfd, src->l_symndx, dst->l_symndx); in xcoff64_swap_ldrel_out()