From: Mark Wielaard Date: Fri, 12 Dec 2014 20:51:27 +0000 (+0100) Subject: tests: Add an explicit -fasynchronous-unwind-tables for deleted-lib.so. X-Git-Tag: elfutils-0.161~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3111d50756f84e99fbdb6ddfa37d1cd7163fd10;p=thirdparty%2Felfutils.git tests: Add an explicit -fasynchronous-unwind-tables for deleted-lib.so. Some systems don't add a PT_GNU_EH_FRAME segment by default, but the deleted test depends on it so that it can get at the .eh_frame_hdr table through the phdrs from the remote memory ELF image. Request one explicitly with -fasynchronous-unwind-tables. Signed-off-by: Mark Wielaard --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 85826f339..bc5c64fa0 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +2014-12-12 Mark Wielaard + + * Makefile.am (deleted_lib_so_CFLAGS): Add + -fasynchronous-unwind-tables. + 2014-12-11 Josh Stone * run-addr2line-i-lex-test.sh: New test. diff --git a/tests/Makefile.am b/tests/Makefile.am index bdd2997d9..e27130bba 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -416,7 +416,7 @@ debugaltlink_LDADD = $(libdw) $(libelf) buildid_LDADD = $(libdw) $(libelf) deleted_LDADD = ./deleted-lib.so deleted_lib_so_LDFLAGS = -shared -rdynamic -deleted_lib_so_CFLAGS = -fPIC +deleted_lib_so_CFLAGS = -fPIC -fasynchronous-unwind-tables aggregate_size_LDADD = $(libdw) $(libelf) vdsosyms_LDADD = $(libdw) $(libelf)