diff options
author | Tom de Vries <tdevries@suse.de> | 2019-01-17 00:07:43 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2019-01-17 00:07:43 +0000 |
commit | 9ad458d5397ffccd419cdd4a00dd816a500ab018 (patch) | |
tree | 53f7bad707d051b375f18d8d7d537787deace525 /libbacktrace/pecoff.c | |
parent | e6f00c83f4478e7e9174edf39219a6e0c1043c6c (diff) | |
download | gcc-9ad458d5397ffccd419cdd4a00dd816a500ab018.zip gcc-9ad458d5397ffccd419cdd4a00dd816a500ab018.tar.gz gcc-9ad458d5397ffccd419cdd4a00dd816a500ab018.tar.bz2 |
[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
Diffstat (limited to 'libbacktrace/pecoff.c')
-rw-r--r-- | libbacktrace/pecoff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbacktrace/pecoff.c b/libbacktrace/pecoff.c index cd20cbe..da1982f 100644 --- a/libbacktrace/pecoff.c +++ b/libbacktrace/pecoff.c @@ -867,6 +867,7 @@ coff_add (struct backtrace_state *state, int descriptor, sections[DEBUG_STR].data, sections[DEBUG_STR].size, 0, /* FIXME */ + NULL, error_callback, data, fileline_fn, NULL)) goto fail; |