* dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 07:29:37 +0000 (07:29 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 07:29:37 +0000 (07:29 +0000)
commit9b8ae42e78e6c3e3bc67c31673233568c27d9e71
tree1f493a79ef0bfe683893d9c8cff4f546a67dab24
parentae424f8246a09295cca8da6922c8ee781dec4fb1
* 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.

* gas/cfi/cfi-common-6.d: New test.
* gas/cfi/cfi-common-6.s: New.
* gas/cfi/cfi.exp: Add cfi-common-6 test.
gas/ChangeLog
gas/doc/as.texinfo
gas/dw2gencfi.c
gas/testsuite/ChangeLog
gas/testsuite/gas/cfi/cfi-common-6.d [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-6.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi.exp