[libbacktrace] Add altlink field to struct dwarf_data
authorTom de Vries <tdevries@suse.de>
Thu, 17 Jan 2019 00:07:43 +0000 (00:07 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 17 Jan 2019 00:07:43 +0000 (00:07 +0000)
commit9ad458d5397ffccd419cdd4a00dd816a500ab018
tree53f7bad707d051b375f18d8d7d537787deace525
parente6f00c83f4478e7e9174edf39219a6e0c1043c6c
[libbacktrace] Add altlink field to struct dwarf_data

Add an altlink field to struct dwarf_data, and initialize it with the pointer
to the struct dwarf_data for the .gnu_debugaltlink.

2019-01-17  Tom de Vries  <tdevries@suse.de>

* dwarf.c (struct dwarf_data): Add altlink field.
(backtrace_dwarf_add): Add and handle fileline_altlink parameter.
* elf.c (elf_add): Add argument to backtrace_dwarf_add call.
(phdr_callback, backtrace_initialize): Add argument to elf_add calls.
* internal.h (backtrace_dwarf_add): Add fileline_altlink parameter.
* pecoff.c (coff_add): Add argument to backtrace_dwarf_add call.
* xcoff.c (xcoff_add): Same.

From-SVN: r267994
libbacktrace/ChangeLog
libbacktrace/dwarf.c
libbacktrace/elf.c
libbacktrace/internal.h
libbacktrace/pecoff.c
libbacktrace/xcoff.c