Home
last modified time | relevance | path

Searched refs:abfd (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dsrcline.c139 bfd *abfd; member
158 static int slurp_symtab(bfd *abfd, struct a2l_data *a2l) in slurp_symtab() argument
165 if ((bfd_get_file_flags(abfd) & HAS_SYMS) == 0) in slurp_symtab()
166 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab()
168 storage = bfd_get_symtab_upper_bound(abfd); in slurp_symtab()
170 storage = bfd_get_dynamic_symtab_upper_bound(abfd); in slurp_symtab()
174 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab()
178 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in slurp_symtab()
180 symcount = bfd_canonicalize_symtab(abfd, syms); in slurp_symtab()
184 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab()
[all …]
H A Dsymbol-elf.c568 bfd *abfd; in filename__read_build_id() local
570 abfd = bfd_openr(filename, NULL); in filename__read_build_id()
571 if (!abfd) in filename__read_build_id()
574 if (!bfd_check_format(abfd, bfd_object)) { in filename__read_build_id()
579 if (!abfd->build_id || abfd->build_id->size > size) in filename__read_build_id()
582 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in filename__read_build_id()
583 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size); in filename__read_build_id()
584 err = bid->size = abfd->build_id->size; in filename__read_build_id()
587 bfd_close(abfd); in filename__read_build_id()
682 bfd *abfd; in filename__read_debuglink() local
[all …]
H A Dsymbol.c1585 bfd *abfd; in dso__load_bfd_symbols() local
1588 abfd = bfd_openr(dso->long_name, NULL); in dso__load_bfd_symbols()
1589 if (!abfd) in dso__load_bfd_symbols()
1592 if (!bfd_check_format(abfd, bfd_object)) { in dso__load_bfd_symbols()
1598 if (bfd_get_flavour(abfd) == bfd_target_elf_flavour) in dso__load_bfd_symbols()
1601 section = bfd_get_section_by_name(abfd, ".text"); in dso__load_bfd_symbols()
1605 bfd_close(abfd); in dso__load_bfd_symbols()
1607 abfd = bfd_openr(debugfile, NULL); in dso__load_bfd_symbols()
1608 if (!abfd) in dso__load_bfd_symbols()
1611 if (!bfd_check_format(abfd, bfd_object)) { in dso__load_bfd_symbols()
[all …]
/OK3568_Linux_fs/kernel/tools/build/feature/
H A Dtest-disassembler-four-args.c7 bfd *abfd = bfd_openr(NULL, NULL); in main() local
9 disassembler(bfd_get_arch(abfd), in main()
10 bfd_big_endian(abfd), in main()
11 bfd_get_mach(abfd), in main()
12 abfd); in main()
H A Dtest-libbfd-buildid.c6 bfd *abfd = bfd_openr("Pedro", 0); in main() local
7 return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); in main()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/binutils/binutils/
H A D0019-CVE-2022-4285.patch24 @@ -8918,7 +8918,9 @@ _bfd_elf_slurp_version_tables (bfd *abfd, bool default_imported_symver)
28 - elf_tdata (abfd)->verref = (Elf_Internal_Verneed *) bfd_alloc (abfd, amt);
31 + elf_tdata (abfd)->verref = (Elf_Internal_Verneed *) bfd_zalloc (abfd, amt);
32 if (elf_tdata (abfd)->verref == NULL)
H A D0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch36 for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
37 if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)
H A D0015-CVE-2022-38533.patch21 @@ -4302,10 +4302,13 @@ coff_set_section_contents (bfd * abfd,
28 + size_t len = bfd_get_32 (abfd, rec);
33 - rec += bfd_get_32 (abfd, rec) * 4;
H A D0020-CVE-2023-22608-1.patch110 +static struct trie_node *alloc_trie_leaf (bfd *abfd)
113 + bfd_zalloc (abfd, sizeof (struct trie_leaf));
207 +static struct trie_node *insert_arange_in_trie(bfd *abfd,
251 + trie = bfd_zalloc (abfd, sizeof (struct trie_interior));
261 + if (!insert_arange_in_trie (abfd, trie, trie_pc, trie_pc_bits,
276 + new_leaf = bfd_zalloc (abfd,
329 + child = alloc_trie_leaf (abfd);
333 + child = insert_arange_in_trie (abfd,
479 @@ -4747,6 +5031,14 @@ _bfd_dwarf2_slurp_debug_info (bfd *abfd, bfd *debug_bfd,
483 + stash->f.trie_root = alloc_trie_leaf (abfd);
[all …]
H A D0020-CVE-2023-22608-2.patch121 -static struct trie_node *insert_arange_in_trie(bfd *abfd,
131 +insert_arange_in_trie (bfd *abfd,
141 @@ -2031,7 +2054,6 @@ static struct trie_node *insert_arange_in_trie(bfd *abfd,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dbfd.info108 code 'abfd'. All operations on the target object file are applied as
114 'abfd'.
118 unsigned int number_of_sections (abfd)
119 bfd *abfd;
121 return bfd_count_sections (abfd);
663 bfd_get_filename (const bfd *abfd)
665 return abfd->filename;
669 bfd_get_cacheable (const bfd *abfd)
671 return abfd->cacheable;
675 bfd_get_format (const bfd *abfd)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dbfd.info108 code 'abfd'. All operations on the target object file are applied as
114 'abfd'.
118 unsigned int number_of_sections (abfd)
119 bfd *abfd;
121 return bfd_count_sections (abfd);
663 bfd_get_filename (const bfd *abfd)
665 return abfd->filename;
669 bfd_get_cacheable (const bfd *abfd)
671 return abfd->cacheable;
675 bfd_get_format (const bfd *abfd)
[all …]
/OK3568_Linux_fs/buildroot/package/binutils/2.37/
H A D0006-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch64 @@ -291,6 +291,14 @@ bfd_plugin_close_file_descriptor (bfd *abfd, int fd)
65 && !bfd_is_thin_archive (abfd->my_archive))
66 abfd = abfd->my_archive;
70 + if (abfd->archive_plugin_fd == -1)
76 abfd->archive_plugin_fd_open_count--;