bfd: Add bfd_find_nearest_line_with_alt
authorAaron Merey <amerey@redhat.com>
Fri, 2 Sep 2022 18:16:30 +0000 (14:16 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 6 Sep 2022 14:42:50 +0000 (10:42 -0400)
commit6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf
tree4ebae737f83b181c6a30c561bcf09a238c6da55f
parentcb21dd0c599a420117abbcbbd1e20cce8d9e771d
bfd: Add bfd_find_nearest_line_with_alt

bfd_find_nearest_line_with_alt functions like bfd_find_nearest_line with
the addition of a parameter for specifying the filename of a supplementary
debug file such as one referenced by .gnu_debugaltlink or .debug_sup.

This patch focuses on implementing bfd_find_nearest_line_with_alt
support for ELF/DWARF2 .gnu_debugaltlink. For other targets this
function simply sets the invalid_operation bfd_error.
36 files changed:
bfd/ChangeLog
bfd/aout-target.h
bfd/bfd-in2.h
bfd/bfd.c
bfd/binary.c
bfd/coff-rs6000.c
bfd/coff64-rs6000.c
bfd/dwarf2.c
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-mips.c
bfd/elf64-mips.c
bfd/elfn32-mips.c
bfd/elfxx-mips.h
bfd/elfxx-target.h
bfd/i386msdos.c
bfd/ihex.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/libcoff-in.h
bfd/libcoff.h
bfd/libecoff.h
bfd/mach-o.h
bfd/mmo.c
bfd/pef.c
bfd/plugin.c
bfd/ppcboot.c
bfd/som.h
bfd/srec.c
bfd/syms.c
bfd/targets.c
bfd/tekhex.c
bfd/verilog.c
bfd/vms-alpha.c
bfd/wasm-module.c
bfd/xsym.c