[PATCH 1b/9] Tilera (and Linux asm-generic) support for glibc

Joseph S. Myers joseph@codesourcery.com
Sun Nov 6 15:05:00 GMT 2011


On Sat, 5 Nov 2011, Chris Metcalf wrote:

> The other thing that our backtracer does correctly is parse the kernel's
> sigreturn data so that it can backtrace across a signal.  Does the IA64
> DWARF-based backtracer handle that?

This is what linux-unwind.h (MD_FALLBACK_FRAME_STATE_FOR) in the GCC 
sources is for (now in libgcc/config/<arch>, formerly in 
gcc/config/<arch>): signal frame unwinding.  If you don't have it or it's 
broken, I'd expect the testcases gcc.dg/cleanup-{8,9,10,11}.c to fail.

(Some targets may have variant approaches, such as signal frames using a 
vDSO for which the kernel provides unwind info, or the ARM EABI approach 
of sigrestorer.S in glibc with just enough unwind info.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-ports mailing list