/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-pj.c | 45 bfd_byte *hit_data = addr + (bfd_byte *) data; in pj_elf_reloc() local 70 insn = bfd_get_32 (abfd, hit_data); in pj_elf_reloc() 72 bfd_put_32 (abfd, (bfd_vma) insn, hit_data); in pj_elf_reloc() 79 insn = bfd_getb32 (hit_data); in pj_elf_reloc() 81 bfd_putb32 ((bfd_vma) insn, hit_data); in pj_elf_reloc() 85 insn = bfd_getb16 (hit_data); in pj_elf_reloc() 89 bfd_putb16 ((bfd_vma) insn, hit_data); in pj_elf_reloc() 92 insn = bfd_getb16 (hit_data); in pj_elf_reloc() 94 bfd_putb16 ((bfd_vma) insn, hit_data); in pj_elf_reloc() 98 insn = bfd_getb16 (hit_data); in pj_elf_reloc() [all …]
|
D | elf32-xc16x.c | 258 bfd_byte *hit_data = contents + offset; in elf32_xc16x_final_link_relocate() local 268 bfd_put_16 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 272 bfd_put_8 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 281 bfd_put_16 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 290 bfd_put_16 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 299 bfd_put_16 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 308 bfd_put_16 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 320 bfd_put_32 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate() 325 bfd_put_32 (input_bfd, value, hit_data); in elf32_xc16x_final_link_relocate()
|
D | elf32-cr16.c | 864 bfd_byte *hit_data = contents + offset; in cr16_elf_final_link_relocate() local 895 hit_data += 2; in cr16_elf_final_link_relocate() 982 Rvalue1 = bfd_get_16 (input_bfd, hit_data); in cr16_elf_final_link_relocate() 985 bfd_put_16 (input_bfd, Rvalue, hit_data); in cr16_elf_final_link_relocate() 989 Rvalue1 = bfd_get_16 (input_bfd, hit_data); in cr16_elf_final_link_relocate() 992 bfd_put_16 (input_bfd, Rvalue, hit_data); in cr16_elf_final_link_relocate() 996 Rvalue1 = bfd_get_16 (input_bfd, hit_data); in cr16_elf_final_link_relocate() 998 bfd_put_16 (input_bfd, Rvalue, hit_data); in cr16_elf_final_link_relocate() 1002 bfd_put_8 (input_bfd, (unsigned char) Rvalue, hit_data); in cr16_elf_final_link_relocate() 1009 Rvalue |= (bfd_get_16 (input_bfd, hit_data)); in cr16_elf_final_link_relocate() [all …]
|
D | elf32-crx.c | 442 bfd_byte *hit_data = contents + offset; in crx_elf_final_link_relocate() local 461 hit_data += 2; in crx_elf_final_link_relocate() 538 Rvalue |= (bfd_get_8 (input_bfd, hit_data) & 0x0f); in crx_elf_final_link_relocate() 541 bfd_put_8 (input_bfd, (unsigned char) Rvalue, hit_data); in crx_elf_final_link_relocate() 546 Rvalue |= (bfd_get_16 (input_bfd, hit_data) & 0xf000); in crx_elf_final_link_relocate() 548 bfd_put_16 (input_bfd, Rvalue, hit_data); in crx_elf_final_link_relocate() 555 Rvalue |= (((bfd_get_16 (input_bfd, hit_data) << 16) | in crx_elf_final_link_relocate() 556 bfd_get_16 (input_bfd, hit_data + 2)) & ~howto->dst_mask); in crx_elf_final_link_relocate() 563 bfd_put_32 (input_bfd, Rvalue, hit_data); in crx_elf_final_link_relocate() 572 bfd_put_16 (input_bfd, (Rvalue >> 16) & 0xffff, hit_data); in crx_elf_final_link_relocate() [all …]
|
D | elf-m10200.c | 243 bfd_byte *hit_data = contents + offset; in mn10200_elf_final_link_relocate() local 253 bfd_put_32 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 262 bfd_put_16 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 271 bfd_put_8 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 281 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); in mn10200_elf_final_link_relocate() 282 bfd_put_32 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 294 bfd_put_8 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 306 bfd_put_16 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate() 319 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); in mn10200_elf_final_link_relocate() 320 bfd_put_32 (input_bfd, value, hit_data); in mn10200_elf_final_link_relocate()
|
D | elf32-score.c | 1979 bfd_byte *hit_data = contents + rel->r_offset; in score_elf_final_link_relocate() local 2052 addend = (bfd_get_32 (input_bfd, hit_data) >> howto->bitpos) & howto->src_mask; in score_elf_final_link_relocate() 2056 addend = (score_bfd_get_32 (input_bfd, hit_data) >> howto->bitpos) & howto->src_mask; in score_elf_final_link_relocate() 2152 bfd_put_32 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2159 score_bfd_put_16 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2163 addend = score_bfd_get_32 (input_bfd, hit_data); in score_elf_final_link_relocate() 2173 score_bfd_put_32 (input_bfd, addend, hit_data); in score_elf_final_link_relocate() 2181 addend = score_bfd_get_48 (input_bfd, hit_data); in score_elf_final_link_relocate() 2198 score_bfd_put_48 (input_bfd, addend, hit_data); in score_elf_final_link_relocate() 2208 addend = score_bfd_get_48 (input_bfd, hit_data); in score_elf_final_link_relocate() [all …]
|
D | elf-m10300.c | 1440 bfd_byte * hit_data = contents + offset; in mn10300_elf_final_link_relocate() local 1604 bfd_put_32 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() 1613 bfd_put_8 (input_bfd, value & 0xff, hit_data); in mn10300_elf_final_link_relocate() 1614 bfd_put_8 (input_bfd, (value >> 8) & 0xff, hit_data + 1); in mn10300_elf_final_link_relocate() 1615 bfd_put_8 (input_bfd, (value >> 16) & 0xff, hit_data + 2); in mn10300_elf_final_link_relocate() 1624 bfd_put_16 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() 1633 bfd_put_8 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() 1645 bfd_put_8 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() 1657 bfd_put_16 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() 1666 bfd_put_32 (input_bfd, value, hit_data); in mn10300_elf_final_link_relocate() [all …]
|
D | elf32-score7.c | 1822 bfd_byte *hit_data = contents + rel->r_offset; in score_elf_final_link_relocate() local 1922 addend = (bfd_get_32 (input_bfd, hit_data) >> howto->bitpos) & howto->src_mask; in score_elf_final_link_relocate() 2051 bfd_put_32 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2058 bfd_put_16 (input_bfd, value, hit_data); in score_elf_final_link_relocate() 2062 addend = bfd_get_32 (input_bfd, hit_data); in score_elf_final_link_relocate() 2072 bfd_put_32 (input_bfd, addend, hit_data); in score_elf_final_link_relocate() 2076 addend = bfd_get_32 (input_bfd, hit_data); in score_elf_final_link_relocate() 2088 bfd_put_32 (input_bfd, addend, hit_data); in score_elf_final_link_relocate() 2092 addend = bfd_get_16 (input_bfd, hit_data); in score_elf_final_link_relocate() 2101 bfd_put_16 (input_bfd, addend, hit_data); in score_elf_final_link_relocate() [all …]
|
D | elf32-h8300.c | 346 bfd_byte *hit_data = contents + offset; in elf32_h8_final_link_relocate() local 358 bfd_put_32 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate() 365 bfd_put_16 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate() 372 bfd_put_8 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate() 381 hit_data--; in elf32_h8_final_link_relocate() 387 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); in elf32_h8_final_link_relocate() 390 bfd_put_32 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate() 404 bfd_put_16 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate() 418 bfd_put_8 (input_bfd, value, hit_data); in elf32_h8_final_link_relocate()
|
D | elf32-arm.c | 7088 bfd_byte * hit_data, in elf32_thumb_to_arm_stub() argument 7176 insert_thumb_branch (input_bfd, ret_offset, hit_data - input_section->vma); in elf32_thumb_to_arm_stub() 7283 bfd_byte * hit_data, in elf32_arm_to_thumb_stub() argument 7313 tmp = bfd_get_32 (input_bfd, hit_data); in elf32_arm_to_thumb_stub() 7327 bfd_put_32 (output_bfd, (bfd_vma) tmp, hit_data - input_section->vma); in elf32_arm_to_thumb_stub() 8201 bfd_byte * hit_data = contents + rel->r_offset; in elf32_arm_final_link_relocate() local 8263 addend = bfd_get_32 (input_bfd, hit_data) & howto->src_mask; in elf32_arm_final_link_relocate() 8356 return elf32_arm_abs12_reloc (input_bfd, hit_data, value + addend); in elf32_arm_final_link_relocate() 8526 return elf32_arm_abs12_reloc (input_bfd, hit_data, value + addend); in elf32_arm_final_link_relocate() 8554 hit_data, sym_sec, rel->r_offset, in elf32_arm_final_link_relocate() [all …]
|
D | elf64-hppa.c | 3191 bfd_byte *hit_data = contents + offset; in elf_hppa_final_link_relocate() local 3198 insn = bfd_get_32 (input_bfd, hit_data); in elf_hppa_final_link_relocate() 3587 bfd_put_32 (input_bfd, value, hit_data); in elf_hppa_final_link_relocate() 3630 bfd_put_64 (input_bfd, value, hit_data); in elf_hppa_final_link_relocate() 3635 bfd_put_32 (input_bfd, value + addend, hit_data); in elf_hppa_final_link_relocate() 3639 bfd_put_64 (input_bfd, value + addend, hit_data); in elf_hppa_final_link_relocate() 3647 bfd_put_64 (input_bfd, value + addend, hit_data); in elf_hppa_final_link_relocate() 3660 bfd_put_64 (input_bfd, value + addend, hit_data); in elf_hppa_final_link_relocate() 3678 bfd_put_32 (input_bfd, value, hit_data); in elf_hppa_final_link_relocate() 3697 bfd_put_64 (input_bfd, value, hit_data); in elf_hppa_final_link_relocate() [all …]
|
D | coff-sh.c | 573 bfd_byte *hit_data = addr + (bfd_byte *) data; in sh_reloc() local 607 insn = bfd_get_32 (abfd, hit_data); in sh_reloc() 609 bfd_put_32 (abfd, (bfd_vma) insn, hit_data); in sh_reloc() 613 insn = bfd_get_32 (abfd, hit_data); in sh_reloc() 616 bfd_put_32 (abfd, (bfd_vma) insn, hit_data); in sh_reloc() 620 insn = bfd_get_16 (abfd, hit_data); in sh_reloc() 630 bfd_put_16 (abfd, (bfd_vma) insn, hit_data); in sh_reloc()
|
D | elf32-metag.c | 1238 bfd_byte *hit_data = contents + rel->r_offset; in metag_final_link_relocate() local 1268 opcode = bfd_get_32 (input_bfd, hit_data); in metag_final_link_relocate() 1307 bfd_put_32 (input_bfd, opcode, hit_data); in metag_final_link_relocate() 1312 opcode = bfd_get_32 (input_bfd, hit_data); in metag_final_link_relocate() 1376 bfd_put_32 (input_bfd, opcode, hit_data); in metag_final_link_relocate() 1380 opcode = bfd_get_32 (input_bfd, hit_data); in metag_final_link_relocate() 1394 bfd_put_32 (input_bfd, opcode, hit_data); in metag_final_link_relocate()
|
D | elf64-sh64.c | 1255 bfd_byte *hit_data = addr + (bfd_byte *) data; in sh_elf64_reloc() local 1280 insn = bfd_get_32 (abfd, hit_data); in sh_elf64_reloc() 1282 bfd_put_32 (abfd, insn, hit_data); in sh_elf64_reloc()
|
D | elf32-sh.c | 238 bfd_byte *hit_data = addr + (bfd_byte *) data; in sh_elf_reloc() local 268 insn = bfd_get_32 (abfd, hit_data); in sh_elf_reloc() 270 bfd_put_32 (abfd, (bfd_vma) insn, hit_data); in sh_elf_reloc() 273 insn = bfd_get_16 (abfd, hit_data); in sh_elf_reloc() 283 bfd_put_16 (abfd, (bfd_vma) insn, hit_data); in sh_elf_reloc()
|
D | elfnn-aarch64.c | 4407 bfd_byte *hit_data = contents + rel->r_offset; in elfNN_aarch64_final_link_relocate() local 4545 return _bfd_aarch64_elf_put_addend (input_bfd, hit_data, bfd_r_type, in elfNN_aarch64_final_link_relocate() 4611 return _bfd_aarch64_elf_put_addend (input_bfd, hit_data, bfd_r_type, howto, value); in elfNN_aarch64_final_link_relocate() 4721 bfd_putl32 (INSN_NOP, hit_data); in elfNN_aarch64_final_link_relocate() 4872 return _bfd_aarch64_elf_put_addend (input_bfd, hit_data, bfd_r_type, in elfNN_aarch64_final_link_relocate()
|
D | elf32-v850.c | 1951 bfd_byte *hit_data = contents + offset; in v850_elf_final_link_relocate() local 2148 return v850_elf_perform_relocation (input_bfd, r_type, value + addend, hit_data); in v850_elf_final_link_relocate()
|