summaryrefslogtreecommitdiff
path: root/libubacktrace
AgeCommit message (Collapse)Author
2013-05-13libubacktrace: fix backtrace for statically linked applicationFilippo Arcidiacono
libgcc_s.so's unwinder could not access unwind tables of statically linked binaries, so we really want to use _Unwind_* stuff from libgcc_eh.a. It required to build backtrace.c differentiating between shared and static case. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2013-03-14libubacktrace: use libgcc_s.hBernhard Reutner-Fischer
for consistency Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-11libubacktrace: arm: Fix typo in assertBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-01-27libubacktrace:arm: libgcc_eh.a not neededCarmelo Amoroso
Dummy symbol is __aeabi_unwind_cpp_pr is part of uclibc_shared.a Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2012-01-27libc_arm: avoid multiple version of __aeabi_unwind_cpp_pr dummy codeCarmelo Amoroso
Do not pollute libraries with its own implementation of __aeabi_unwind_cpp_pr1 code. Just add it to uclibc_nonshared.a archive and share it. This fixes build issue with static linking of application due to multiple symbol definition in libgcc_eh-a and libpthread.a or librt.a Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2012-01-23libubacktrace: Add arm implementationKhem Raj
Arm has a different mechanism of getting _Unwind_GetIP. Therefore we provide arch specific backtrace file. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-01-13libubacktrace: use -asynchronous-funwind-tables rather than -funwind-tablesCarmelo Amoroso
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>
2011-12-22libubacktrace: use -funwind-tables rather than -fexecptionsCarmelo Amoroso
For backtrace to work is enough to use -funwind-tables instead of -fexceptions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-11-08libubacktrace: Conditionally link libgcc_ehJason Woodward
When libubacktrace is not enabled there is no need to link in libgcc_eh Fixes bootstrap failures with (gcc-4.5.x) stage1 compilers that --disable-shared Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-06-24libubacktrace: fix makefile clean targetCarmelo Amoroso
Fix makefile lean target removing the old reference to the non existing libubacktrace_ARCH_OUT variable. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-05-11Revert "libubacktrace: fix config-symbol handling"Bernhard Reutner-Fischer
This reverts commit 7a080cd149c7b25d415d76506510d55b34819fc2. This symbol is in fact different (as it is set no 'n').
2011-05-11libubacktrace: fix config-symbol handlingBernhard Reutner-Fischer
Config symbals that are not set are empty, not 'n'.
2011-05-04libubacktrace: fix backtrace support on arm-eabi, which needs libgcc_eh ↵Henning Heinold
linked too Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2011-04-22libubacktrace: generic implementation based dwarfCarmelo Amoroso
Use the initial implementation for SH4 based on dwarf for all archs. Indeed there are not obvious reason for which it should not work in general. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2010-09-15libubacktrace: Provide uClibc with backtrace functionsSalvatore Cro
A new shared object, libubacktrace.so.0 is added to uClibc to provide backtrace functions to support application self-debugging. This set of functions requires to dynamically load libgcc_s.so so they need to call dlopen/dlsym that are provided by libdl. For this reason they cannot be included into libc.so.0 but are provided by a new library. User application that wants to use backtrace needs to be compiled with -fexceptions option and -rdynamic to get full symbols printed and must be linked against libubacktrace.so Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>