Searched refs:input_bfd (Results 1 - 25 of 84) sorted by relevance

1234

/haiku-fatelf/src/bin/gdb/bfd/
H A Delf32-avr.c488 avr_final_link_relocate (howto, input_bfd, input_section,
491 bfd * input_bfd;
516 x = bfd_get_16 (input_bfd, contents);
518 bfd_put_16 (input_bfd, x, contents);
540 switch (bfd_get_mach (input_bfd))
551 x = bfd_get_16 (input_bfd, contents);
553 bfd_put_16 (input_bfd, x, contents);
559 x = bfd_get_16 (input_bfd, contents);
561 bfd_put_16 (input_bfd, x, contents);
568 x = bfd_get_16 (input_bfd, content
[all...]
H A Dcoff-alpha.c769 bfd *input_bfd = link_order->u.indirect.section->owner;
771 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section);
788 if (! bfd_get_section_contents (input_bfd, input_section, data, 0, sz))
791 reloc_count = bfd_canonicalize_reloc (input_bfd, input_section,
869 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
881 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
912 insn = bfd_get_32 (input_bfd, data + rel->address);
917 r = bfd_perform_relocation (input_bfd, rel, data, input_section,
945 insn1 = bfd_get_32 (input_bfd, data + rel->address);
946 insn2 = bfd_get_32 (input_bfd, dat
764 bfd *input_bfd = link_order->u.indirect.section->owner; local
[all...]
H A Delf32-m68hc1x.c221 bfd *input_bfd; local
241 for (input_bfd = info->input_bfds, bfd_count = 0, top_id = 0;
242 input_bfd != NULL;
243 input_bfd = input_bfd->link_next)
246 for (section = input_bfd->sections;
250 const char* name = bfd_get_section_name (input_bfd, section);
313 bfd *input_bfd; local
327 for (input_bfd = info->input_bfds, bfd_count = 0;
328 input_bfd !
912 m68hc11_get_relocation_value(bfd *input_bfd, struct bfd_link_info *info, asection *input_section, asection **local_sections, Elf_Internal_Sym *local_syms, Elf_Internal_Rela *rel, const char **name, bfd_vma *relocation, bfd_boolean *is_far) argument
993 elf32_m68hc11_relocate_section(bfd *output_bfd ATTRIBUTE_UNUSED, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument
[all...]
H A Dcoff-mips.c63 bfd *input_bfd, asection *input_section, bfd_byte *contents,
785 mips_relocate_hi (refhi, reflo, input_bfd, input_section, contents,
789 bfd *input_bfd;
801 insn = bfd_get_32 (input_bfd,
806 vallo = (bfd_get_32 (input_bfd,
825 bfd_put_32 (input_bfd, (bfd_vma) insn,
832 mips_relocate_section (output_bfd, info, input_bfd, input_section,
836 bfd *input_bfd;
852 BFD_ASSERT (input_bfd->xvec->byteorder
858 symndx_to_section = ecoff_data (input_bfd)
[all...]
H A Dreloc16.c147 bfd *input_bfd = input_section->owner; local
150 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section);
167 bfd_canonicalize_reloc (input_bfd, input_section, reloc_vector,
168 _bfd_generic_link_get_symbols (input_bfd));
254 bfd *input_bfd = link_order->u.indirect.section->owner; local
256 long reloc_size = bfd_get_reloc_upper_bound (input_bfd, input_section);
273 if (!bfd_get_section_contents (input_bfd, input_section, data, 0, sz))
280 reloc_count = bfd_canonicalize_reloc (input_bfd,
323 bfd_coff_reloc16_extra_cases (input_bfd, link_info, link_order,
H A Dpe-mips.c613 coff_pe_mips_relocate_section (output_bfd, info, input_bfd,
618 bfd *input_bfd;
636 (_("%B: `ld -r' not supported with PE MIPS objects\n"), input_bfd);
641 BFD_ASSERT (input_bfd->xvec->byteorder
646 input_bfd->filename, input_section->name,
681 h = obj_coff_sym_hashes (input_bfd)[symndx];
695 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h,
729 if (! obj_pe (input_bfd))
749 (info, h->root.root.string, input_bfd, input_section,
771 input_bfd,
[all...]
H A Delf32-d10v.c424 elf32_d10v_relocate_section (output_bfd, info, input_bfd, input_section,
428 bfd *input_bfd;
440 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
441 sym_hashes = elf_sym_hashes (input_bfd);
487 val += extract_rel_addend (input_bfd, where, howto);
488 insert_rel_addend (input_bfd, where, howto, val);
510 addend = extract_rel_addend (input_bfd, where, howto);
515 insert_rel_addend (input_bfd, where, howto, addend);
522 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
533 (input_bfd, symtab_hd
[all...]
H A Delf32-mcore.c386 via elf_sym_hashes (input_bfd).
395 mcore_elf_relocate_section (output_bfd, info, input_bfd, input_section,
399 bfd * input_bfd;
406 Elf_Internal_Shdr * symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr;
407 struct elf_link_hash_entry ** sym_hashes = elf_sym_hashes (input_bfd);
415 input_bfd,
446 input_bfd, (int) r_type);
460 input_bfd,
480 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
492 oldinst = bfd_get_16 (input_bfd, content
[all...]
H A Delf32-openrisc.c262 openrisc_final_link_relocate (howto, input_bfd, input_section, contents, rel,
265 bfd *input_bfd;
277 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
283 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
313 via elf_sym_hashes (input_bfd).
322 openrisc_elf_relocate_section (output_bfd, info, input_bfd, input_section,
326 bfd *input_bfd;
341 symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
342 sym_hashes = elf_sym_hashes (input_bfd);
381 (input_bfd, symtab_hd
[all...]
H A Dreloc.c1341 bfd *input_bfd,
1351 if (address > bfd_get_section_limit (input_bfd, input_section))
1378 return _bfd_relocate_contents (howto, input_bfd, relocation,
1386 bfd *input_bfd,
1409 x = bfd_get_8 (input_bfd, location);
1412 x = bfd_get_16 (input_bfd, location);
1415 x = bfd_get_32 (input_bfd, location);
1419 x = bfd_get_64 (input_bfd, location);
1441 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask;
1560 bfd_put_8 (input_bfd,
1340 _bfd_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, bfd_vma address, bfd_vma value, bfd_vma addend) argument
1385 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
4432 bfd *input_bfd = link_order->u.indirect.section->owner; local
[all...]
H A Dcoff-mcore.c383 coff_mcore_relocate_section (output_bfd, info, input_bfd, input_section,
387 bfd * input_bfd;
406 if ( input_bfd->xvec->byteorder != output_bfd->xvec->byteorder
411 input_bfd,
412 bfd_big_endian (input_bfd) ? _("big endian") : _("little endian"),
448 h = obj_coff_sym_hashes (input_bfd)[symndx];
455 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h,
478 my_name = obj_coff_strings (input_bfd) + sym->_n._n_n._n_offset;
503 (info, h->root.root.string, input_bfd, input_section,
518 input_bfd, r_typ
[all...]
H A Delf32-fr30.c398 fr30_final_link_relocate (howto, input_bfd, input_section, contents, rel,
401 bfd *input_bfd;
420 x = bfd_get_32 (input_bfd, contents);
422 bfd_put_32 (input_bfd, x, contents);
428 bfd_put_32 (input_bfd, relocation, contents);
445 bfd_put_8 (input_bfd, srel >> 1, contents);
462 x = bfd_get_16 (input_bfd, contents);
464 bfd_put_16 (input_bfd, x, contents);
468 r = _bfd_final_link_relocate (howto, input_bfd, input_section,
499 via elf_sym_hashes (input_bfd)
[all...]
H A Dcofflink.c1297 mark_relocs (struct coff_final_link_info *finfo, bfd *input_bfd)
1301 if ((bfd_get_file_flags (input_bfd) & HAS_SYMS) == 0)
1304 for (a = input_bfd->sections; a != (asection *) NULL; a = a->next)
1318 (input_bfd, a, FALSE,
1345 _bfd_coff_link_input_bfd (struct coff_final_link_info *finfo, bfd *input_bfd)
1347 unsigned int n_tmask = coff_data (input_bfd)->local_n_tmask;
1348 unsigned int n_btshft = coff_data (input_bfd)->local_n_btshft;
1350 unsigned int n_btmask = coff_data (input_bfd)->local_n_btmask;
1377 isymesz = bfd_coff_symesz (input_bfd);
1379 linesz = bfd_coff_linesz (input_bfd);
1296 mark_relocs(struct coff_final_link_info *finfo, bfd *input_bfd) argument
1344 _bfd_coff_link_input_bfd(struct coff_final_link_info *finfo, bfd *input_bfd) argument
2828 _bfd_coff_generic_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, struct internal_reloc *relocs, struct internal_syment *syms, asection **sections) argument
[all...]
H A Delf32-iq2000.c333 iq2000_elf_relocate_hi16 (input_bfd, relhi, contents, value)
334 bfd *input_bfd;
341 insn = bfd_get_32 (input_bfd, contents + relhi->r_offset);
354 bfd_put_32 (input_bfd, insn, contents + relhi->r_offset);
407 iq2000_final_link_relocate (howto, input_bfd, input_section, contents, rel, relocation)
409 bfd * input_bfd;
415 return _bfd_final_link_relocate (howto, input_bfd, input_section,
551 via elf_sym_hashes (input_bfd).
560 iq2000_elf_relocate_section (output_bfd, info, input_bfd, input_section,
564 bfd * input_bfd;
[all...]
H A Delf32-i860.c904 elf32_i860_relocate_splitn (bfd *input_bfd,
912 insn = bfd_get_32 (input_bfd, contents + rello->r_offset);
921 bfd_put_32 (input_bfd, insn, contents + rello->r_offset);
929 elf32_i860_relocate_pc16 (bfd *input_bfd,
938 insn = bfd_get_32 (input_bfd, contents + rello->r_offset);
953 bfd_put_32 (input_bfd, insn, contents + rello->r_offset);
961 elf32_i860_relocate_pc26 (bfd *input_bfd,
970 insn = bfd_get_32 (input_bfd, contents + rello->r_offset);
984 bfd_put_32 (input_bfd, insn, contents + rello->r_offset);
991 elf32_i860_relocate_highadj (bfd *input_bfd,
902 elf32_i860_relocate_splitn(bfd *input_bfd, Elf_Internal_Rela *rello, bfd_byte *contents, bfd_vma value) argument
927 elf32_i860_relocate_pc16(bfd *input_bfd, asection *input_section, Elf_Internal_Rela *rello, bfd_byte *contents, bfd_vma value) argument
959 elf32_i860_relocate_pc26(bfd *input_bfd, asection *input_section, Elf_Internal_Rela *rello, bfd_byte *contents, bfd_vma value) argument
989 elf32_i860_relocate_highadj(bfd *input_bfd, Elf_Internal_Rela *rel, bfd_byte *contents, bfd_vma value) argument
1011 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument
1055 elf32_i860_relocate_section(bfd *output_bfd ATTRIBUTE_UNUSED, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument
[all...]
H A Dcoff-tic80.c493 coff_tic80_relocate_section (output_bfd, info, input_bfd,
498 bfd *input_bfd;
530 h = obj_coff_sym_hashes (input_bfd)[symndx];
544 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h,
586 (info, h->root.root.string, input_bfd, input_section,
608 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
619 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
632 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
651 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
691 input_bfd, input_sectio
[all...]
H A Delf32-crx.c422 crx_elf_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, argument
527 Rvalue |= (bfd_get_8 (input_bfd, hit_data) & 0x0f);
530 bfd_put_8 (input_bfd, (unsigned char) Rvalue, hit_data);
535 Rvalue |= (bfd_get_16 (input_bfd, hit_data) & 0xf000);
537 bfd_put_16 (input_bfd, Rvalue, hit_data);
544 Rvalue |= (((bfd_get_16 (input_bfd, hit_data) << 16) |
545 bfd_get_16 (input_bfd, hit_data + 2)) & ~howto->dst_mask);
552 bfd_put_32 (input_bfd, Rvalue, hit_data);
561 bfd_put_16 (input_bfd, (Rvalue >> 16) & 0xffff, hit_data);
562 bfd_put_16 (input_bfd, Rvalu
696 bfd *input_bfd = input_section->owner; local
794 elf32_crx_relocate_section(bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections) argument
[all...]
H A Dgenlink.h83 /* Add the symbols of input_bfd to the symbols being built for
86 PARAMS ((bfd *output_bfd, bfd *input_bfd, struct bfd_link_info *,
H A Dcoff-a29k.c315 coff_a29k_relocate_section (output_bfd, info, input_bfd, input_section,
319 bfd *input_bfd;
362 h = obj_coff_sym_hashes (input_bfd)[symndx];
400 (info, h->root.root.string, input_bfd, input_section,
409 (info, _("missing IHCONST reloc"), input_bfd,
425 insn = bfd_get_32 (input_bfd, loc);
478 bfd_put_32 (input_bfd, (bfd_vma) insn, loc);
482 insn = bfd_get_32 (input_bfd, loc);
486 bfd_put_32 (input_bfd, (bfd_vma) insn, loc);
499 (info, _("missing IHIHALF reloc"), input_bfd,
[all...]
H A Dcoff-or32.c347 coff_or32_relocate_section (output_bfd, info, input_bfd, input_section,
351 bfd *input_bfd;
395 h = obj_coff_sym_hashes (input_bfd)[symndx];
433 (info, h->root.root.string, input_bfd, input_section,
442 (info, "missing IHCONST reloc", input_bfd,
458 insn = bfd_get_32 (input_bfd, loc);
492 bfd_put_32 (input_bfd, (bfd_vma) insn, loc);
496 insn = bfd_get_32 (input_bfd, loc);
500 bfd_put_32 (input_bfd, insn, loc);
513 (info, "missing IHIHALF reloc", input_bfd,
[all...]
H A Daoutx.h3667 PARAMS ((struct aout_final_link_info *, bfd *input_bfd));
3669 PARAMS ((struct aout_final_link_info *, bfd *input_bfd));
3673 PARAMS ((struct aout_final_link_info *, bfd *input_bfd,
3677 PARAMS ((struct aout_final_link_info *, bfd *input_bfd,
3681 PARAMS ((struct aout_final_link_info *, bfd *input_bfd,
3936 bfd *input_bfd;
3938 input_bfd = p->u.indirect.section->owner;
3939 if (! input_bfd->output_has_begun)
3941 if (! aout_link_input_bfd (&aout_info, input_bfd))
3943 input_bfd
[all...]
H A Delf32-msp430.c301 msp430_final_link_relocate (reloc_howto_type * howto, bfd * input_bfd, argument
330 x = bfd_get_16 (input_bfd, contents);
332 bfd_put_16 (input_bfd, x, contents);
354 x = bfd_get_16 (input_bfd, contents);
356 bfd_put_16 (input_bfd, x, contents);
358 x = bfd_get_16 (input_bfd, contents - 2);
361 bfd_put_16 (input_bfd, x, contents - 2);
377 bfd_put_16 (input_bfd, srel & 0xffff, contents);
389 bfd_put_16 (input_bfd, srel & 0xffff, contents);
396 bfd_put_16 (input_bfd, sre
422 elf32_msp430_relocate_section(bfd * output_bfd ATTRIBUTE_UNUSED, struct bfd_link_info * info, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * relocs, Elf_Internal_Sym * local_syms, asection ** local_sections) argument
[all...]
H A Delf-m10200.c228 mn10200_elf_final_link_relocate (howto, input_bfd, output_bfd,
232 bfd *input_bfd;
254 bfd_put_32 (input_bfd, value, hit_data);
263 bfd_put_16 (input_bfd, value, hit_data);
272 bfd_put_8 (input_bfd, value, hit_data);
282 value |= (bfd_get_32 (input_bfd, hit_data) & 0xff000000);
283 bfd_put_32 (input_bfd, value, hit_data);
295 bfd_put_8 (input_bfd, value, hit_data);
307 bfd_put_16 (input_bfd, value, hit_data);
320 value |= (bfd_get_32 (input_bfd, hit_dat
1292 bfd *input_bfd = input_section->owner; local
[all...]
H A Delf-m10300.c977 mn10300_elf_final_link_relocate (howto, input_bfd, output_bfd,
981 bfd *input_bfd;
1003 local_got_offsets = elf_local_got_offsets (input_bfd);
1047 (input_bfd,
1048 elf_elfheader (input_bfd)->e_shstrndx,
1054 && strcmp (bfd_get_section_name (input_bfd,
1064 outrel.r_offset = _bfd_elf_section_offset (input_bfd, info,
1110 bfd_put_32 (input_bfd, value, hit_data);
1119 bfd_put_8 (input_bfd, value & 0xff, hit_data);
1120 bfd_put_8 (input_bfd, (valu
1681 bfd *input_bfd; local
3568 bfd *input_bfd = input_section->owner; local
[all...]
H A Dpdp11.c3340 PARAMS ((struct aout_final_link_info *, bfd *input_bfd));
3342 PARAMS ((struct aout_final_link_info *, bfd *input_bfd));
3346 PARAMS ((struct aout_final_link_info *, bfd *input_bfd,
3356 bfd *input_bfd,
3610 bfd *input_bfd;
3612 input_bfd = p->u.indirect.section->owner;
3613 if (! input_bfd->output_has_begun)
3615 if (! aout_link_input_bfd (&aout_info, input_bfd))
3617 input_bfd->output_has_begun = TRUE;
3744 aout_link_input_bfd (finfo, input_bfd)
3601 bfd *input_bfd; variable
[all...]

Completed in 156 milliseconds

1234