dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh frame info.
* dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh frame info. * doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and DWARF2_UNWIND_INFO. From-SVN: r85871
This commit is contained in:
parent
db24c53d55
commit
5cf58f28c3
@ -1,3 +1,10 @@
|
|||||||
|
2004-08-12 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh
|
||||||
|
frame info.
|
||||||
|
* doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and
|
||||||
|
DWARF2_UNWIND_INFO.
|
||||||
|
|
||||||
2004-08-12 Ben Elliston <bje@au.ibm.com>
|
2004-08-12 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
PR target/16286
|
PR target/16286
|
||||||
|
@ -7558,12 +7558,13 @@ Otherwise, if your target supports this information (if it defines
|
|||||||
or @samp{OBJECT_FORMAT_ELF}), GCC will provide a default definition of
|
or @samp{OBJECT_FORMAT_ELF}), GCC will provide a default definition of
|
||||||
1.
|
1.
|
||||||
|
|
||||||
If this macro is defined to 1, the DWARF 2 unwinder will be the default
|
If @code{TARGET_UNWIND_INFO} is defined, the target specific unwinder
|
||||||
exception handling mechanism; otherwise, @code{setjmp}/@code{longjmp} will be used by
|
will be used in all cases. Defining this macro will enable the generation
|
||||||
default.
|
of DWARF 2 frame debugging information.
|
||||||
|
|
||||||
If this macro is defined to anything, the DWARF 2 unwinder will be used
|
If @code{TARGET_UNWIND_INFO} is not defined, and this macro is defined to 1,
|
||||||
instead of inline unwinders and @code{__unwind_function} in the non-@code{setjmp} case.
|
the DWARF 2 unwinder will be the default exception handling mechanism;
|
||||||
|
otherwise, @code{setjmp}/@code{longjmp} will be used by default.
|
||||||
@end defmac
|
@end defmac
|
||||||
|
|
||||||
@defmac TARGET_UNWIND_INFO
|
@defmac TARGET_UNWIND_INFO
|
||||||
|
@ -2458,8 +2458,11 @@ dwarf2out_frame_finish (void)
|
|||||||
if (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG)
|
if (write_symbols == DWARF2_DEBUG || write_symbols == VMS_AND_DWARF2_DEBUG)
|
||||||
output_call_frame_info (0);
|
output_call_frame_info (0);
|
||||||
|
|
||||||
|
#ifndef TARGET_UNWIND_INFO
|
||||||
|
/* Output another copy for the unwinder. */
|
||||||
if (! USING_SJLJ_EXCEPTIONS && (flag_unwind_tables || flag_exceptions))
|
if (! USING_SJLJ_EXCEPTIONS && (flag_unwind_tables || flag_exceptions))
|
||||||
output_call_frame_info (1);
|
output_call_frame_info (1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user