summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-12-12 21:51:27 +0100
committerMark Wielaard <mjw@redhat.com>2014-12-14 14:25:58 +0100
commitf3111d50756f84e99fbdb6ddfa37d1cd7163fd10 (patch)
tree6a02b126f808d7749e6affdb0ecd084fb0fe42e9 /tests/Makefile.am
parent080fa4e368cb8d0e7d06cf5c47ad4efe67e87684 (diff)
downloadandroid_external_elfutils-f3111d50756f84e99fbdb6ddfa37d1cd7163fd10.tar.gz
android_external_elfutils-f3111d50756f84e99fbdb6ddfa37d1cd7163fd10.tar.bz2
android_external_elfutils-f3111d50756f84e99fbdb6ddfa37d1cd7163fd10.zip
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 <mjw@redhat.com>
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bdd2997d..e27130bb 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)