Lines Matching refs:src

596   const struct external_ldhdr *src = (const struct external_ldhdr *) s;  in xcoff64_swap_ldhdr_in()  local
598 dst->l_version = bfd_get_32 (abfd, src->l_version); in xcoff64_swap_ldhdr_in()
599 dst->l_nsyms = bfd_get_32 (abfd, src->l_nsyms); in xcoff64_swap_ldhdr_in()
600 dst->l_nreloc = bfd_get_32 (abfd, src->l_nreloc); in xcoff64_swap_ldhdr_in()
601 dst->l_istlen = bfd_get_32 (abfd, src->l_istlen); in xcoff64_swap_ldhdr_in()
602 dst->l_nimpid = bfd_get_32 (abfd, src->l_nimpid); in xcoff64_swap_ldhdr_in()
603 dst->l_stlen = bfd_get_32 (abfd, src->l_stlen); in xcoff64_swap_ldhdr_in()
604 dst->l_impoff = bfd_get_64 (abfd, src->l_impoff); in xcoff64_swap_ldhdr_in()
605 dst->l_stoff = bfd_get_64 (abfd, src->l_stoff); in xcoff64_swap_ldhdr_in()
606 dst->l_symoff = bfd_get_64 (abfd, src->l_symoff); in xcoff64_swap_ldhdr_in()
607 dst->l_rldoff = bfd_get_64 (abfd, src->l_rldoff); in xcoff64_swap_ldhdr_in()
613 xcoff64_swap_ldhdr_out (bfd *abfd, const struct internal_ldhdr *src, void *d) in xcoff64_swap_ldhdr_out() argument
617 bfd_put_32 (abfd, (bfd_vma) src->l_version, dst->l_version); in xcoff64_swap_ldhdr_out()
618 bfd_put_32 (abfd, src->l_nsyms, dst->l_nsyms); in xcoff64_swap_ldhdr_out()
619 bfd_put_32 (abfd, src->l_nreloc, dst->l_nreloc); in xcoff64_swap_ldhdr_out()
620 bfd_put_32 (abfd, src->l_istlen, dst->l_istlen); in xcoff64_swap_ldhdr_out()
621 bfd_put_32 (abfd, src->l_nimpid, dst->l_nimpid); in xcoff64_swap_ldhdr_out()
622 bfd_put_32 (abfd, src->l_stlen, dst->l_stlen); in xcoff64_swap_ldhdr_out()
623 bfd_put_64 (abfd, src->l_impoff, dst->l_impoff); in xcoff64_swap_ldhdr_out()
624 bfd_put_64 (abfd, src->l_stoff, dst->l_stoff); in xcoff64_swap_ldhdr_out()
625 bfd_put_64 (abfd, src->l_symoff, dst->l_symoff); in xcoff64_swap_ldhdr_out()
626 bfd_put_64 (abfd, src->l_rldoff, dst->l_rldoff); in xcoff64_swap_ldhdr_out()
634 const struct external_ldsym *src = (const struct external_ldsym *) s; in xcoff64_swap_ldsym_in() local
639 dst->_l._l_l._l_offset = bfd_get_32 (abfd, src->l_offset); in xcoff64_swap_ldsym_in()
640 dst->l_value = bfd_get_64 (abfd, src->l_value); in xcoff64_swap_ldsym_in()
641 dst->l_scnum = bfd_get_16 (abfd, src->l_scnum); in xcoff64_swap_ldsym_in()
642 dst->l_smtype = bfd_get_8 (abfd, src->l_smtype); in xcoff64_swap_ldsym_in()
643 dst->l_smclas = bfd_get_8 (abfd, src->l_smclas); in xcoff64_swap_ldsym_in()
644 dst->l_ifile = bfd_get_32 (abfd, src->l_ifile); in xcoff64_swap_ldsym_in()
645 dst->l_parm = bfd_get_32 (abfd, src->l_parm); in xcoff64_swap_ldsym_in()
651 xcoff64_swap_ldsym_out (bfd *abfd, const struct internal_ldsym *src, void *d) in xcoff64_swap_ldsym_out() argument
655 bfd_put_64 (abfd, src->l_value, dst->l_value); in xcoff64_swap_ldsym_out()
656 bfd_put_32 (abfd, (bfd_vma) src->_l._l_l._l_offset, dst->l_offset); in xcoff64_swap_ldsym_out()
657 bfd_put_16 (abfd, (bfd_vma) src->l_scnum, dst->l_scnum); in xcoff64_swap_ldsym_out()
658 bfd_put_8 (abfd, src->l_smtype, dst->l_smtype); in xcoff64_swap_ldsym_out()
659 bfd_put_8 (abfd, src->l_smclas, dst->l_smclas); in xcoff64_swap_ldsym_out()
660 bfd_put_32 (abfd, src->l_ifile, dst->l_ifile); in xcoff64_swap_ldsym_out()
661 bfd_put_32 (abfd, src->l_parm, dst->l_parm); in xcoff64_swap_ldsym_out()
667 struct external_reloc *src = (struct external_reloc *) s; in xcoff64_swap_reloc_in() local
672 dst->r_vaddr = bfd_get_64 (abfd, src->r_vaddr); in xcoff64_swap_reloc_in()
673 dst->r_symndx = bfd_get_32 (abfd, src->r_symndx); in xcoff64_swap_reloc_in()
674 dst->r_size = bfd_get_8 (abfd, src->r_size); in xcoff64_swap_reloc_in()
675 dst->r_type = bfd_get_8 (abfd, src->r_type); in xcoff64_swap_reloc_in()
681 struct internal_reloc *src = (struct internal_reloc *) s; in xcoff64_swap_reloc_out() local
684 bfd_put_64 (abfd, src->r_vaddr, dst->r_vaddr); in xcoff64_swap_reloc_out()
685 bfd_put_32 (abfd, src->r_symndx, dst->r_symndx); in xcoff64_swap_reloc_out()
686 bfd_put_8 (abfd, src->r_type, dst->r_type); in xcoff64_swap_reloc_out()
687 bfd_put_8 (abfd, src->r_size, dst->r_size); in xcoff64_swap_reloc_out()
697 const struct external_ldrel *src = (const struct external_ldrel *) s; in xcoff64_swap_ldrel_in() local
699 dst->l_vaddr = bfd_get_64 (abfd, src->l_vaddr); in xcoff64_swap_ldrel_in()
700 dst->l_symndx = bfd_get_32 (abfd, src->l_symndx); in xcoff64_swap_ldrel_in()
701 dst->l_rtype = bfd_get_16 (abfd, src->l_rtype); in xcoff64_swap_ldrel_in()
702 dst->l_rsecnm = bfd_get_16 (abfd, src->l_rsecnm); in xcoff64_swap_ldrel_in()
708 xcoff64_swap_ldrel_out (bfd *abfd, const struct internal_ldrel *src, void *d) in xcoff64_swap_ldrel_out() argument
712 bfd_put_64 (abfd, src->l_vaddr, dst->l_vaddr); in xcoff64_swap_ldrel_out()
713 bfd_put_16 (abfd, (bfd_vma) src->l_rtype, dst->l_rtype); in xcoff64_swap_ldrel_out()
714 bfd_put_16 (abfd, (bfd_vma) src->l_rsecnm, dst->l_rsecnm); in xcoff64_swap_ldrel_out()
715 bfd_put_32 (abfd, src->l_symndx, dst->l_symndx); in xcoff64_swap_ldrel_out()