/haiku-fatelf/src/bin/gdb/gdb/ |
H A D | amd64-haiku-tdep.c | 42 amd64_haiku_osabi_sniffer (bfd * abfd) argument 44 char *targetName = bfd_get_target (abfd);
|
H A D | i386-haiku-tdep.c | 58 i386_haiku_osabi_sniffer (bfd * abfd) argument 60 char *targetName = bfd_get_target (abfd);
|
H A D | mipsread.c | 81 bfd *abfd = objfile->obfd; local 90 if (!((*ecoff_backend (abfd)->debug_swap.read_debug_info) 91 (abfd, (asection *) NULL, &ecoff_data (abfd)->debug_info))) 94 mdebug_build_psymtabs (objfile, &ecoff_backend (abfd)->debug_swap, 95 &ecoff_data (abfd)->debug_info); 202 bfd *abfd = objfile->obfd; local 225 if (bfd_get_arch (abfd) != bfd_arch_alpha) 230 bfd_map_over_sections (abfd, alphacoff_locate_sections, (void *) & si); 250 if (!bfd_get_section_contents (abfd, s [all...] |
H A D | dsrec.c | 33 static int make_srec (char *srec, CORE_ADDR targ_addr, bfd * abfd, 54 bfd *abfd; local 64 abfd = bfd_openr (file, 0); 65 if (!abfd) 71 if (bfd_check_format (abfd, bfd_object) == 0) 91 for (s = abfd->sections; s; s = s->next) 95 bfd_vma addr = bfd_get_section_vma (abfd, s) + load_offset; 97 char *section_name = (char *) bfd_get_section_name (abfd, s); 113 numbytes = make_srec (srec, (CORE_ADDR) (addr + i), abfd, s, 156 make_srec (srec, abfd 221 make_srec(char *srec, CORE_ADDR targ_addr, bfd *abfd, asection *sect, int sectoff, int *maxrecsize, int flags) argument [all...] |
H A D | nlmread.c | 81 void nlm_symtab_read (bfd *abfd, CORE_ADDR addr, 93 nlm_symtab_read (bfd *abfd, CORE_ADDR addr, struct objfile *objfile) argument 104 storage_needed = bfd_get_symtab_upper_bound (abfd); 106 error ("Can't read symbols from %s: %s", bfd_get_filename (abfd), 112 number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table); 114 error ("Can't read symbols from %s: %s", bfd_get_filename (abfd), 177 bfd *abfd = objfile->obfd; local 191 nlm_symtab_read (abfd, offset, objfile);
|
H A D | osabi.c | 205 gdbarch_lookup_osabi (bfd *abfd) 217 if (abfd == NULL) 232 || sniffer->arch == bfd_get_arch (abfd)) 233 && sniffer->flavour == bfd_get_flavour (abfd)) 235 osabi = (*sniffer->sniffer) (abfd); 243 bfd_printable_arch_mach (bfd_get_arch (abfd), 0), 244 (int) bfd_get_flavour (abfd)); 263 bfd_printable_arch_mach (bfd_get_arch (abfd), 0), 264 (int) bfd_get_flavour (abfd), 370 check_note (bfd *abfd, asectio 203 gdbarch_lookup_osabi(bfd *abfd) argument 367 check_note(bfd *abfd, asection *sect, const char *note, const char *name, unsigned long descsz, unsigned long type) argument 404 generic_elf_osabi_sniff_abi_tag_sections(bfd *abfd, asection *sect, void *obj) argument 497 generic_elf_osabi_sniffer(bfd *abfd) argument [all...] |
H A D | bfd-target.c | 37 add_to_section_table (struct bfd *abfd, struct bfd_section *asect, argument 44 aflag = bfd_get_section_flags (abfd, asect); 47 if (bfd_section_size (abfd, asect) == 0) 49 pp->end->bfd = abfd; 51 pp->end->addr = bfd_section_vma (abfd, asect); 52 pp->end->endaddr = pp->end->addr + bfd_section_size (abfd, asect); 57 build_target_sections_from_bfd (struct target_ops *targ, struct bfd *abfd) argument 63 count = bfd_count_sections (abfd); 67 bfd_map_over_sections (abfd, add_to_section_table, &cl);
|
H A D | i386bsd-tdep.c | 106 i386bsd_aout_osabi_sniffer (bfd *abfd) 108 if (strcmp (bfd_get_target (abfd), "a.out-i386-netbsd") == 0) 111 if (strcmp (bfd_get_target (abfd), "a.out-i386-freebsd") == 0) 118 i386bsd_core_osabi_sniffer (bfd *abfd) 120 if (strcmp (bfd_get_target (abfd), "netbsd-core") == 0) 104 i386bsd_aout_osabi_sniffer(bfd *abfd) argument 116 i386bsd_core_osabi_sniffer(bfd *abfd) argument
|
/haiku-fatelf/src/bin/gdb/include/coff/ |
H A D | external.h | 116 #define GET_LINENO_LNNO(abfd, ext) H_GET_32 (abfd, (ext->l_lnno)) 117 #define PUT_LINENO_LNNO(abfd, val, ext) H_PUT_32 (abfd, val, (ext->l_lnno)) 120 #define GET_LINENO_LNNO(abfd, ext) H_GET_16 (abfd, (ext->l_lnno)) 121 #define PUT_LINENO_LNNO(abfd, val, ext) H_PUT_16 (abfd, val, (ext->l_lnno))
|
/haiku-fatelf/src/bin/gdb/bfd/ |
H A D | coff-rs6000.c | 103 PARAMS ((bfd *abfd)); 107 PARAMS ((bfd *abfd)); 109 PARAMS ((bfd *abfd)); 244 _bfd_xcoff_mkobject (abfd) 245 bfd *abfd; 250 abfd->tdata.xcoff_obj_data = (struct xcoff_tdata *) bfd_zalloc (abfd, amt); 251 if (abfd->tdata.xcoff_obj_data == NULL) 253 coff = coff_data (abfd); 259 xcoff_data (abfd) 3563 _bfd_xcoff_put_symbol_name(bfd *abfd, struct bfd_strtab_hash *strtab, struct internal_syment *sym, const char *name) argument [all...] |
H A D | nlm32-alpha.c | 62 nlm_alpha_backend_object_p (abfd) 63 bfd *abfd; 68 if (bfd_bread ((PTR) &s, (bfd_size_type) sizeof s, abfd) != sizeof s) 71 if (H_GET_32 (abfd, s.magic) != NLM32_ALPHA_MAGIC) 77 size = H_GET_32 (abfd, s.size); 78 if (bfd_seek (abfd, size, SEEK_SET) != 0) 87 nlm_alpha_write_prefix (abfd) 88 bfd *abfd; 93 H_PUT_32 (abfd, NLM32_ALPHA_MAGIC, s.magic); 94 H_PUT_32 (abfd, [all...] |
H A D | mipsbsd.c | 51 static void MY(set_arch_mach) PARAMS ((bfd *abfd, unsigned long machtype)); 52 static void MY(choose_reloc_size) PARAMS ((bfd *abfd)); 55 static bfd_boolean MY(write_object_contents) PARAMS ((bfd *abfd)); 81 MY(set_arch_mach) (abfd, machtype) 82 bfd *abfd; 107 bfd_set_arch_mach (abfd, arch, machine); 112 MY (choose_reloc_size) (abfd) 113 bfd *abfd; 115 switch (bfd_get_arch (abfd)) 120 obj_reloc_entry_size (abfd) [all...] |
H A D | elf32-or32.c | 213 bfd_elf32_bfd_reloc_type_lookup (abfd, code) 214 bfd *abfd ATTRIBUTE_UNUSED; 231 or32_info_to_howto_rel (abfd, cache_ptr, dst) 232 bfd *abfd ATTRIBUTE_UNUSED; 246 or32_elf_object_p (abfd) 247 bfd *abfd; 249 (void) bfd_default_set_arch_mach (abfd, bfd_arch_or32, 0); 257 or32_elf_final_write_processing (abfd, linker) 258 bfd *abfd; 264 switch (mach = bfd_get_mach (abfd)) [all...] |
H A D | vms.h | 414 extern asymbol *_bfd_vms_make_empty_symbol PARAMS ((bfd *abfd)); 418 extern int _bfd_vms_slurp_gsd PARAMS ((bfd *abfd, int objtype)); 419 extern int _bfd_vms_write_gsd PARAMS ((bfd *abfd, int objtype)); 423 extern int _bfd_vms_slurp_hdr PARAMS ((bfd *abfd, int objtype)); 424 extern int _bfd_vms_write_hdr PARAMS ((bfd *abfd, int objtype)); 425 extern int _bfd_vms_slurp_eom PARAMS ((bfd *abfd, int objtype)); 426 extern int _bfd_vms_write_eom PARAMS ((bfd *abfd, int objtype)); 430 extern int _bfd_vms_slurp_tir PARAMS ((bfd *abfd, int objtype)); 431 extern int _bfd_vms_slurp_dbg PARAMS ((bfd *abfd, int objtype)); 432 extern int _bfd_vms_slurp_tbt PARAMS ((bfd *abfd, in [all...] |
H A D | elfxx-mips.c | 51 bfd *abfd; member in struct:mips_got_entry 57 /* If abfd == NULL, an address that must be stored in the got. */ 59 /* If abfd != NULL && symndx != -1, the addend of the relocation 62 /* If abfd != NULL && symndx == -1, the hash table entry 244 bfd *abfd; member in struct:extsym_info 510 #define ABI_N32_P(abfd) \ 511 ((elf_elfheader (abfd)->e_flags & EF_MIPS_ABI2) != 0) 514 #define ABI_64_P(abfd) \ 515 (get_elf_backend_data (abfd)->s->elfclass == ELFCLASS64) 518 #define NEWABI_P(abfd) (ABI_N32_ 744 _bfd_mips_elf_new_section_hook(bfd *abfd, asection *sec) argument 761 _bfd_mips_elf_read_ecoff_info(bfd *abfd, asection *section, struct ecoff_debug_info *debug) argument 847 ecoff_swap_rpdr_out(bfd *abfd, const RPDR *in, struct rpdr_ext *ex) argument 868 mips_elf_create_procedure_table(void *handle, bfd *abfd, struct bfd_link_info *info, asection *s, struct ecoff_debug_info *debug) argument 1065 _bfd_mips_elf_gprel16_with_gp(bfd *abfd, asymbol *symbol, arelent *reloc_entry, asection *input_section, bfd_boolean relocatable, void *data, bfd_vma gp) argument 1171 _bfd_mips_elf_got16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1192 _bfd_mips_elf_lo16_reloc(bfd *abfd, arelent *reloc_entry, asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message) argument 1308 bfd_mips_elf32_swap_gptab_in(bfd *abfd, const Elf32_External_gptab *ex, Elf32_gptab *in) argument 1316 bfd_mips_elf32_swap_gptab_out(bfd *abfd, const Elf32_gptab *in, Elf32_External_gptab *ex) argument 1324 bfd_elf32_swap_compact_rel_out(bfd *abfd, const Elf32_compact_rel *in, Elf32_External_compact_rel *ex) argument 1336 bfd_elf32_swap_crinfo_out(bfd *abfd, const Elf32_crinfo *in, Elf32_External_crinfo *ex) argument 1355 bfd_mips_elf32_swap_reginfo_in(bfd *abfd, const Elf32_External_RegInfo *ex, Elf32_RegInfo *in) argument 1367 bfd_mips_elf32_swap_reginfo_out(bfd *abfd, const Elf32_RegInfo *in, Elf32_External_RegInfo *ex) argument 1385 bfd_mips_elf64_swap_reginfo_in(bfd *abfd, const Elf64_External_RegInfo *ex, Elf64_Internal_RegInfo *in) argument 1398 bfd_mips_elf64_swap_reginfo_out(bfd *abfd, const Elf64_Internal_RegInfo *in, Elf64_External_RegInfo *ex) argument 1413 bfd_mips_elf_swap_options_in(bfd *abfd, const Elf_External_Options *ex, Elf_Internal_Options *in) argument 1425 bfd_mips_elf_swap_options_out(bfd *abfd, const Elf_Internal_Options *in, Elf_External_Options *ex) argument 1775 mips_elf_got_section(bfd *abfd, bfd_boolean maybe_excluded) argument 1789 mips_elf_got_info(bfd *abfd, asection **sgotp) argument 1811 mips_elf_local_got_index(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value) argument 1830 mips_elf_global_got_index(bfd *abfd, bfd *ibfd, struct elf_link_hash_entry *h) argument 1880 mips_elf_got_page(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value, bfd_vma *offsetp) argument 1909 mips_elf_got16_entry(bfd *abfd, bfd *ibfd, struct bfd_link_info *info, bfd_vma value, bfd_boolean external) argument 1956 mips_elf_create_local_got_entry(bfd *abfd, bfd *ibfd, struct mips_got_info *gg, asection *sgot, bfd_vma value) argument 2095 mips_elf_record_global_got_symbol(struct elf_link_hash_entry *h, bfd *abfd, struct bfd_link_info *info, struct mips_got_info *g) argument 2151 mips_elf_record_local_got_symbol(bfd *abfd, long symndx, bfd_vma addend, struct mips_got_info *g) argument 2507 mips_elf_adjust_gp(bfd *abfd, struct mips_got_info *g, bfd *ibfd) argument 2527 mips_elf_multi_got(bfd *abfd, struct bfd_link_info *info, struct mips_got_info *g, asection *got, bfd_size_type pages) argument 2841 mips_elf_create_compact_rel_section(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) argument 2868 mips_elf_create_got_section(bfd *abfd, struct bfd_link_info *info, bfd_boolean maybe_exclude) argument 2954 mips_elf_calculate_relocation(bfd *abfd, bfd *input_bfd, asection *input_section, struct bfd_link_info *info, const Elf_Internal_Rela *relocation, bfd_vma addend, reloc_howto_type *howto, Elf_Internal_Sym *local_syms, asection **local_sections, bfd_vma *valuep, const char **namep, bfd_boolean *require_jalxp, bfd_boolean save_addend) argument 3756 mips_elf_allocate_dynamic_relocations(bfd *abfd, unsigned int n) argument 4084 elf_mips_abi_name(bfd *abfd) argument 4131 _bfd_mips_elf_symbol_processing(bfd *abfd, asymbol *asym) argument 4238 _bfd_mips_elf_name_local_section_symbols(bfd *abfd) argument 4249 _bfd_mips_elf_section_processing(bfd *abfd, Elf_Internal_Shdr *hdr) argument 4375 _bfd_mips_elf_section_from_shdr(bfd *abfd, Elf_Internal_Shdr *hdr, const char *name) argument 4538 _bfd_mips_elf_fake_sections(bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec) argument 4680 _bfd_mips_elf_add_symbol_hook(bfd *abfd, struct bfd_link_info *info, Elf_Internal_Sym *sym, const char **namep, flagword *flagsp ATTRIBUTE_UNUSED, asection **secp, bfd_vma *valp) argument 4857 _bfd_mips_elf_create_dynamic_sections(bfd *abfd, struct bfd_link_info *info) argument 5007 _bfd_mips_elf_check_relocs(bfd *abfd, struct bfd_link_info *info, asection *sec, const Elf_Internal_Rela *relocs) argument 5483 _bfd_mips_relax_section(bfd *abfd, asection *sec, struct bfd_link_info *link_info, bfd_boolean *again) argument 7029 mips_set_isa_flags(bfd *abfd) argument 7126 _bfd_mips_elf_final_write_processing(bfd *abfd, bfd_boolean linker ATTRIBUTE_UNUSED) argument 7213 _bfd_mips_elf_additional_program_headers(bfd *abfd) argument 7241 _bfd_mips_elf_modify_segment_map(bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) argument 7631 _bfd_mips_elf_discard_info(bfd *abfd, struct elf_reloc_cookie *cookie, struct bfd_link_info *info) argument 7737 _bfd_mips_elf_find_nearest_line(bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset, const char **filename_ptr, const char **functionname_ptr, unsigned int *line_ptr) argument 7842 _bfd_mips_elf_set_section_contents(bfd *abfd, sec_ptr section, const void *location, file_ptr offset, bfd_size_type count) argument 7877 _bfd_elf_mips_get_relocated_section_contents(bfd *abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, bfd_byte *data, bfd_boolean relocatable, asymbol **symbols) argument 8050 _bfd_mips_elf_link_hash_table_create(bfd *abfd) argument 8085 _bfd_mips_elf_final_link(bfd *abfd, struct bfd_link_info *info) argument 9078 _bfd_mips_elf_set_private_flags(bfd *abfd, flagword flags) argument 9089 _bfd_mips_elf_print_private_bfd_data(bfd *abfd, void *ptr) argument [all...] |
H A D | rs6000-core.c | 257 read_hdr (bfd *abfd, CoreHdr *core) argument 261 if (bfd_seek (abfd, (file_ptr) 0, SEEK_SET) != 0) 267 if (bfd_bread (core, size, abfd) != size) 276 return bfd_bread ((char *) core + CORE_COMMONSZ, size, abfd) == size; 280 make_bfd_asection (abfd, name, flags, size, vma, filepos) 281 bfd *abfd; 290 asect = bfd_make_section_anyway (abfd, name); 307 rs6000coff_core_p (abfd) 308 bfd *abfd; 323 if (!read_hdr (abfd, [all...] |
H A D | aout-encap.c | 40 encap_object_p (abfd) 41 bfd *abfd; 50 if (bfd_bread ((PTR) magicbuf, amt, abfd) != amt) 57 coff_magic = H_GET_16 (abfd, magicbuf); 61 magic = H_GET_32 (abfd, magicbuf); 66 if (bfd_seek (abfd, (file_ptr) sizeof (struct coffheader), SEEK_SET) != 0) 70 if (bfd_bread ((PTR) &exec_bytes, amt, abfd) != amt) 76 NAME(aout,swap_exec_header_in) (abfd, &exec_bytes, &exec); 78 return aout_32_some_aout_object_p (abfd, &exec, encap_realcallback); 83 encap_real_callback (abfd) [all...] |
H A D | archive64.c | 41 bfd_elf64_archive_slurp_armap (bfd *abfd) argument 43 struct artdata *ardata = bfd_ardata (abfd); 57 arhdrpos = bfd_tell (abfd); 58 i = bfd_bread (nextname, 16, abfd); 64 if (bfd_seek (abfd, (file_ptr) - 16, SEEK_CUR) != 0) 69 return bfd_slurp_armap (abfd); 73 bfd_has_map (abfd) = FALSE; 77 mapdata = (struct areltdata *) _bfd_read_ar_hdr (abfd); 81 bfd_release (abfd, mapdata); 83 if (bfd_bread (int_buf, 8, abfd) ! [all...] |
H A D | i386aout.c | 62 i386aout_write_object_contents (abfd) 63 bfd *abfd; 66 struct internal_exec *execp = exec_hdr (abfd); 70 obj_reloc_entry_size (abfd) = RELOC_STD_SIZE; 72 WRITE_HEADERS (abfd, execp);
|
H A D | sunos.c | 104 in obj_aout_dynamic_info (abfd). */ 141 sunos_read_dynamic_info (abfd) 142 bfd *abfd; 152 if (obj_aout_dynamic_info (abfd) != (PTR) NULL) 155 if ((abfd->flags & DYNAMIC) == 0) 162 info = (struct sunos_dynamic_info *) bfd_zalloc (abfd, amt); 171 obj_aout_dynamic_info (abfd) = (PTR) info; 180 if ((abfd->flags & DYNAMIC) == 0) 182 if (! bfd_get_section_contents (abfd, obj_datasec (abfd), (PT [all...] |
H A D | archures.c | 513 const char *bfd_printable_name (bfd *abfd); 522 bfd_printable_name (bfd *abfd) argument 524 return abfd->arch_info->printable_name; 617 (const bfd *abfd, const bfd *bbfd, bfd_boolean accept_unknowns); 628 bfd_arch_get_compatible (const bfd *abfd, argument 635 if (((ubfd = abfd) && ubfd->arch_info->arch == bfd_arch_unknown) 650 return abfd->arch_info->compatible (abfd->arch_info, bbfd->arch_info); 679 void bfd_set_arch_info (bfd *abfd, const bfd_arch_info_type *arg); 682 Set the architecture info of @var{abfd} t 686 bfd_set_arch_info(bfd *abfd, const bfd_arch_info_type *arg) argument 707 bfd_default_set_arch_mach(bfd *abfd, enum bfd_architecture arch, unsigned long mach) argument 733 bfd_get_arch(bfd *abfd) argument 751 bfd_get_mach(bfd *abfd) argument 769 bfd_arch_bits_per_byte(bfd *abfd) argument 787 bfd_arch_bits_per_address(bfd *abfd) argument 1057 bfd_get_arch_info(bfd *abfd) argument 1135 bfd_octets_per_byte(bfd *abfd) argument [all...] |
H A D | reloc.c | 555 (bfd *abfd, 581 bfd_perform_relocation (bfd *abfd, argument 590 bfd_size_type octets = reloc_entry->address * bfd_octets_per_byte (abfd); 618 cont = howto->special_function (abfd, reloc_entry, symbol, data, 626 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) 714 if (abfd->xvec->flavour == bfd_target_coff_flavour 715 && strcmp (abfd->xvec->name, "coff-Intel-little") != 0 716 && strcmp (abfd->xvec->name, "coff-Intel-big") != 0) 815 bfd_arch_bits_per_address (abfd), 890 char x = bfd_get_8 (abfd, (cha 973 bfd_install_relocation(bfd *abfd, arelent *reloc_entry, void *data_start, bfd_vma data_start_offset, asection *input_section, char **error_message) argument 4272 bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code) argument 4294 bfd_default_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code) argument 4424 bfd_generic_get_relocated_section_contents(bfd *abfd, struct bfd_link_info *link_info, struct bfd_link_order *link_order, bfd_byte *data, bfd_boolean relocatable, asymbol **symbols) argument [all...] |
H A D | dwarf1.c | 34 bfd* abfd; member in struct:dwarf1_debug 152 struct dwarf1_unit* x = (struct dwarf1_unit*) bfd_zalloc (stash->abfd, amt); 169 struct dwarf1_func* x = (struct dwarf1_func*) bfd_zalloc (stash->abfd, amt); 178 'abfd' must be the bfd from which the section that 'aDiePtr' 184 parse_die (abfd, aDieInfo, aDiePtr, aDiePtrEnd) 185 bfd* abfd; 196 aDieInfo->length = bfd_get_32 (abfd, (bfd_byte *) xptr); 209 aDieInfo->tag = bfd_get_16 (abfd, (bfd_byte *) xptr); 221 attr = bfd_get_16 (abfd, (bfd_byte *) xptr); 232 aDieInfo->sibling = bfd_get_32 (abfd, (bfd_byt [all...] |
H A D | coff-w65.c | 63 #define SWAP_OUT_RELOC_EXTRA(abfd, src, dst) \ 88 #define CALC_ADDEND(abfd, symbol, ext_reloc, cache_ptr) \ 91 #define RELOC_PROCESSING(relent,reloc,symbols,abfd,section) \ 92 reloc_processing(relent, reloc, symbols, abfd, section) 95 reloc_processing (relent, reloc, symbols, abfd, section) 99 bfd * abfd; 106 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx]; 117 w65_reloc16_estimate (abfd, input_section, reloc, shrink, link_info) 118 bfd *abfd; 156 bfd_perform_slip (abfd, [all...] |
H A D | ticoff.h | 23 ticoff0_bad_format_hook (abfd, filehdr) 24 bfd *abfd; variable 36 ticoff1_bad_format_hook (abfd, filehdr) 37 bfd *abfd ATTRIBUTE_UNUSED; 51 ticoff_bfd_is_local_label_name (abfd, name) 52 bfd *abfd ATTRIBUTE_UNUSED;
|