* subsegs.h (struct frchain): Add frch_cfi_data field.
authorJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 07:27:39 +0000 (07:27 +0000)
committerJakub Jelinek <jakub@redhat.com>
Fri, 3 Nov 2006 07:27:39 +0000 (07:27 +0000)
commitae424f8246a09295cca8da6922c8ee781dec4fb1
treedc0595939239755c531e979a13841c2b38726086
parentb1e24c0220fe6718066991999cb0a6e5b88b569d
* subsegs.h (struct frchain): Add frch_cfi_data field.
* dw2gencfi.c: Include subsegs.h.
(cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed.
(struct frch_cfi_data): New type.
(unused_cfi_data): New variable.
(alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset
and cfa_save_stack static vars into a structure pointed from
each frchain.
(alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column,
cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset,
cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi,
dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish):
Likewise.

* gas/cfi/cfi-common-5.d: New test.
* gas/cfi/cfi-common-5.s: New.
* gas/cfi/cfi.exp: Add cfi-common-5 test.
gas/ChangeLog
gas/dw2gencfi.c
gas/subsegs.h
gas/testsuite/ChangeLog
gas/testsuite/gas/cfi/cfi-common-5.d [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-5.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi.exp