This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch]: Make unwind_emit hook NULL by default
- From: Richard Henderson <rth at redhat dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 06 Jul 2010 13:47:15 -0700
- Subject: Re: [patch]: Make unwind_emit hook NULL by default
- References: <AANLkTikTICC6ASdd8oBiCmQhWz7SJS2BWJoN4O99CLHV@mail.gmail.com>
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~