• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/binutils/bfd/

Lines Matching defs:bfd

31 #include "bfd.h"
34 #include "elf-bfd.h"
52 (2) SYMBOL + OFFSET addresses, where SYMBOL is local to an input bfd
60 the symbol and the input bfd that references it. If it turns out
62 create separate GOTs for each input bfd.
66 on the symbol. The input bfd given by the "abfd" field is somewhat
76 mips_got_entries for the same symbol, each with a different input bfd.
82 /* The input bfd in which the symbol is defined. */
83 bfd *abfd;
146 /* Map an input bfd to a got in a multi-got link. */
149 bfd *bfd;
154 create and merge bfd's gots. */
160 /* The output bfd. */
161 bfd *obfd;
168 /* A non-primary got we're trying to merge with other input bfd's
361 bfd *abfd;
492 (bfd *, struct bfd_link_info *, bfd *, struct mips_got_info *, asection *,
499 (bfd *, asection *);
501 (bfd *, struct bfd_link_info *, const Elf_Internal_Rela *,
507 (bfd *, struct mips_got_info *, bfd *);
509 (struct mips_got_info *, bfd *);
512 static bfd *reldyn_sorting_bfd;
663 #define MNAME(bfd,pre,pos) \
664 (ABI_64_P (bfd) ? CONCAT4 (pre,64,_,pos) : CONCAT4 (pre,32,_,pos))
665 #define ELF_R_SYM(bfd, i) \
666 (ABI_64_P (bfd) ? ELF64_R_SYM (i) : ELF32_R_SYM (i))
667 #define ELF_R_TYPE(bfd, i) \
668 (ABI_64_P (bfd) ? ELF64_MIPS_R_TYPE (i) : ELF32_R_TYPE (i))
669 #define ELF_R_INFO(bfd, s, t) \
670 (ABI_64_P (bfd) ? ELF64_R_INFO (s, t) : ELF32_R_INFO (s, t))
672 #define MNAME(bfd,pre,pos) CONCAT4 (pre,32,_,pos)
673 #define ELF_R_SYM(bfd, i) \
675 #define ELF_R_TYPE(bfd, i) \
677 #define ELF_R_INFO(bfd, s, t) \
852 _bfd_mips_elf_new_section_hook (bfd *abfd, asection *sec)
873 _bfd_mips_elf_read_ecoff_info (bfd *abfd, asection *section,
960 ecoff_swap_rpdr_out (bfd *abfd, const RPDR *in, struct rpdr_ext *ex)
978 mips_elf_create_procedure_table (void *handle, bfd *abfd,
1261 _bfd_mips16_elf_reloc_unshuffle (bfd *abfd, int r_type,
1288 _bfd_mips16_elf_reloc_shuffle (bfd *abfd, int r_type,
1322 _bfd_mips_elf_gprel16_with_gp (bfd *abfd, asymbol *symbol,
1397 _bfd_mips_elf_hi16_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
1399 asection *input_section, bfd *output_bfd,
1428 _bfd_mips_elf_got16_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1430 bfd *output_bfd, char **error_message)
1449 _bfd_mips_elf_lo16_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol,
1451 bfd *output_bfd, char **error_message)
1504 _bfd_mips_elf_generic_reloc (bfd *abfd ATTRIBUTE_UNUSED, arelent *reloc_entry,
1506 asection *input_section, bfd *output_bfd,
1578 bfd_mips_elf32_swap_gptab_in (bfd *abfd, const Elf32_External_gptab *ex,
1586 bfd_mips_elf32_swap_gptab_out (bfd *abfd, const Elf32_gptab *in,
1594 bfd_elf32_swap_compact_rel_out (bfd *abfd, const Elf32_compact_rel *in,
1606 bfd_elf32_swap_crinfo_out (bfd *abfd, const Elf32_crinfo *in,
1626 bfd_mips_elf32_swap_reginfo_in (bfd *abfd, const Elf32_External_RegInfo *ex,
1638 bfd_mips_elf32_swap_reginfo_out (bfd *abfd, const Elf32_RegInfo *in,
1656 bfd_mips_elf64_swap_reginfo_in (bfd *abfd, const Elf64_External_RegInfo *ex,
1669 bfd_mips_elf64_swap_reginfo_out (bfd *abfd, const Elf64_Internal_RegInfo *in,
1684 bfd_mips_elf_swap_options_in (bfd *abfd, const Elf_External_Options *ex,
1696 bfd_mips_elf_swap_options_out (bfd *abfd, const Elf_Internal_Options *in,
2012 even if the input bfd in which they're referenced differs, so the
2063 bfd *dynobj;
2088 mips_elf_got_section (bfd *abfd, bfd_boolean maybe_excluded)
2102 mips_elf_got_info (bfd *abfd, asection **sgotp)
2212 mips_elf_output_dynamic_relocation (bfd *output_bfd,
2243 mips_elf_initialize_tls_slots (bfd *abfd, bfd_vma got_offset,
2252 bfd *dynobj;
2370 mips_tls_got_index (bfd *abfd, bfd_vma got_index, unsigned char *tls_type,
2439 mips_elf_local_got_index (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2472 mips_elf_global_got_index (bfd *abfd, bfd *ibfd, struct elf_link_hash_entry *h,
2558 mips_elf_got_page (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2588 mips_elf_got16_entry (bfd *abfd, bfd *ibfd, struct bfd_link_info *info,
2616 mips_elf_got_offset_from_index (bfd *dynobj, bfd *output_bfd,
2617 bfd *input_bfd, bfd_vma index)
2636 mips_elf_create_local_got_entry (bfd *abfd, struct bfd_link_info *info,
2637 bfd *ibfd, struct mips_got_info *gg,
2755 bfd *dynobj;
2839 bfd *abfd, struct bfd_link_info *info,
2902 SYMNDX in input bfd ABDF, plus ADDEND. */
2905 mips_elf_record_local_got_symbol (bfd *abfd, long symndx, bfd_vma addend,
2964 /* Compute the hash value of the bfd in a bfd2got hash entry. */
2972 return entry->bfd->id;
2975 /* Check whether two hash entries have the same bfd. */
2985 return e1->bfd == e2->bfd;
2992 mips_elf_got_for_ibfd (struct mips_got_info *g, bfd *ibfd)
2999 e.bfd = ibfd;
3004 /* Create one separate got for each bfd that has entries in the global
3006 bfd requires. */
3018 /* Find the got_info for this GOT entry's input bfd. Create one if
3020 bfdgot_entry.bfd = entry->abfd;
3039 bfdgot->bfd = entry->abfd;
3067 /* Insert the GOT entry in the bfd's got entry hash table. */
3127 /* If it looks like we can merge this bfd's entries with those of
3229 /* There are separate mips_got_entry objects for each input bfd
3340 /* If we can't find this entry with the new bfd hash, re-insert
3379 /* Return the offset of an input bfd IBFD's GOT from the beginning of
3382 mips_elf_adjust_gp (bfd *abfd, struct mips_got_info *g, bfd *ibfd)
3403 mips_elf_multi_got (bfd *abfd, struct bfd_link_info *info,
3421 /* Count how many GOT entries each input bfd requires, creating a
3422 map from bfd to got info while at that. */
3430 compute the maximum number of pages that each separate input bfd
3477 /* Map the output bfd to the primary got. That's what we're going
3492 bfdgot->bfd = abfd;
3609 mips_elf_next_relocation (bfd *abfd ATTRIBUTE_UNUSED, unsigned int r_type,
3631 mips_elf_local_relocation_p (bfd *input_bfd,
3739 (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED)
3764 mips_elf_create_got_section (bfd *abfd, struct bfd_link_info *info,
3881 mips_elf_calculate_relocation (bfd *abfd, bfd *input_bfd,
3930 bfd *dynobj;
4613 bfd *input_bfd, bfd_byte *contents)
4637 bfd_vma value, bfd *input_bfd,
4733 mips16_stub_section_p (bfd *abfd ATTRIBUTE_UNUSED, asection *section)
4744 mips_elf_allocate_dynamic_relocations (bfd *abfd, struct bfd_link_info *info,
4774 mips_elf_create_dynamic_relocation (bfd *output_bfd,
4783 bfd *dynobj;
5073 elf_mips_abi_name (bfd *abfd)
5121 _bfd_mips_elf_symbol_processing (bfd *abfd, asymbol *asym)
5253 _bfd_mips_elf_eh_frame_address_size (bfd *abfd, asection *sec)
5297 _bfd_mips_elf_name_local_section_symbols (bfd *abfd)
5309 _bfd_mips_elf_section_processing (bfd *abfd, Elf_Internal_Shdr *hdr)
5442 _bfd_mips_elf_section_from_shdr (bfd *abfd,
5613 _bfd_mips_elf_fake_sections (bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec)
5732 _bfd_mips_elf_section_from_bfd_section (bfd *abfd ATTRIBUTE_UNUSED,
5753 _bfd_mips_elf_add_symbol_hook (bfd *abfd, struct bfd_link_info *info,
5946 _bfd_mips_elf_create_dynamic_sections (bfd *abfd, struct bfd_link_info *info)
6143 _bfd_mips_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
6147 bfd *dynobj;
6781 _bfd_mips_relax_section (bfd *abfd, asection *sec,
6961 bfd *dynobj;
7059 bfd *dynobj;
7194 count_section_dynsyms (bfd *output_bfd, struct bfd_link_info *info)
7219 _bfd_mips_elf_always_size_sections (bfd *output_bfd,
7224 bfd *dynobj;
7231 bfd *sub;
7356 _bfd_mips_elf_size_dynamic_sections (bfd *output_bfd,
7359 bfd *dynobj;
7704 mips_elf_adjust_addend (bfd *output_bfd, struct bfd_link_info *info,
7705 bfd *input_bfd, Elf_Internal_Sym *local_syms,
7743 _bfd_mips_elf_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
7744 bfd *input_bfd, asection *input_section,
8156 mips_elf_irix6_finish_dynamic_symbol (bfd *abfd ATTRIBUTE_UNUSED,
8206 _bfd_mips_elf_finish_dynamic_symbol (bfd *output_bfd,
8211 bfd *dynobj;
8440 _bfd_mips_vxworks_finish_dynamic_symbol (bfd *output_bfd,
8445 bfd *dynobj;
8613 mips_vxworks_finish_exec_plt (bfd *output_bfd, struct bfd_link_info *info)
8686 mips_vxworks_finish_shared_plt (bfd *output_bfd, struct bfd_link_info *info)
8702 _bfd_mips_elf_finish_dynamic_sections (bfd *output_bfd,
8705 bfd *dynobj;
9121 mips_set_isa_flags (bfd *abfd)
9226 _bfd_mips_elf_final_write_processing (bfd *abfd,
9312 _bfd_mips_elf_additional_program_headers (bfd *abfd,
9347 _bfd_mips_elf_modify_segment_map (bfd *abfd,
9621 _bfd_mips_elf_gc_sweep_hook (bfd *abfd ATTRIBUTE_UNUSED,
9699 bfd *dynobj;
9770 _bfd_mips_elf_discard_info (bfd *abfd, struct elf_reloc_cookie *cookie,
9837 _bfd_mips_elf_write_section (bfd *output_bfd,
9878 _bfd_mips_elf_find_nearest_line (bfd *abfd, asection *section,
9979 _bfd_mips_elf_find_inliner_info (bfd *abfd,
9998 _bfd_mips_elf_set_section_contents (bfd *abfd, sec_ptr section,
10034 (bfd *abfd,
10042 bfd *input_bfd = link_order->u.indirect.section->owner;
10123 knowing the gp of the output bfd. */
10198 _bfd_mips_elf_link_hash_table_create (bfd *abfd)
10242 _bfd_mips_vxworks_link_hash_table_create (bfd *abfd)
10263 _bfd_mips_elf_final_link (bfd *abfd, struct bfd_link_info *info)
10299 bfd *dynobj;
10383 bfd *input_bfd;
10499 bfd *input_bfd;
10519 /* I don't know what a non MIPS ELF bfd would be
10729 bfd *input_bfd;
10976 /* Return true if bfd machine EXTENSION is an extension of machine BASE. */
11024 mips_elf_merge_obj_attributes (bfd *ibfd, bfd *obfd)
11131 _bfd_mips_elf_merge_private_bfd_data (bfd *ibfd, bfd *obfd)
11347 _bfd_mips_elf_set_private_flags (bfd *abfd, flagword flags)
11358 _bfd_mips_elf_print_private_bfd_data (bfd *abfd, void *ptr)