/toolchain/binutils/binutils-2.25/bfd/ |
elf32-xc16x.c | 247 bfd *input_bfd, 268 bfd_put_16 (input_bfd, value, hit_data); 272 bfd_put_8 (input_bfd, value, hit_data); 281 bfd_put_16 (input_bfd, value, hit_data); 290 bfd_put_16 (input_bfd, value, hit_data); 299 bfd_put_16 (input_bfd, value, hit_data); 308 bfd_put_16 (input_bfd, value, hit_data); 320 bfd_put_32 (input_bfd, value, hit_data); 325 bfd_put_32 (input_bfd, value, hit_data); 337 bfd *input_bfd, [all...] |
elf32-moxie.c | 145 bfd *input_bfd, 156 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 187 via elf_sym_hashes (input_bfd). 198 bfd *input_bfd, 210 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 211 sym_hashes = elf_sym_hashes (input_bfd); 240 (input_bfd, symtab_hdr->sh_link, sym->st_name); 241 name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name; 247 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 256 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section [all...] |
elf32-msp430.c | 678 bfd * input_bfd, 694 if (uses_msp430x_relocs (input_bfd)) 710 if (uses_msp430x_relocs (input_bfd)) 752 if (uses_msp430x_relocs (input_bfd)) 768 srel += bfd_get_16 (input_bfd, contents); 771 bfd_put_16 (input_bfd, srel & 0xffff, contents); 778 srel += bfd_get_16 (input_bfd, contents) & 0x3ff; 802 NULL, input_bfd, input_section, relocation); 809 x = bfd_get_16 (input_bfd, contents); 811 bfd_put_16 (input_bfd, x, contents) [all...] |
reloc.c | 7552 bfd *input_bfd = link_order->u.indirect.section->owner; local [all...] |
elf32-fr30.c | 391 bfd *input_bfd, 410 x = bfd_get_32 (input_bfd, contents); 412 bfd_put_32 (input_bfd, x, contents); 418 bfd_put_32 (input_bfd, relocation, contents); 435 bfd_put_8 (input_bfd, srel >> 1, contents); 452 x = bfd_get_16 (input_bfd, contents); 454 bfd_put_16 (input_bfd, x, contents); 458 r = _bfd_final_link_relocate (howto, input_bfd, input_section, 489 via elf_sym_hashes (input_bfd). 500 bfd *input_bfd, [all...] |
elf32-m68hc1x.c | 238 bfd *input_bfd; local 260 for (input_bfd = info->input_bfds, bfd_count = 0, top_id = 0; 261 input_bfd != NULL; 262 input_bfd = input_bfd->link.next) 265 for (section = input_bfd->sections; 269 const char* name = bfd_get_section_name (input_bfd, section); 332 bfd *input_bfd; local 348 for (input_bfd = info->input_bfds, bfd_count = 0; 349 input_bfd != NULL [all...] |
coff-mcore.c | 353 bfd * input_bfd, 370 if ( input_bfd->xvec->byteorder != output_bfd->xvec->byteorder 375 input_bfd, 376 bfd_big_endian (input_bfd) ? _("big endian") : _("little endian"), 409 h = obj_coff_sym_hashes (input_bfd)[symndx]; 416 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, 439 my_name = obj_coff_strings (input_bfd) + sym->_n._n_n._n_offset; 464 (info, h->root.root.string, input_bfd, input_section, 479 input_bfd, r_type); 487 input_bfd, input_section, howto->name [all...] |
coff-alpha.c | 738 bfd *input_bfd = link_order->u.indirect.section->owner; 740 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); 757 if (! bfd_get_section_contents (input_bfd, input_section, data, 0, sz)) 760 reloc_count = bfd_canonicalize_reloc (input_bfd, input_section, 838 r = bfd_perform_relocation (input_bfd, rel, data, input_section, 850 r = bfd_perform_relocation (input_bfd, rel, data, input_section, 881 insn = bfd_get_32 (input_bfd, data + rel->address); 886 r = bfd_perform_relocation (input_bfd, rel, data, input_section, 914 insn1 = bfd_get_32 (input_bfd, data + rel->address); 915 insn2 = bfd_get_32 (input_bfd, data + rel->address + rel->addend) 733 bfd *input_bfd = link_order->u.indirect.section->owner; local [all...] |
elf32-mt.c | 208 (bfd * input_bfd, 215 insn = bfd_get_32 (input_bfd, contents + relhi->r_offset); 221 bfd_put_32 (input_bfd, insn, contents + relhi->r_offset); 249 bfd * input_bfd, 255 return _bfd_final_link_relocate (howto, input_bfd, input_section, 285 via elf_sym_hashes (input_bfd). 297 bfd * input_bfd, 309 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 310 sym_hashes = elf_sym_hashes (input_bfd); 341 (input_bfd, symtab_hdr->sh_link, sym->st_name) [all...] |
elf32-epiphany.c | 381 bfd * input_bfd, 401 if (rel->r_offset > bfd_get_section_limit (input_bfd, input_section)) 404 return _bfd_relocate_contents (howto, input_bfd, relocation, 421 return _bfd_relocate_contents (howto, input_bfd, relocation, 430 return _bfd_final_link_relocate (howto, input_bfd, input_section, 457 via elf_sym_hashes (input_bfd). 468 bfd *input_bfd, 480 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 481 sym_hashes = elf_sym_hashes (input_bfd); 510 (input_bfd, symtab_hdr->sh_link, sym->st_name) [all...] |
reloc16.c | 149 bfd *input_bfd = input_section->owner; local 152 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); 173 bfd_canonicalize_reloc (input_bfd, input_section, reloc_vector, 174 _bfd_generic_link_get_symbols (input_bfd)); 255 bfd *input_bfd = link_order->u.indirect.section->owner; local 257 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section); 274 if (!bfd_get_section_contents (input_bfd, input_section, data, 0, sz)) 281 reloc_count = bfd_canonicalize_reloc (input_bfd, 324 bfd_coff_reloc16_extra_cases (input_bfd, link_info, link_order,
|
elf32-avr.c | 916 bfd * input_bfd, 2631 bfd *input_bfd = input_section->owner; local 2916 bfd *input_bfd; local 3072 bfd *input_bfd; local [all...] |
elf32-mcore.c | 377 via elf_sym_hashes (input_bfd). 388 bfd * input_bfd, 395 Elf_Internal_Shdr * symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 396 struct elf_link_hash_entry ** sym_hashes = elf_sym_hashes (input_bfd); 404 input_bfd, 432 input_bfd, (int) r_type); 446 input_bfd, 466 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 473 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, 485 oldinst = bfd_get_16 (input_bfd, contents + offset) 531 (bfd_vma) 0, input_bfd, input_section, offset); local [all...] |
coff-mips.c | 750 bfd *input_bfd, 762 insn = bfd_get_32 (input_bfd, 767 vallo = (bfd_get_32 (input_bfd, 786 bfd_put_32 (input_bfd, (bfd_vma) insn, 795 bfd *input_bfd, 811 BFD_ASSERT (input_bfd->xvec->byteorder 817 symndx_to_section = ecoff_data (input_bfd)->symndx_to_section; 821 symndx_to_section = (asection **) bfd_alloc (input_bfd, amt); 827 bfd_get_section_by_name (input_bfd, ".text"); 829 bfd_get_section_by_name (input_bfd, ".rdata") [all...] |
elf32-iq2000.c | 286 iq2000_elf_relocate_hi16 (bfd *input_bfd, 293 insn = bfd_get_32 (input_bfd, contents + relhi->r_offset); 306 bfd_put_32 (input_bfd, insn, contents + relhi->r_offset); 311 iq2000_elf_relocate_offset16 (bfd *input_bfd, 320 insn = bfd_get_32 (input_bfd, contents + rel->r_offset); 334 bfd_put_32 (input_bfd, insn, contents + rel->r_offset); 409 bfd * input_bfd, 415 return _bfd_final_link_relocate (howto, input_bfd, input_section, 557 via elf_sym_hashes (input_bfd). 568 bfd * input_bfd, [all...] |
pe-mips.c | 592 bfd *input_bfd, 606 (_("%B: `ld -r' not supported with PE MIPS objects\n"), input_bfd); 611 BFD_ASSERT (input_bfd->xvec->byteorder 636 h = obj_coff_sym_hashes (input_bfd)[symndx]; 650 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, 684 if (! obj_pe (input_bfd)) 704 (info, h->root.root.string, input_bfd, input_section, 719 input_bfd, x); \ 733 tmp = bfd_get_32 (input_bfd, mem); 736 bfd_put_32 (input_bfd, tmp, mem) [all...] |
cofflink.c | 2398 h->root.root.string, o, input_bfd, ps, ps->owner); local [all...] |
elf32-d10v.c | 390 bfd *input_bfd, 402 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr; 403 sym_hashes = elf_sym_hashes (input_bfd); 444 addend = extract_rel_addend (input_bfd, where, howto); 456 insert_rel_addend (input_bfd, where, howto, addend); 463 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 470 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, 481 (input_bfd, symtab_hdr->sh_link, sym->st_name)); 483 name = bfd_section_name (input_bfd, sec); 486 r = _bfd_final_link_relocate (howto, input_bfd, input_section [all...] |
elf32-i860.c | 921 elf32_i860_relocate_splitn (bfd *input_bfd, 929 insn = bfd_get_32 (input_bfd, contents + rello->r_offset); 938 bfd_put_32 (input_bfd, insn, contents + rello->r_offset); 946 elf32_i860_relocate_pc16 (bfd *input_bfd, 955 insn = bfd_get_32 (input_bfd, contents + rello->r_offset); 970 bfd_put_32 (input_bfd, insn, contents + rello->r_offset); 978 elf32_i860_relocate_pc26 (bfd *input_bfd, 987 insn = bfd_get_32 (input_bfd, contents + rello->r_offset); 1001 bfd_put_32 (input_bfd, insn, contents + rello->r_offset); 1008 elf32_i860_relocate_highadj (bfd *input_bfd, [all...] |
coff-i960.c | 367 bfd *input_bfd, 399 h = obj_coff_sym_hashes (input_bfd)[symndx]; 453 (info, h->root.root.string, input_bfd, input_section, 479 input_bfd, input_section, 502 esyms = (bfd_byte *) obj_coff_external_syms (input_bfd); 503 esyms += (symndx + 2) * bfd_coff_symesz (input_bfd); 504 bfd_coff_swap_aux_in (input_bfd, esyms, sym->n_type, 510 word = bfd_get_32 (input_bfd, 514 bfd_put_32 (input_bfd, 530 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section [all...] |
elf-m10200.c | 231 bfd *input_bfd, 253 bfd_put_32 (input_bfd, value, hit_data); 262 bfd_put_16 (input_bfd, value, hit_data); 271 bfd_put_8 (input_bfd, value, hit_data); 281 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); 282 bfd_put_32 (input_bfd, value, hit_data); 294 bfd_put_8 (input_bfd, value, hit_data); 306 bfd_put_16 (input_bfd, value, hit_data); 319 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000); 320 bfd_put_32 (input_bfd, value, hit_data) 1282 bfd *input_bfd = input_section->owner; local [all...] |
elf32-crx.c | 433 crx_elf_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, 538 Rvalue |= (bfd_get_8 (input_bfd, hit_data) & 0x0f); 541 bfd_put_8 (input_bfd, (unsigned char) Rvalue, hit_data); 546 Rvalue |= (bfd_get_16 (input_bfd, hit_data) & 0xf000); 548 bfd_put_16 (input_bfd, Rvalue, hit_data); 555 Rvalue |= (((bfd_get_16 (input_bfd, hit_data) << 16) | 556 bfd_get_16 (input_bfd, hit_data + 2)) & ~howto->dst_mask); 563 bfd_put_32 (input_bfd, Rvalue, hit_data); 572 bfd_put_16 (input_bfd, (Rvalue >> 16) & 0xffff, hit_data); 573 bfd_put_16 (input_bfd, Rvalue & 0xffff, hit_data + 2) 728 bfd *input_bfd = input_section->owner; local [all...] |
elf32-mep.c | 236 bfd * input_bfd, 249 if (bfd_big_endian (input_bfd)) 436 via elf_sym_hashes (input_bfd). 448 bfd * input_bfd, 460 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 461 sym_hashes = elf_sym_hashes (input_bfd); 492 (input_bfd, symtab_hdr->sh_link, sym->st_name); 493 name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name; 499 RELOC_FOR_GLOBAL_SYMBOL(info, input_bfd, input_section, rel, 508 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section [all...] |
elf32-xstormy16.c | 757 via elf_sym_hashes (input_bfd). 768 bfd * input_bfd, 782 symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr; 783 sym_hashes = elf_sym_hashes (input_bfd); 825 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 832 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, 843 (input_bfd, symtab_hdr->sh_link, sym->st_name)); 845 name = bfd_section_name (input_bfd, sec); 855 x = bfd_get_32 (input_bfd, contents + rel->r_offset); 859 bfd_put_32 (input_bfd, x, contents + rel->r_offset) [all...] |
coff-tic80.c | 483 bfd *input_bfd, 515 h = obj_coff_sym_hashes (input_bfd)[symndx]; 529 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, 571 (info, h->root.root.string, input_bfd, input_section, 593 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 604 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 617 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 636 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, 676 input_bfd, input_section, (unsigned long) rel->r_vaddr); 689 name = _bfd_coff_internal_syment_name (input_bfd, sym, buf) [all...] |