[PATCH] Support .cfi_personality and .cfi_lsda directives
Thu Nov 2 16:29:00 GMT 2006
On Thu, Nov 02, 2006 at 07:30:07AM -0800, Richard Henderson wrote:
> On Wed, Nov 01, 2006 at 05:55:49PM +0100, Jakub Jelinek wrote:
> > * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
> > personality and lsda.
> > (struct cie_entry): Add per_encoding, lsda_encoding and personality.
> > (alloc_fde_entry): Initialize per_encoding and lsda_encoding.
> > (cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda.
> > (dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions.
> > (output_cie): Output personality including its encoding and LSDA encoding.
> > (output_fde): Output LSDA.
> > (select_cie_for_fde): Don't share CIE if personality, its encoding or
> > LSDA encoding are different. Copy the 3 fields from fde_entry to
> > cie_entry.
> > * doc/as.texinfo (.cfi_personality, .cfi_lsda): Document.
> Looks good to me.
Thanks, though this patch relies on the earlier:
patch. Is that patch ok too (after fixing up the testcase comment as
requested by Andreas)?
More information about the Binutils