Home
last modified time | relevance | path

Searched refs:reloc_dst (Results 1 – 3 of 3) sorted by relevance

/toolchain/binutils/binutils-2.25/bfd/
Dpe-mips.c528 struct internal_reloc *reloc_dst = (struct internal_reloc *) dst; in mips_swap_reloc_in() local
530 reloc_dst->r_vaddr = H_GET_32 (abfd, reloc_src->r_vaddr); in mips_swap_reloc_in()
531 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in mips_swap_reloc_in()
532 reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type); in mips_swap_reloc_in()
533 reloc_dst->r_size = 0; in mips_swap_reloc_in()
534 reloc_dst->r_extern = 0; in mips_swap_reloc_in()
535 reloc_dst->r_offset = 0; in mips_swap_reloc_in()
537 switch (reloc_dst->r_type) in mips_swap_reloc_in()
540 pair_prev = *reloc_dst; in mips_swap_reloc_in()
543 reloc_dst->r_offset = reloc_dst->r_symndx; in mips_swap_reloc_in()
[all …]
Dpeicode.h133 struct internal_reloc *reloc_dst = (struct internal_reloc *) dst; in coff_swap_reloc_in() local
135 reloc_dst->r_vaddr = H_GET_32 (abfd, reloc_src->r_vaddr); in coff_swap_reloc_in()
136 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in coff_swap_reloc_in()
137 reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type); in coff_swap_reloc_in()
139 reloc_dst->r_offset = SWAP_IN_RELOC_OFFSET (abfd, reloc_src->r_offset); in coff_swap_reloc_in()
147 struct external_reloc *reloc_dst = (struct external_reloc *) dst; in coff_swap_reloc_out() local
149 H_PUT_32 (abfd, reloc_src->r_vaddr, reloc_dst->r_vaddr); in coff_swap_reloc_out()
150 H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx); in coff_swap_reloc_out()
151 H_PUT_16 (abfd, reloc_src->r_type, reloc_dst->r_type); in coff_swap_reloc_out()
154 SWAP_OUT_RELOC_OFFSET (abfd, reloc_src->r_offset, reloc_dst->r_offset); in coff_swap_reloc_out()
[all …]
Dcoffswap.h218 struct internal_reloc *reloc_dst = (struct internal_reloc *) dst; in coff_swap_reloc_in() local
220 reloc_dst->r_vaddr = GET_RELOC_VADDR (abfd, reloc_src->r_vaddr); in coff_swap_reloc_in()
221 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in coff_swap_reloc_in()
222 reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type); in coff_swap_reloc_in()
225 reloc_dst->r_offset = SWAP_IN_RELOC_OFFSET (abfd, reloc_src->r_offset); in coff_swap_reloc_in()
233 struct external_reloc *reloc_dst = (struct external_reloc *) dst; in coff_swap_reloc_out() local
235 PUT_RELOC_VADDR (abfd, reloc_src->r_vaddr, reloc_dst->r_vaddr); in coff_swap_reloc_out()
236 H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx); in coff_swap_reloc_out()
237 H_PUT_16 (abfd, reloc_src->r_type, reloc_dst->r_type); in coff_swap_reloc_out()
240 SWAP_OUT_RELOC_OFFSET (abfd, reloc_src->r_offset, reloc_dst->r_offset); in coff_swap_reloc_out()
[all …]