This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Support .cfi_personality and .cfi_lsda directives
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com, Ulrich Drepper <drepper at redhat dot com>, Richard Henderson <rth at redhat dot com>
- Date: Wed, 1 Nov 2006 09:11:10 -0800
- Subject: Re: [PATCH] Support .cfi_personality and .cfi_lsda directives
- References: <20061101165548.GX5868@sunsite.mff.cuni.cz>
On Wed, Nov 01, 2006 at 05:55:49PM +0100, Jakub Jelinek wrote:
> Hi!
>
> This is the second part in my attempt to change GCC to emit .eh_frame unwind
> info using .cfi_* directives.
>
> The gas generated .eh_frame never has personality nor LSDA, while for C++,
> Java or __attribute__((cleanup ())) in C we often need them.
>
> This patch adds two new directives, .cfi_personality and .cfi_lsda,
> which set the personality routine and LSDA of the current FDE (well,
> personality routine is a CIE thingie, but we generate CIEs on the fly
> for the FDEs).
>
Testcases?
H.J.