Home
last modified time | relevance | path

Searched refs:nbfd (Results 1 – 25 of 93) sorted by relevance

1234

/netbsd/src/external/gpl3/gdb/dist/bfd/
Dopncls.c78 bfd *nbfd; in _bfd_new_bfd() local
80 nbfd = (bfd *) bfd_zmalloc (sizeof (bfd)); in _bfd_new_bfd()
81 if (nbfd == NULL) in _bfd_new_bfd()
88 nbfd->id = --bfd_reserved_id_counter; in _bfd_new_bfd()
92 nbfd->id = bfd_id_counter++; in _bfd_new_bfd()
95 free (nbfd); in _bfd_new_bfd()
99 nbfd->memory = objalloc_create (); in _bfd_new_bfd()
100 if (nbfd->memory == NULL) in _bfd_new_bfd()
103 free (nbfd); in _bfd_new_bfd()
107 nbfd->arch_info = &bfd_default_arch_struct; in _bfd_new_bfd()
[all …]
Dcoff-alpha.c2096 bfd *nbfd = NULL; in alpha_ecoff_get_elt_at_filepos() local
2106 nbfd = _bfd_get_elt_at_filepos (archive, filepos, info); in alpha_ecoff_get_elt_at_filepos()
2107 if (nbfd == NULL) in alpha_ecoff_get_elt_at_filepos()
2110 if ((nbfd->flags & BFD_IN_MEMORY) != 0) in alpha_ecoff_get_elt_at_filepos()
2113 return nbfd; in alpha_ecoff_get_elt_at_filepos()
2116 tdata = (struct areltdata *) nbfd->arelt_data; in alpha_ecoff_get_elt_at_filepos()
2119 return nbfd; in alpha_ecoff_get_elt_at_filepos()
2129 if (bfd_seek (nbfd, FILHSZ, SEEK_SET) != 0) in alpha_ecoff_get_elt_at_filepos()
2133 if (bfd_read (ab, 8, nbfd) != 8) in alpha_ecoff_get_elt_at_filepos()
2135 size = H_GET_64 (nbfd, ab); in alpha_ecoff_get_elt_at_filepos()
[all …]
Delfcode.h1789 bfd *nbfd; in NAME() local
2010 nbfd = _bfd_new_bfd (); in NAME()
2011 if (nbfd == NULL in NAME()
2012 || !bfd_set_filename (nbfd, "<in-memory>")) in NAME()
2018 nbfd->xvec = templ->xvec; in NAME()
2021 nbfd->iostream = bim; in NAME()
2022 nbfd->flags = BFD_IN_MEMORY; in NAME()
2023 nbfd->iovec = &_bfd_memory_iovec; in NAME()
2024 nbfd->origin = 0; in NAME()
2025 nbfd->direction = read_direction; in NAME()
[all …]
Darchive.c2899 bfd *nbfd; in _bfd_archive_close_and_cleanup() local
2904 for (nbfd = abfd->nested_archives; nbfd; nbfd = next) in _bfd_archive_close_and_cleanup()
2906 next = nbfd->archive_next; in _bfd_archive_close_and_cleanup()
2907 bfd_close (nbfd); in _bfd_archive_close_and_cleanup()
Dsimple.c110 bfd *nbfd ATTRIBUTE_UNUSED, in simple_dummy_multiple_definition()
Dmach-o.c5653 bfd *nbfd; in bfd_mach_o_fat_openr_next_archived_file() local
5693 nbfd = _bfd_new_bfd_contained_in (archive); in bfd_mach_o_fat_openr_next_archived_file()
5694 if (nbfd == NULL) in bfd_mach_o_fat_openr_next_archived_file()
5700 if (!bfd_mach_o_fat_member_init (nbfd, arch_type, arch_subtype, entry)) in bfd_mach_o_fat_openr_next_archived_file()
5702 bfd_close (nbfd); in bfd_mach_o_fat_openr_next_archived_file()
5706 bfd_set_arch_mach (nbfd, arch_type, arch_subtype); in bfd_mach_o_fat_openr_next_archived_file()
5708 return nbfd; in bfd_mach_o_fat_openr_next_archived_file()
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dopncls.c78 bfd *nbfd; in _bfd_new_bfd() local
80 nbfd = (bfd *) bfd_zmalloc (sizeof (bfd)); in _bfd_new_bfd()
81 if (nbfd == NULL) in _bfd_new_bfd()
88 nbfd->id = --bfd_reserved_id_counter; in _bfd_new_bfd()
92 nbfd->id = bfd_id_counter++; in _bfd_new_bfd()
95 free (nbfd); in _bfd_new_bfd()
99 nbfd->memory = objalloc_create (); in _bfd_new_bfd()
100 if (nbfd->memory == NULL) in _bfd_new_bfd()
103 free (nbfd); in _bfd_new_bfd()
107 nbfd->arch_info = &bfd_default_arch_struct; in _bfd_new_bfd()
[all …]
Dcoff-alpha.c2098 bfd *nbfd = NULL; in alpha_ecoff_get_elt_at_filepos() local
2108 nbfd = _bfd_get_elt_at_filepos (archive, filepos, info); in alpha_ecoff_get_elt_at_filepos()
2109 if (nbfd == NULL) in alpha_ecoff_get_elt_at_filepos()
2112 if ((nbfd->flags & BFD_IN_MEMORY) != 0) in alpha_ecoff_get_elt_at_filepos()
2115 return nbfd; in alpha_ecoff_get_elt_at_filepos()
2118 tdata = (struct areltdata *) nbfd->arelt_data; in alpha_ecoff_get_elt_at_filepos()
2121 return nbfd; in alpha_ecoff_get_elt_at_filepos()
2131 if (bfd_seek (nbfd, FILHSZ, SEEK_SET) != 0) in alpha_ecoff_get_elt_at_filepos()
2135 if (bfd_read (ab, 8, nbfd) != 8) in alpha_ecoff_get_elt_at_filepos()
2137 size = H_GET_64 (nbfd, ab); in alpha_ecoff_get_elt_at_filepos()
[all …]
Delfcode.h1790 bfd *nbfd; in NAME() local
2011 nbfd = _bfd_new_bfd (); in NAME()
2012 if (nbfd == NULL in NAME()
2013 || !bfd_set_filename (nbfd, "<in-memory>")) in NAME()
2019 nbfd->xvec = templ->xvec; in NAME()
2022 nbfd->iostream = bim; in NAME()
2023 nbfd->flags = BFD_IN_MEMORY; in NAME()
2024 nbfd->iovec = &_bfd_memory_iovec; in NAME()
2025 nbfd->origin = 0; in NAME()
2026 nbfd->direction = read_direction; in NAME()
[all …]
Darchive.c2920 bfd *nbfd; in _bfd_archive_close_and_cleanup() local
2925 for (nbfd = abfd->nested_archives; nbfd; nbfd = next) in _bfd_archive_close_and_cleanup()
2927 next = nbfd->archive_next; in _bfd_archive_close_and_cleanup()
2928 bfd_close (nbfd); in _bfd_archive_close_and_cleanup()
Dsimple.c110 bfd *nbfd ATTRIBUTE_UNUSED, in simple_dummy_multiple_definition()
Dmach-o.c5653 bfd *nbfd; in bfd_mach_o_fat_openr_next_archived_file() local
5693 nbfd = _bfd_new_bfd_contained_in (archive); in bfd_mach_o_fat_openr_next_archived_file()
5694 if (nbfd == NULL) in bfd_mach_o_fat_openr_next_archived_file()
5700 if (!bfd_mach_o_fat_member_init (nbfd, arch_type, arch_subtype, entry)) in bfd_mach_o_fat_openr_next_archived_file()
5702 bfd_close (nbfd); in bfd_mach_o_fat_openr_next_archived_file()
5706 bfd_set_arch_mach (nbfd, arch_type, arch_subtype); in bfd_mach_o_fat_openr_next_archived_file()
5708 return nbfd; in bfd_mach_o_fat_openr_next_archived_file()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dsymfile-mem.c87 struct bfd *nbfd; in symbol_file_add_from_memory() local
95 nbfd = bfd_elf_bfd_from_remote_memory (templ, addr, size, &loadbase, in symbol_file_add_from_memory()
97 if (nbfd == NULL) in symbol_file_add_from_memory()
101 gdb_bfd_ref_ptr nbfd_holder = gdb_bfd_ref_ptr::new_reference (nbfd); in symbol_file_add_from_memory()
105 bfd_set_filename (nbfd, name); in symbol_file_add_from_memory()
107 if (!bfd_check_format (nbfd, bfd_object)) in symbol_file_add_from_memory()
112 for (sec = nbfd->sections; sec != NULL; sec = sec->next) in symbol_file_add_from_memory()
121 objf = symbol_file_add_from_bfd (nbfd_holder, bfd_get_filename (nbfd), in symbol_file_add_from_memory()
Dminidebug.c88 lzma_open (struct bfd *nbfd, asection *section) in lzma_open() argument
139 gdb_lzma_stream::read (struct bfd *nbfd, void *buf, file_ptr nbytes, in read() argument
245 auto open = [&] (bfd *nbfd) -> gdb_lzma_stream * in find_separate_debug_file_in_section()
247 return lzma_open (nbfd, section); in find_separate_debug_file_in_section()
Dgdb_bfd.c339 [&] (bfd *nbfd) in gdb_bfd_open_from_target_memory()
350 target_fileio_stream (bfd *nbfd, int fd) in target_fileio_stream()
351 : m_bfd (nbfd), in target_fileio_stream()
519 auto open = [&] (bfd *nbfd) -> gdb_bfd_iovec_base * in gdb_bfd_open()
521 return gdb_bfd_iovec_fileio_open (nbfd, current_inferior (), in gdb_bfd_open()
962 auto do_open = [] (bfd *nbfd, void *closure) -> void * in gdb_bfd_openr_iovec()
968 return (*real_opener) (nbfd); in gdb_bfd_openr_iovec()
978 auto read_trampoline = [] (bfd *nbfd, void *stream, void *buf, in gdb_bfd_openr_iovec()
985 return obj->read (nbfd, buf, nbytes, offset); in gdb_bfd_openr_iovec()
1012 auto close_trampoline = [] (struct bfd *nbfd, void *stream) -> int in gdb_bfd_openr_iovec()
Djit.c755 gdb_bfd_ref_ptr nbfd (gdb_bfd_open_from_target_memory in jit_bfd_try_read_symtab()
757 if (nbfd == NULL) in jit_bfd_try_read_symtab()
766 if (!bfd_check_format (nbfd.get (), bfd_object)) in jit_bfd_try_read_symtab()
775 if (b->compatible (b, bfd_get_arch_info (nbfd.get ())) != b) in jit_bfd_try_read_symtab()
778 bfd_get_arch_info (nbfd.get ())->printable_name, in jit_bfd_try_read_symtab()
785 for (sec = nbfd->sections; sec != NULL; sec = sec->next) in jit_bfd_try_read_symtab()
796 objfile = symbol_file_add_from_bfd (nbfd, in jit_bfd_try_read_symtab()
797 bfd_get_filename (nbfd.get ()), 0, in jit_bfd_try_read_symtab()
Dsolib-rocm.c592 auto open = [] (bfd *nbfd) -> gdb_bfd_iovec_base * in rocm_solib_bfd_open()
594 return rocm_bfd_iovec_open (nbfd, current_inferior ()); in rocm_solib_bfd_open()
/netbsd/src/external/gpl3/binutils/dist/ld/
Dldmain.c1031 bfd *nbfd, in multiple_definition() argument
1082 if (nbfd == NULL) in multiple_definition()
1084 nbfd = obfd; in multiple_definition()
1091 nbfd, nsec, nval, name); in multiple_definition()
1094 nbfd, nsec, nval, name); in multiple_definition()
1114 bfd *nbfd, in multiple_common() argument
1156 nbfd, name, obfd); in multiple_common()
1159 nbfd, name); in multiple_common()
1169 nbfd, name, obfd); in multiple_common()
1172 nbfd, name); in multiple_common()
[all …]
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dbfdtest2.c32 iovec_open (struct bfd *nbfd ATTRIBUTE_UNUSED, void *open_closure) in iovec_open()
37 static file_ptr iovec_read (struct bfd *nbfd ATTRIBUTE_UNUSED, in iovec_read()
/netbsd/src/external/gpl3/gdb/dist/include/
Dbfdlink.h786 bfd *nbfd, asection *nsec, bfd_vma nval);
795 bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize);
/netbsd/src/external/gpl3/binutils/dist/include/
Dbfdlink.h786 bfd *nbfd, asection *nsec, bfd_vma nval);
795 bfd *nbfd, enum bfd_link_hash_type ntype, bfd_vma nsize);
/netbsd/src/external/gpl3/binutils/dist/bfd/doc/
Dopncls.texi111nbfd, void *open_closure), void *open_closure, file_ptr (*pread_func) (struct bfd *nbfd, void *str…
/netbsd/src/external/gpl3/binutils/lib/libbfd/arch/sh3eb/
Dbfd.h3007 void *(*open_func) (struct bfd *nbfd,
3010 file_ptr (*pread_func) (struct bfd *nbfd,
3015 int (*close_func) (struct bfd *nbfd,
/netbsd/src/external/gpl3/gdb/lib/libbfd/arch/alpha/
Dbfd-in3.h3028 void *(*open_func) (struct bfd *nbfd,
3031 file_ptr (*pread_func) (struct bfd *nbfd,
3036 int (*close_func) (struct bfd *nbfd,
/netbsd/src/external/gpl3/binutils/lib/libbfd/arch/vax/
Dbfd.h3007 void *(*open_func) (struct bfd *nbfd,
3010 file_ptr (*pread_func) (struct bfd *nbfd,
3015 int (*close_func) (struct bfd *nbfd,

1234