summaryrefslogtreecommitdiff
path: root/libubacktrace/Makefile.in
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2012-01-13 12:27:29 +0100
committerCarmelo Amoroso <carmelo.amoroso@st.com>2012-01-13 12:27:29 +0100
commit93a11d8bb29423727cdd71c12b6ae8accc21997b (patch)
tree402d977dc6f1edae9bc024e8ed5de4762f01c713 /libubacktrace/Makefile.in
parent4c9b7f3c21ff21c199e54bfad2fdf3445fa4573d (diff)
libubacktrace: use -asynchronous-funwind-tables rather than -funwind-tables
From gcc documentation, we can read: " ... -fasynchronous-unwind-tables Generate unwind table in dwarf2 format, if supported by target machine. The table is exact at each instruction boundary, so it can be used for stack unwinding from asynchronous events (such as debugger or garbage collector) ..." So it seems better rather than using -funwind-tables (glibc seems to prefer -fasynchronous-unwind-tables). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libubacktrace/Makefile.in')
-rw-r--r--libubacktrace/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libubacktrace/Makefile.in b/libubacktrace/Makefile.in
index a932f83cf..b18e3e675 100644
--- a/libubacktrace/Makefile.in
+++ b/libubacktrace/Makefile.in
@@ -26,8 +26,8 @@ libubacktrace_OUT := $(top_builddir)libubacktrace
libubacktrace_SRC-y :=
libubacktrace_SRC-$(UCLIBC_HAS_BACKTRACE) := backtrace.c backtracesyms.c backtracesymsfd.c
-# -funwind-tables is required for backtrace to work using dwarf2
-CFLAGS-backtrace.c := -funwind-tables
+# -fasynchronous-unwind-tables is required for backtrace to work using dwarf2
+CFLAGS-backtrace.c := -fasynchronous-unwind-tables
libubacktrace_SRCS := $(addprefix $(libubacktrace_DIR)/,$(libubacktrace_SRC-y))