Searched refs:abfd (Results 1 – 5 of 5) sorted by relevance
/linux/tools/build/feature/ |
H A D | test-disassembler-four-args.c | 7 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 D | test-libbfd-buildid.c | 6 bfd *abfd = bfd_openr("Pedro", 0); in main() local 7 return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); in main()
|
/linux/tools/perf/util/ |
H A D | srcline.c | 207 bfd *abfd; member 226 static int slurp_symtab(bfd *abfd, struct a2l_data *a2l) in slurp_symtab() argument 233 if ((bfd_get_file_flags(abfd) & HAS_SYMS) == 0) in slurp_symtab() 234 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab() 236 storage = bfd_get_symtab_upper_bound(abfd); in slurp_symtab() 238 storage = bfd_get_dynamic_symtab_upper_bound(abfd); in slurp_symtab() 242 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab() 246 symcount = bfd_canonicalize_dynamic_symtab(abfd, syms); in slurp_symtab() 248 symcount = bfd_canonicalize_symtab(abfd, syms); in slurp_symtab() 252 return bfd_error(bfd_get_filename(abfd)); in slurp_symtab() [all …]
|
H A D | symbol-elf.c | 942 bfd *abfd; in read_build_id() local 944 abfd = bfd_openr(filename, NULL); in read_build_id() 945 if (!abfd) in read_build_id() 948 if (!bfd_check_format(abfd, bfd_object)) { in read_build_id() 953 if (!abfd->build_id || abfd->build_id->size > size) in read_build_id() 956 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in read_build_id() 957 memset(bid->data + abfd->build_id->size, 0, size - abfd in read_build_id() 1089 bfd *abfd; filename__read_debuglink() local [all...] |
H A D | symbol.c | 1601 bfd *abfd; in dso__load_bfd_symbols() local 1604 abfd = bfd_openr(debugfile, NULL); in dso__load_bfd_symbols() 1605 if (!abfd) in dso__load_bfd_symbols() 1608 if (!bfd_check_format(abfd, bfd_object)) { in dso__load_bfd_symbols() 1614 if (bfd_get_flavour(abfd) == bfd_target_elf_flavour) in dso__load_bfd_symbols() 1617 symbols_size = bfd_get_symtab_upper_bound(abfd); in dso__load_bfd_symbols() 1619 bfd_close(abfd); in dso__load_bfd_symbols() 1630 symbols_count = bfd_canonicalize_symtab(abfd, symbols); in dso__load_bfd_symbols() 1634 section = bfd_get_section_by_name(abfd, ".text"); in dso__load_bfd_symbols() 1695 bfd_close(abfd); in dso__load_bfd_symbols()
|