libdw: Try both the relative and absolute paths when finding a .dwo file.
authorMark Wielaard <mark@klomp.org>
Thu, 31 May 2018 14:57:09 +0000 (16:57 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 1 Jun 2018 15:27:59 +0000 (17:27 +0200)
commite2872c91f65301b202b84497b2b955f9e9613d00
tree9c714039ba9dad15e5142ef4fc845974f0793752
parenta6a783a32ee0e6428c15c87e62476b74ecd77686
libdw: Try both the relative and absolute paths when finding a .dwo file.

We would give up if one of them failed. With this fixed a self-test with
make check succeeds when building elfutils itself with CFLAGS set to
"-gdwarf-4 -gdwarf-split -O2".

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/libdw_find_split_unit.c
src/ChangeLog
src/readelf.c