Refine .cfi_sections check to only consider compact eh_frame
authorMatthew Fortune <matthew.fortune@imgtec.com>
Thu, 29 Sep 2016 10:13:46 +0000 (11:13 +0100)
committerMatthew Fortune <matthew.fortune@imgtec.com>
Thu, 6 Oct 2016 11:46:09 +0000 (12:46 +0100)
commit3d3424e9a8d6ad56160b98bf6e223c0346164468
treee66be6d89f5b7ce83276e8a320309ace3a190073
parentee8da4b8396d9a74d27cb9bb0f3aa43d6d23b8ea
Refine .cfi_sections check to only consider compact eh_frame

The .cfi_sections directive can be safely used multiple times
with different sections named at any time unless the compact form
of exception handling is requested after CFI information has
been emitted.  Only the compact form of CFI information changes
the way in which CFI is generated and therefore cannot be
retrospectively requested after generating CFI information.

gas/

PR gas/20648
* dw2gencfi.c (dot_cfi_sections): Refine the check for
inconsistent .cfi_sections to only consider compact vs non
compact forms.
* testsuite/gas/cfi/cfi-common-9.d: New file.
* testsuite/gas/cfi/cfi-common-9.s: New file.
* testsuite/gas/cfi/cfi.exp: Run new test.
gas/ChangeLog
gas/dw2gencfi.c
gas/testsuite/gas/cfi/cfi-common-9.d [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi-common-9.s [new file with mode: 0644]
gas/testsuite/gas/cfi/cfi.exp
This page took 0.032577 seconds and 4 git commands to generate.