[patch]: Make unwind_emit hook NULL by default
Richard Henderson
rth@redhat.com
Tue Jul 6 20:47:00 GMT 2010
On 07/06/2010 01:24 PM, Kai Tietz wrote:
> Hello,
>
> this patch is a small clean-up patch for the unwind_emit hook.
>
> ChangeLog
>
> 2010-07-06 Kai Tietz
>
> * final.c (final_scan_insn): Replace
> TARGET_UNWIND_INFO macro check by unwind_emit
> hook NULL check.
> * targhooks.c (default_unwind_emit): Removed.
> * targhooks.h (default_unwind_emit): Likewise.
> * target.def (unwind_emit): Set default value to NULL.
>
> Tested for i686-pc-cygwin, x86_64-pc-mingw32, and i686-pc-linux-gnu.
> Ok for apply?
Ok.
For the benefit of the list, there are still other uses of TARGET_UNWIND_INFO
that want cleaning up, a couple of which are ia64-specific. I agreed that we
could address these incrementally.
r~
More information about the Gcc-patches
mailing list