* dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
commit5388fba001d5dec4680f4522139cb9cd28428f76
authorRichard Henderson <rth@redhat.com>
Sun, 8 Jun 2003 03:59:44 +0000 (8 03:59 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 8 Jun 2003 03:59:44 +0000 (8 03:59 +0000)
treee8105b1f3bb10f2fdaf50def0c6ea05105ce6efe
parent99f0799cbb5124492f5113465bd8fc208b706423
    * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
        (cfi_add_CFA_offset): Detect invalid offsets.
        (cfi_add_CFA_remember_state): Save cur_cfa_offset.
        (cfi_add_CFA_restore_state): Restore it.
        (CFI_rel_offset): New.
        (cfi_pseudo_table): Add it.
        (dot_cfi): Handle it.

        * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New.
        * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New.
        * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New.
        * gas/cfi/cfi.exp: Run them.
gas/ChangeLog
gas/dw2gencfi.c
gas/testsuite/ChangeLog
gas/testsuite/gas/cfi/cfi-common-1.d [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-1.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-2.d [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-2.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-diag-1.l [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-diag-1.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi.exp