Searched refs:abfd (Results 276 - 300 of 307) sorted by relevance

<<111213

/haiku-fatelf/src/bin/gdb/gdb/
H A Dwin32-nat.c765 get_relocated_section_addrs (bfd *abfd, CORE_ADDR text_load) argument
768 int section_count = bfd_count_sections (abfd);
769 asection *text_section = bfd_get_section_by_name (abfd, ".text");
777 else if (text_load == (text_vma = bfd_get_section_vma (abfd, text_section)))
794 build_section_table (abfd, &table_start, &table_end);
818 bfd *abfd = NULL; local
827 abfd = bfd_openr (name, "pei-i386");
829 if (!abfd)
832 abfd = bfd_openr (name, "pe-i386");
835 if (abfd)
2287 map_single_dll_code_section(bfd * abfd, asection * sect, void *obj) argument
2359 core_section_load_dll_symbols(bfd * abfd, asection * sect, void *obj) argument
[all...]
H A Dsolib-svr4.c194 CORE_ADDR bfd_lookup_symbol (bfd *abfd, char *symname, flagword sect_flags)
211 bfd_lookup_symbol (bfd *abfd, char *symname, flagword sect_flags) argument
221 storage_needed = bfd_get_symtab_upper_bound (abfd);
227 number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
249 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd);
255 number_of_symbols = bfd_canonicalize_dynamic_symtab (abfd, symbol_table);
790 exec_entry_point (struct bfd *abfd, struct target_ops *targ) argument
801 bfd_get_start_address (abfd),
H A Dsymfile.c295 find_lowest_section (bfd *abfd, asection *sect, void *obj)
299 if (0 == (bfd_get_section_flags (abfd, sect) & SEC_LOAD))
303 else if (bfd_section_vma (abfd, *lowest) > bfd_section_vma (abfd, sect))
305 else if (bfd_section_vma (abfd, *lowest) == bfd_section_vma (abfd, sect)
306 && (bfd_section_size (abfd, (*lowest))
307 <= bfd_section_size (abfd, sect)))
793 symbol_file_add_with_addrs_or_offsets (bfd *abfd, int from_tty,
804 const char *name = bfd_get_filename (abfd);
294 find_lowest_section(bfd *abfd, asection *sect, void *obj) argument
792 symbol_file_add_with_addrs_or_offsets(bfd *abfd, int from_tty, struct section_addr_info *addrs, struct section_offsets *offsets, int num_offsets, int mainline, int flags) argument
934 symbol_file_add_from_bfd(bfd *abfd, int from_tty, struct section_addr_info *addrs, int mainline, int flags) argument
1377 add_section_size_callback(bfd *abfd, asection *asec, void *data) argument
1395 load_section_callback(bfd *abfd, asection *asec, void *data) argument
3500 symfile_dummy_outputs(bfd *abfd, asection *sectp, void *dummy) argument
3518 symfile_relocate_debug_section(bfd *abfd, asection *sectp, bfd_byte *buf) argument
[all...]
H A Dsymfile.h317 extern bfd_byte *symfile_relocate_debug_section (bfd *abfd, asection *sectp,
H A Dremote-mips.c2621 bfd *abfd;
2631 abfd = bfd_openr (args, 0);
2632 if (!abfd)
2638 if (bfd_check_format (abfd, bfd_object) == 0)
2647 for (s = abfd->sections; s; s = s->next)
2663 bfd_get_section_contents (abfd, s, buffer, i, numbytes);
2688 reclen = mips_make_srec (srec, '7', abfd->start_address, NULL, 0);
2690 send_srec (srec, reclen, abfd->start_address);
3098 bfd *abfd;
3112 abfd
2616 bfd *abfd; local
3093 bfd *abfd; local
[all...]
H A Dsolib-aix5.c87 CORE_ADDR bfd_lookup_symbol (bfd *abfd, char *symname)
101 bfd_lookup_symbol (bfd *abfd, char *symname) argument
111 storage_needed = bfd_get_symtab_upper_bound (abfd);
117 number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
137 storage_needed = bfd_get_dynamic_symtab_upper_bound (abfd);
143 number_of_symbols = bfd_canonicalize_dynamic_symtab (abfd, symbol_table);
H A Ddwarfread.c669 bfd *abfd = objfile->obfd; local
676 if ((bfd_seek (abfd, dbfoff, SEEK_SET) != 0) ||
677 (bfd_bread (dbbase, dbsize, abfd) != dbsize))
680 error ("can't read DWARF data from '%s'", bfd_get_filename (abfd));
2255 bfd *abfd; local
2258 abfd = pst->objfile->obfd;
2271 if (bfd_seek (abfd, foffset, SEEK_SET) ||
2272 (bfd_bread (dbbase, dbsize, abfd) != dbsize))
2287 if (bfd_seek (abfd, LNFOFF (pst), SEEK_SET) ||
2288 (bfd_bread (lnsizedata, sizeof (lnsizedata), abfd)
[all...]
H A Dminsyms.c528 get_symbol_leading_char (bfd *abfd)
530 if (abfd != NULL)
531 return bfd_get_symbol_leading_char (abfd);
527 get_symbol_leading_char(bfd *abfd) argument
H A Drs6000-tdep.c3001 bfd abfd;
3005 from_xcoff_exec = info.abfd && info.abfd->format == bfd_object &&
3006 bfd_get_flavour (info.abfd) == bfd_target_xcoff_flavour;
3008 from_elf_exec = info.abfd && info.abfd->format == bfd_object &&
3009 bfd_get_flavour (info.abfd) == bfd_target_elf_flavour;
3011 sysv_abi = info.abfd && bfd_get_flavour (info.abfd) == bfd_target_elf_flavour;
3017 if (bfd_xcoff_is_xcoff64 (info.abfd))
2995 bfd abfd; local
[all...]
H A Darm-tdep.c2527 arm_elf_osabi_sniffer (bfd *abfd)
2532 elfosabi = elf_elfheader (abfd)->e_ident[EI_OSABI];
2541 bfd_map_over_sections (abfd,
2548 eflags = EF_ARM_EABI_VERSION(elf_elfheader(abfd)->e_flags);
2575 bfd_map_over_sections (abfd,
2618 if (info.abfd != NULL && info.osabi == GDB_OSABI_UNKNOWN)
2620 switch (bfd_get_flavour (info.abfd))
2525 arm_elf_osabi_sniffer(bfd *abfd) argument
H A Di386-tdep.c2267 i386_coff_osabi_sniffer (bfd *abfd)
2269 if (strcmp (bfd_get_target (abfd), "coff-go32-exe") == 0
2270 || strcmp (bfd_get_target (abfd), "coff-go32") == 0)
2277 i386_nlm_osabi_sniffer (bfd *abfd)
2246 i386_coff_osabi_sniffer(bfd *abfd) argument
2256 i386_nlm_osabi_sniffer(bfd *abfd) argument
H A Dfrv-tdep.c1464 if (info.abfd && bfd_get_flavour (info.abfd) == bfd_target_elf_flavour)
1465 elf_flags = elf_elfheader (info.abfd)->e_flags;
H A Dm68hc11-tdep.c1453 if (info.abfd != NULL
1454 && bfd_get_flavour (info.abfd) == bfd_target_elf_flavour)
1455 elf_flags = elf_elfheader (info.abfd)->e_flags;
H A Dprocfs.c5610 dbx_link_addr (bfd *abfd) argument
5617 storage_needed = bfd_get_symtab_upper_bound (abfd);
5624 number_of_symbols = bfd_canonicalize_symtab (abfd, symbol_table);
5646 bfd *abfd; local
5650 abfd = bfd_fdopenr ("unamed", 0, fd);
5651 if (abfd == NULL)
5657 if (!bfd_check_format (abfd, bfd_object))
5661 bfd_close (abfd);
5665 sym_addr = dbx_link_addr (abfd);
5673 bfd_close (abfd);
[all...]
H A Dmips-tdep.c5530 mips_find_abi_section (bfd *abfd, asection *sect, void *obj) argument
5533 const char *name = bfd_get_section_name (abfd, sect);
5580 if (info.abfd && bfd_get_flavour (info.abfd) == bfd_target_elf_flavour)
5581 elf_flags = elf_elfheader (info.abfd)->e_flags;
5614 if (found_abi == MIPS_ABI_UNKNOWN && info.abfd != NULL)
5615 bfd_map_over_sections (info.abfd, mips_find_abi_section, &found_abi);
5619 if (found_abi == MIPS_ABI_UNKNOWN && info.abfd == NULL && arches != NULL)
5641 if (bfd_get_flavour (info.abfd) == bfd_target_elf_flavour
5642 && elf_elfheader (info.abfd)
[all...]
H A Dtarget.h1182 extern void remove_target_sections (bfd *abfd);
H A Dalpha-tdep.c1488 if (info.abfd != NULL && info.osabi == GDB_OSABI_UNKNOWN)
1491 if (bfd_get_flavour (info.abfd) == bfd_target_ecoff_flavour)
H A Dhppa-tdep.c299 record_text_segment_lowaddr (bfd *abfd, asection *section, void *data)
2444 if (info.abfd != NULL && info.osabi == GDB_OSABI_UNKNOWN)
2447 if (bfd_get_flavour (info.abfd) == bfd_target_som_flavour)
298 record_text_segment_lowaddr(bfd *abfd, asection *section, void *data) argument
H A Ddefs.h370 extern struct cleanup *make_cleanup_bfd_close (bfd *abfd);
/haiku-fatelf/src/bin/gdb/bfd/
H A Dtargets.c1265 const bfd_target *bfd_find_target (const char *target_name, bfd *abfd);
1280 bfd_find_target (const char *target_name, bfd *abfd)
1293 abfd->target_defaulted = TRUE;
1295 abfd->xvec = bfd_default_vector[0];
1297 abfd->xvec = bfd_target_vector[0];
1298 return abfd->xvec;
1301 abfd->target_defaulted = FALSE;
1307 abfd->xvec = target;
1279 bfd_find_target(const char *target_name, bfd *abfd) argument
H A Delf-strtab.c229 _bfd_elf_strtab_emit (register bfd *abfd, struct elf_strtab_hash *tab) argument
233 if (bfd_bwrite ("", 1, abfd) != 1)
247 if (bfd_bwrite (str, len, abfd) != len)
H A Dmerge.c287 sec_merge_emit (bfd *abfd, struct sec_merge_hash_entry *entry) argument
307 if (bfd_bwrite (pad, len, abfd) != len)
315 if (bfd_bwrite (str, len, abfd) != len)
331 _bfd_add_merge_section (bfd *abfd, void **psinfo, asection *sec, argument
339 if ((abfd->flags & DYNAMIC) != 0
381 sinfo = bfd_alloc (abfd, sizeof (struct sec_merge_info));
392 /* Read the section from abfd. */
395 *psecinfo = bfd_alloc (abfd, amt);
680 _bfd_merge_sections (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info,
703 (*remove_hook) (abfd, secinf
[all...]
H A Dlibxcoff.h131 #define xcoff_backend(abfd) \
132 ((struct xcoff_backend_data_rec *) (abfd)->xvec->backend_data)
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dmmix-dis.c96 bfd *abfd = info->section && info->section->owner != NULL local
99 asection *reg_section = bfd_get_section_by_name (abfd, "*REG*");
104 long symsize = bfd_get_symtab_upper_bound (abfd);
114 nsyms = bfd_canonicalize_symtab (abfd, syms);
H A Dcris-dis.c1396 cris_get_disassembler (abfd)
1397 bfd *abfd;
1402 if (abfd == NULL || bfd_get_symbol_leading_char (abfd) == 0)

Completed in 348 milliseconds

<<111213