/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | cpu-h8500.c | 35 howto16_callback (abfd, reloc_entry, symbol_in, data, 38 arelent *reloc_entry; 45 bfd_vma addr = reloc_entry->address; 50 x = (x + relocation + reloc_entry->addend); 57 howto8_callback (abfd, reloc_entry, symbol_in, data, 60 arelent *reloc_entry; 67 bfd_vma addr = reloc_entry->address; 72 x = (x + relocation + reloc_entry->addend); 79 howto8_FFnn_callback (abfd, reloc_entry, symbol_in, data, 82 arelent *reloc_entry; [all...] |
H A D | elf32-i960.c | 110 elf32_i960_relocate (abfd, reloc_entry, symbol, data, input_section, 113 arelent *reloc_entry; 125 && reloc_entry->howto->pc_relative 126 && !reloc_entry->howto->pcrel_offset) 128 reloc_entry->addend -= symbol->value; 134 reloc_entry->addend -= symbol->section->output_section->vma; 141 && (! reloc_entry->howto->partial_inplace 142 || reloc_entry->addend == 0)) 144 reloc_entry->address += input_section->output_offset;
|
H A D | elf32-or32.c | 281 or32_elf_32_reloc (abfd, reloc_entry, symbol, data, input_section, 284 arelent *reloc_entry; 294 bfd_size_type addr = reloc_entry->address; 296 reloc_entry->address += input_section->output_offset; 311 or32_elf_16_reloc (abfd, reloc_entry, symbol, data, input_section, 314 arelent *reloc_entry; 324 bfd_size_type addr = reloc_entry->address; 326 reloc_entry->address += input_section->output_offset; 341 or32_elf_8_reloc (abfd, reloc_entry, symbol, data, input_section, 344 arelent *reloc_entry; [all...] |
H A D | elf32-d30v.c | 36 arelent *reloc_entry, 44 arelent *reloc_entry, 254 bfd_elf_d30v_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, error_message) 256 arelent *reloc_entry; 268 bfd_size_type addr = reloc_entry->address; 271 reloc_howto_type *howto = reloc_entry->howto; 277 reloc_entry->address += input_section->output_offset; 281 r = bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, 293 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 312 relocation += reloc_entry [all...] |
H A D | elf32-dlx.c | 248 _bfd_dlx_elf_hi16_reloc (abfd, reloc_entry, symbol, data, 251 arelent *reloc_entry; 268 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, 275 && reloc_entry->addend == 0) 277 reloc_entry->address += input_section->output_offset; 291 vallo = bfd_get_16 (abfd, (bfd_byte *) data + reloc_entry->address); 292 printf ("DEBUG: The relocation address = 0x%08x\n", reloc_entry->address); 300 printf ("DEBUG: The addend = 0x%08x\n", reloc_entry->addend); 307 relocation += reloc_entry->addend; 308 relocation += bfd_get_16 (abfd, (bfd_byte *)data + reloc_entry [all...] |
H A D | coff-m88k.c | 56 m88k_special_reloc (abfd, reloc_entry, symbol, data, 59 arelent *reloc_entry; 66 reloc_howto_type *howto = reloc_entry->howto; 78 reloc_entry->address += input_section->output_offset; 83 bfd_vma addr = reloc_entry->address; 108 relocation += ((reloc_entry->addend << howto->bitsize) + x); 110 reloc_entry->addend = 0; 137 reloc_entry->address += input_section->output_offset;
|
H A D | reloc.c | 556 arelent *reloc_entry, 582 arelent *reloc_entry, 590 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd); 592 reloc_howto_type *howto = reloc_entry->howto; 596 symbol = *(reloc_entry->sym_ptr_ptr); 600 reloc_entry->address += input_section->output_offset; 618 cont = howto->special_function (abfd, reloc_entry, symbol, data, 626 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 650 relocation += reloc_entry->addend; 689 relocation -= reloc_entry 581 bfd_perform_relocation(bfd *abfd, arelent *reloc_entry, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 973 bfd_install_relocation(bfd *abfd, arelent *reloc_entry, void *data_start, bfd_vma data_start_offset, asection *input_section, char **error_message) argument [all...] |
H A D | cpu-ns32k.c | 157 do_ns32k_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, 160 arelent *reloc_entry; 172 bfd_size_type addr = reloc_entry->address; 174 reloc_howto_type *howto = reloc_entry->howto; 181 reloc_entry->address += input_section->output_offset; 194 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 217 relocation += reloc_entry->addend; 255 relocation -= reloc_entry->address; 265 reloc_entry->addend = relocation; 266 reloc_entry [all...] |
H A D | elf32-pj.c | 185 pj_elf_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 188 arelent *reloc_entry; 198 bfd_vma addr = reloc_entry->address; 201 r_type = (enum elf_pj_reloc_type) reloc_entry->howto->type; 206 reloc_entry->address += input_section->output_offset; 225 insn += sym_value + reloc_entry->addend; 234 insn += sym_value + reloc_entry->addend; 240 insn += sym_value + reloc_entry->addend 247 insn += sym_value + reloc_entry->addend; 253 insn += (sym_value + reloc_entry [all...] |
H A D | elf32-i860.c | 32 arelent *reloc_entry, 45 && (! reloc_entry->howto->partial_inplace 46 || reloc_entry->addend == 0)) 48 reloc_entry->address += input_section->output_offset; 64 relocation += reloc_entry->addend; 66 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 72 + reloc_entry->address 80 addr = (bfd_byte *) data + reloc_entry->address; 83 relocation >>= reloc_entry->howto->rightshift; 84 insn = (insn & ~reloc_entry 31 i860_howto_pc26_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 94 i860_howto_pc16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 158 i860_howto_highadj_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 211 i860_howto_splitn_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument [all...] |
H A D | elf32-arc.c | 217 arc_elf_b22_pcrel (abfd, reloc_entry, symbol, data, input_section, 220 arelent * reloc_entry; 233 reloc_entry->addend -= reloc_entry->address; 236 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data,
|
H A D | elf32-mips.c | 764 _bfd_mips_elf32_gprel16_reloc (bfd *abfd, arelent *reloc_entry, argument 786 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, 795 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, argument 816 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section, 821 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry, argument 836 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 840 val = reloc_entry->addend; 842 if (reloc_entry->howto->partial_inplace) 843 val += bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry->address); 852 if (reloc_entry 868 mips32_64bit_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 903 mips16_jump_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 933 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument [all...] |
H A D | elfn32-mips.c | 1315 mips_elf_gprel16_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, 1337 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, 1345 mips_elf_literal_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, 1367 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, 1376 mips_elf_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, 1410 return gprel32_with_gp (abfd, symbol, reloc_entry, input_section, 1415 gprel32_with_gp (bfd *abfd, asymbol *symbol, arelent *reloc_entry, 1430 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 1433 if (reloc_entry->howto->src_mask == 0) 1436 val = bfd_get_32 (abfd, (bfd_byte *) data + reloc_entry 1313 mips_elf_gprel16_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 1343 mips_elf_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1374 mips_elf_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1413 gprel32_with_gp(bfd *abfd, asymbol *symbol, arelent *reloc_entry, asection *input_section, bfd_boolean relocatable, void *data, bfd_vma gp) argument 1458 mips_elf_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1498 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument [all...] |
H A D | coff-mips.c | 418 reloc_entry, 425 arelent *reloc_entry; 434 && reloc_entry->addend == 0) 436 reloc_entry->address += input_section->output_offset; 465 reloc_entry, 472 arelent *reloc_entry; 487 && reloc_entry->addend == 0) 489 reloc_entry->address += input_section->output_offset; 505 relocation += reloc_entry->addend; 507 if (reloc_entry [all...] |
H A D | mipsbsd.c | 202 mips_fix_jmp_addr (abfd, reloc_entry, symbol, data, input_section, output_bfd, 205 arelent *reloc_entry; 232 relocation += reloc_entry->addend; 235 reloc_entry->address + 4; 253 mips_fix_hi16_s (abfd, reloc_entry, symbol, data, input_section, 256 arelent *reloc_entry; 283 relocation += reloc_entry->addend; 286 reloc_entry->addend += 0x10000;
|
H A D | elf32-fr30.c | 253 fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data, 256 arelent *reloc_entry; 269 && (! reloc_entry->howto->partial_inplace 270 || reloc_entry->addend == 0)) 272 reloc_entry->address += input_section->output_offset; 284 + reloc_entry->addend; 289 x = bfd_get_32 (abfd, (char *) data + reloc_entry->address); 291 bfd_put_32 (abfd, (bfd_vma) x, (char *) data + reloc_entry->address); 300 fr30_elf_i32_reloc (abfd, reloc_entry, symbol, data, 303 arelent *reloc_entry; [all...] |
H A D | coff-i386.c | 65 coff_i386_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, 68 arelent *reloc_entry; 91 ORIG is the negative of reloc_entry->addend, which is set by 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 111 reloc_howto_type *howto = reloc_entry->howto; 123 diff = -reloc_entry->addend; 127 diff = reloc_entry->addend; 132 if (reloc_entry->howto->type == R_IMAGEBASE 143 reloc_howto_type *howto = reloc_entry [all...] |
H A D | coff-a29k.c | 74 a29k_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 77 arelent *reloc_entry; 93 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/ 96 r_type = reloc_entry->howto->type; 101 reloc_entry->address += input_section->output_offset; 137 if (signed_value == - (long) reloc_entry->address) 140 signed_value += sym_value + reloc_entry->addend; 150 signed_value -= (reloc_entry->address 163 unsigned_value += sym_value + reloc_entry->addend; 172 part1_consth_value = sym_value + reloc_entry [all...] |
H A D | coff-or32.c | 80 or32_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 83 arelent *reloc_entry; 101 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/ 104 r_type = reloc_entry->howto->type; 109 reloc_entry->address += input_section->output_offset; 147 if (signed_value == - (long) reloc_entry->address) 150 signed_value += sym_value + reloc_entry->addend; 162 signed_value -= (reloc_entry->address 176 unsigned_value += sym_value + reloc_entry->addend; 187 part1_consth_value = sym_value + reloc_entry [all...] |
H A D | elf64-mips.c | 1506 mips_elf64_gprel16_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, 1520 reloc_entry->address += input_section->output_offset; 1537 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, 1545 mips_elf64_literal_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, 1559 reloc_entry->address += input_section->output_offset; 1577 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, 1586 mips_elf64_gprel32_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, 1628 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 1632 val = reloc_entry->addend; 1634 if (reloc_entry 1502 mips_elf64_gprel16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1541 mips_elf64_literal_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1582 mips_elf64_gprel32_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1655 mips_elf64_shift6_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1673 mips16_jump_reloc(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol, void *data ATTRIBUTE_UNUSED, asection *input_section, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 1704 mips16_gprel_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument [all...] |
H A D | coff-tic80.c | 366 ppbase_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 369 arelent *reloc_entry ATTRIBUTE_UNUSED; 383 glob15_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 386 arelent *reloc_entry ATTRIBUTE_UNUSED; 400 glob16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 403 arelent *reloc_entry ATTRIBUTE_UNUSED; 417 local16_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 420 arelent *reloc_entry ATTRIBUTE_UNUSED;
|
H A D | elf32-m68hc1x.h | 154 (bfd *abfd, arelent *reloc_entry, 158 (bfd *abfd, arelent *reloc_entry,
|
H A D | coff-ppc.c | 1022 pe_ppc_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd, 1025 arelent *reloc_entry; 1039 unsigned long addr = reloc_entry->address ; /*+ input_section->vma*/ 1041 r_type = reloc_entry->howto->type; 1046 reloc_entry->address += input_section->output_offset; 1764 ppc_refhi_reloc (abfd, reloc_entry, symbol, data, 1767 arelent *reloc_entry ATTRIBUTE_UNUSED; 1775 DUMP_RELOC("REFHI",reloc_entry); 1786 ppc_reflo_reloc (abfd, reloc_entry, symbol, data, 1789 arelent *reloc_entry; [all...] |
H A D | coff-i860.c | 50 arelent *reloc_entry, 70 ORIG is the negative of reloc_entry->addend, which is set by 75 diff = symbol->value + reloc_entry->addend; 83 diff = reloc_entry->addend; 91 reloc_howto_type *howto = reloc_entry->howto; 92 unsigned char *addr = (unsigned char *) data + reloc_entry->address; 134 arelent *reloc_entry, 141 reloc_howto_type *howto = reloc_entry->howto; 49 coff_i860_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section ATTRIBUTE_UNUSED, bfd *output_bfd, char **error_message ATTRIBUTE_UNUSED) argument 133 coff_i860_reloc_nyi(bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry, asymbol *symbol ATTRIBUTE_UNUSED, void *data ATTRIBUTE_UNUSED, asection *input_section ATTRIBUTE_UNUSED, bfd *output_bfd ATTRIBUTE_UNUSED, char **error_message ATTRIBUTE_UNUSED) argument
|
H A D | coff-arm.c | 159 coff_arm_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, 162 arelent *reloc_entry; 173 diff = reloc_entry->addend; 181 reloc_howto_type *howto = reloc_entry->howto; 182 unsigned char *addr = (unsigned char *) data + reloc_entry->address; 604 aoutarm_fix_pcrel_26_done (abfd, reloc_entry, symbol, data, input_section, 607 arelent *reloc_entry ATTRIBUTE_UNUSED; 621 aoutarm_fix_pcrel_26 (abfd, reloc_entry, symbol, data, input_section, 624 arelent *reloc_entry; 632 bfd_size_type addr = reloc_entry [all...] |