* dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
authorRichard Henderson <rth@redhat.com>
Sun, 8 Jun 2003 03:59:44 +0000 (03:59 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 8 Jun 2003 03:59:44 +0000 (03:59 +0000)
commitfa87b337c32686ec4526ea03e3041737ebdeb9f0
tree7b507e8b570fbdc12d4a02ff4318cdda18ef5d5b
parenta0273b2f038b41d2903dbfa48048d83d5c4291fc
    * 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