Following on from this discussion: https://sourceware.org/ml/elfutils-devel/2018-q4/msg00224.html
This patch adds a new API to specify a sysroot, and extends eu-stack to use it with a new command line option. I have been experimenting with this on various ARM-based platforms, currently using a virt-qemu platform built from buildroot. Luke Diamand (2): libdwfl: specify optional sysroot to search for shared libraries eu-stack: add support for sysroot option libdw/libdw.map | 7 ++++++- libdwfl/libdwfl.h | 5 +++++ libdwfl/libdwflP.h | 1 + libdwfl/link_map.c | 25 +++++++++++++++++++++++-- src/stack.c | 9 +++++++++ 5 files changed, 44 insertions(+), 3 deletions(-) -- 2.20.1