This patch series introduces a couple of new interfaces to enable callers to supply alternate debuginfo data which is not present in the expected file system locations.
Florian Weimer (6): dwarf_elf_begin: Add .gnu_debugaltlink to the sectiondata array libdw: Add dwarf_getalt, dwarf_setalt libdwelf: Add dwelf_dwarf_gnu_debugaltlink tests/allfcts.c: Install alternate debug information Move .gnu_debugaltlink handling from libdw to libdwfl Update NEWS ChangeLog | 4 + NEWS | 8 +- libdw/ChangeLog | 21 ++++++ libdw/Makefile.am | 3 +- libdw/dwarf_begin_elf.c | 129 +------------------------------- libdw/dwarf_getalt.c | 42 +++++++++++ libdw/dwarf_setalt.c | 43 +++++++++++ libdw/libdw.h | 9 +++ libdw/libdw.map | 3 + libdw/libdwP.h | 3 + libdwelf/ChangeLog | 8 ++ libdwelf/Makefile.am | 2 +- libdwelf/dwelf_dwarf_gnu_debugaltlink.c | 57 ++++++++++++++ libdwelf/libdwelf.h | 11 +++ libdwelf/libdwelfP.h | 1 + libdwfl/ChangeLog | 8 ++ libdwfl/dwfl_module_getdwarf.c | 120 +++++++++++++++++++++++++++++ tests/ChangeLog | 11 +++ tests/Makefile.am | 5 +- tests/allfcts.c | 30 +++++++- tests/debugaltlink.c | 77 +++++++++++++++++++ tests/run-debugaltlink.sh | 34 +++++++++ 22 files changed, 497 insertions(+), 132 deletions(-) create mode 100644 libdw/dwarf_getalt.c create mode 100644 libdw/dwarf_setalt.c create mode 100644 libdwelf/dwelf_dwarf_gnu_debugaltlink.c create mode 100644 tests/debugaltlink.c create mode 100755 tests/run-debugaltlink.sh -- 1.9.0