This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: ARM: Add .cantunwind to __clone
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 2 Aug 2011 15:32:36 +0000 (UTC)
- Subject: Re: ARM: Add .cantunwind to __clone
- References: <4E3695DD.3090201@redhat.com>
On Mon, 1 Aug 2011, Andrew Haley wrote:
> Backtraces in threads on hardfp EABI systems segfault because they run
> off the end of the stack; I've attached a test case. This happens
> because _start is marked with a .cantunwind but __clone is not.
>
> This patch solves the problem on the Fedora 15 hardfp port I'm working
> on. Comments, please.
Thanks. I've committed this patch.
--
Joseph S. Myers
joseph@codesourcery.com