]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Add an explicit -fasynchronous-unwind-tables for deleted-lib.so.
authorMark Wielaard <mjw@redhat.com>
Fri, 12 Dec 2014 20:51:27 +0000 (21:51 +0100)
committerMark Wielaard <mjw@redhat.com>
Sun, 14 Dec 2014 13:25:58 +0000 (14:25 +0100)
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>
tests/ChangeLog
tests/Makefile.am

index 85826f339f5405e0fccd588507fed58d7f8f0d8a..bc5c64fa0b65159ac4777d0897ddca7161b67f9f 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-12  Mark Wielaard  <mjw@redhat.com>
+
+       * Makefile.am (deleted_lib_so_CFLAGS): Add
+       -fasynchronous-unwind-tables.
+
 2014-12-11  Josh Stone  <jistone@redhat.com>
 
        * run-addr2line-i-lex-test.sh: New test.
index bdd2997d955784de91f9c05368c9e5314773e029..e27130bbae242adc613a01ede91b7a17c88eedf1 100644 (file)
@@ -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)