Lines Matching refs:dst

76 #define RTYPE2HOWTO(cache_ptr, dst) xcoff_rtype2howto (cache_ptr, dst)
2587 xcoff_swap_ldhdr_in (bfd *abfd, const void * s, struct internal_ldhdr *dst)
2591 dst->l_version = bfd_get_32 (abfd, src->l_version);
2592 dst->l_nsyms = bfd_get_32 (abfd, src->l_nsyms);
2593 dst->l_nreloc = bfd_get_32 (abfd, src->l_nreloc);
2594 dst->l_istlen = bfd_get_32 (abfd, src->l_istlen);
2595 dst->l_nimpid = bfd_get_32 (abfd, src->l_nimpid);
2596 dst->l_impoff = bfd_get_32 (abfd, src->l_impoff);
2597 dst->l_stlen = bfd_get_32 (abfd, src->l_stlen);
2598 dst->l_stoff = bfd_get_32 (abfd, src->l_stoff);
2606 struct external_ldhdr *dst = (struct external_ldhdr *) d;
2608 bfd_put_32 (abfd, (bfd_vma) src->l_version, dst->l_version);
2609 bfd_put_32 (abfd, src->l_nsyms, dst->l_nsyms);
2610 bfd_put_32 (abfd, src->l_nreloc, dst->l_nreloc);
2611 bfd_put_32 (abfd, src->l_istlen, dst->l_istlen);
2612 bfd_put_32 (abfd, src->l_nimpid, dst->l_nimpid);
2613 bfd_put_32 (abfd, src->l_impoff, dst->l_impoff);
2614 bfd_put_32 (abfd, src->l_stlen, dst->l_stlen);
2615 bfd_put_32 (abfd, src->l_stoff, dst->l_stoff);
2621 xcoff_swap_ldsym_in (bfd *abfd, const void * s, struct internal_ldsym *dst)
2626 memcpy (dst->_l._l_name, src->_l._l_name, SYMNMLEN);
2628 dst->_l._l_l._l_zeroes = 0;
2629 dst->_l._l_l._l_offset = bfd_get_32 (abfd, src->_l._l_l._l_offset);
2631 dst->l_value = bfd_get_32 (abfd, src->l_value);
2632 dst->l_scnum = bfd_get_16 (abfd, src->l_scnum);
2633 dst->l_smtype = bfd_get_8 (abfd, src->l_smtype);
2634 dst->l_smclas = bfd_get_8 (abfd, src->l_smclas);
2635 dst->l_ifile = bfd_get_32 (abfd, src->l_ifile);
2636 dst->l_parm = bfd_get_32 (abfd, src->l_parm);
2644 struct external_ldsym *dst = (struct external_ldsym *) d;
2647 memcpy (dst->_l._l_name, src->_l._l_name, SYMNMLEN);
2650 bfd_put_32 (abfd, (bfd_vma) 0, dst->_l._l_l._l_zeroes);
2652 dst->_l._l_l._l_offset);
2654 bfd_put_32 (abfd, src->l_value, dst->l_value);
2655 bfd_put_16 (abfd, (bfd_vma) src->l_scnum, dst->l_scnum);
2656 bfd_put_8 (abfd, src->l_smtype, dst->l_smtype);
2657 bfd_put_8 (abfd, src->l_smclas, dst->l_smclas);
2658 bfd_put_32 (abfd, src->l_ifile, dst->l_ifile);
2659 bfd_put_32 (abfd, src->l_parm, dst->l_parm);
2666 struct internal_reloc *dst = (struct internal_reloc *) d;
2668 memset (dst, 0, sizeof (struct internal_reloc));
2670 dst->r_vaddr = bfd_get_32 (abfd, src->r_vaddr);
2671 dst->r_symndx = bfd_get_32 (abfd, src->r_symndx);
2672 dst->r_size = bfd_get_8 (abfd, src->r_size);
2673 dst->r_type = bfd_get_8 (abfd, src->r_type);
2680 struct external_reloc *dst = (struct external_reloc *) d;
2682 bfd_put_32 (abfd, src->r_vaddr, dst->r_vaddr);
2683 bfd_put_32 (abfd, src->r_symndx, dst->r_symndx);
2684 bfd_put_8 (abfd, src->r_type, dst->r_type);
2685 bfd_put_8 (abfd, src->r_size, dst->r_size);
2693 xcoff_swap_ldrel_in (bfd *abfd, const void * s, struct internal_ldrel *dst)
2697 dst->l_vaddr = bfd_get_32 (abfd, src->l_vaddr);
2698 dst->l_symndx = bfd_get_32 (abfd, src->l_symndx);
2699 dst->l_rtype = bfd_get_16 (abfd, src->l_rtype);
2700 dst->l_rsecnm = bfd_get_16 (abfd, src->l_rsecnm);
2708 struct external_ldrel *dst = (struct external_ldrel *) d;
2710 bfd_put_32 (abfd, src->l_vaddr, dst->l_vaddr);
2711 bfd_put_32 (abfd, src->l_symndx, dst->l_symndx);
2712 bfd_put_16 (abfd, (bfd_vma) src->l_rtype, dst->l_rtype);
2713 bfd_put_16 (abfd, (bfd_vma) src->l_rsecnm, dst->l_rsecnm);