Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.27/bfd/
Dpe-mips.c530 RELOC *reloc_src = (RELOC *) src; in mips_swap_reloc_in() local
533 reloc_dst->r_vaddr = H_GET_32 (abfd, reloc_src->r_vaddr); in mips_swap_reloc_in()
534 reloc_dst->r_symndx = H_GET_S32 (abfd, reloc_src->r_symndx); in mips_swap_reloc_in()
535 reloc_dst->r_type = H_GET_16 (abfd, reloc_src->r_type); in mips_swap_reloc_in()
558 struct internal_reloc *reloc_src = (struct internal_reloc *)src; in mips_swap_reloc_out() local
561 switch (reloc_src->r_type) in mips_swap_reloc_out()
564 prev_addr = reloc_src->r_vaddr; in mips_swap_reloc_out()
567 if (reloc_src->r_vaddr == prev_addr) in mips_swap_reloc_out()
573 H_PUT_32 (abfd, reloc_src->r_vaddr, reloc_dst->r_vaddr); in mips_swap_reloc_out()
574 H_PUT_32 (abfd, reloc_src->r_symndx, reloc_dst->r_symndx); in mips_swap_reloc_out()
[all …]
Dcoffswap.h217 RELOC *reloc_src = (RELOC *) src; 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()
232 struct internal_reloc *reloc_src = (struct internal_reloc *) src; 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 …]
Dpeicode.h132 RELOC *reloc_src = (RELOC *) src; 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()
146 struct internal_reloc *reloc_src = (struct internal_reloc *) src; 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 …]