diff options
author | Nick Clifton <nickc@redhat.com> | 2016-02-11 15:30:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-02-11 15:30:55 +0000 |
commit | bd5608dcc6a76876db06b1af1852252a4282aa2f (patch) | |
tree | 52b42f6769739207278db2a83a23425cede1f6be /gas/doc | |
parent | 9f5fed7852cae412443957862d759660cfcb3fd5 (diff) | |
download | gdb-bd5608dcc6a76876db06b1af1852252a4282aa2f.zip gdb-bd5608dcc6a76876db06b1af1852252a4282aa2f.tar.gz gdb-bd5608dcc6a76876db06b1af1852252a4282aa2f.tar.bz2 |
Allow the .cfi_sections directive to be reissued provided that CFI generation has not yet started.
PR gas/19614
* dw2gencfi.c (cfi_sections_set): Delay setting this variable
until it is actually used.
(cfi_set_sections): Set cfi_sections_set to true.
(dot_cfi_startproc): Likewise.
(dot_cfi_endproc): Likewise.
(dot_cfi_fde_data): Likewise.
(cfi_finish): Likewise.
(dot_cfi_sections): Do not set cfi_sections_set.
* doc/as.texinfo (.cfi_sections): Note that targets can provide
their own cfi section name. Also note that the directive can be
reissued provided that CFI generation has not started.
* testsuite/gas/mips/compact-eh-err2.s: Add .cfi_startproc and
.cfi_endproc directives so that the redefinition of .cfi_sections
will trigger the generation of the error message.
* testsuite/gas/mips/compact-eh-err2.l: Update expected line
number of error message.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texinfo | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 90611a3..917781b 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -4683,6 +4683,14 @@ directive is not used is @code{.cfi_sections .eh_frame}. On targets that support compact unwinding tables these can be generated by specifying @code{.eh_frame_entry} instead of @code{.eh_frame}. +Some targets may support an additional name, such as @code{.c6xabi.exidx} +which is used by the @value{TIC6X} target. + +The @code{.cfi_sections} directive can be repeated, with the same or different +arguments, provided that CFI generation has not yet started. Once CFI +generation has started however the section list is fixed and any attempts to +redefine it will result in an error. + @subsection @code{.cfi_startproc [simple]} @cindex @code{cfi_startproc} directive @code{.cfi_startproc} is used at the beginning of each function that |