From: Kunhoon Baik Date: Wed, 9 Aug 2017 08:02:09 +0000 (+0900) Subject: Apply ASLR for test binary - test-ptrace-misc, test-ptrace X-Git-Tag: submit/tizen/20170809.080630^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Flibunwind.git;a=commitdiff_plain;h=491424819ad41660bd2a689ae8a7a682b7bd8427 Apply ASLR for test binary - test-ptrace-misc, test-ptrace Change-Id: Ia2247fe65defb0b58917cede4138a28b36831a1b --- diff --git a/tests/Makefile.am b/tests/Makefile.am index fe2dba8..98bb771 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include +AM_CPPFLAGS = -I$(top_srcdir)/include -fPIE EXTRA_DIST = run-ia64-test-dyn1 run-ptrace-mapper run-ptrace-misc \ run-check-namespace run-coredump-unwind \ @@ -163,6 +163,9 @@ endif LIBUNWIND_setjmp = $(top_builddir)/src/libunwind-setjmp.la \ $(LIBUNWIND_ELF) $(LIBUNWIND) +test_ptrace_LDFLAGS = -pie +test_ptrace_misc_LDFLAGS = -pie + test_async_sig_LDADD = $(LIBUNWIND_local) -lpthread test_flush_cache_LDADD = $(LIBUNWIND_local) test_init_remote_LDADD = $(LIBUNWIND) $(LIBUNWIND_local)