-/* Determine the exception handling mechanism for the target. */
-
-enum unwind_info_type
-default_except_unwind_info (struct gcc_options *opts ATTRIBUTE_UNUSED)
-{
- /* Obey the configure switch to turn on sjlj exceptions. */
-#ifdef CONFIG_SJLJ_EXCEPTIONS
- if (CONFIG_SJLJ_EXCEPTIONS)
- return UI_SJLJ;
-#endif
-
- /* ??? Change all users to the hook, then poison this. */
-#ifdef DWARF2_UNWIND_INFO
- if (DWARF2_UNWIND_INFO)
- return UI_DWARF2;
-#endif
-
- return UI_SJLJ;
-}
-
-/* To be used by targets that force dwarf2 unwind enabled. */
-
-enum unwind_info_type
-dwarf2_except_unwind_info (struct gcc_options *opts ATTRIBUTE_UNUSED)
-{
- /* Obey the configure switch to turn on sjlj exceptions. */
-#ifdef CONFIG_SJLJ_EXCEPTIONS
- if (CONFIG_SJLJ_EXCEPTIONS)
- return UI_SJLJ;
-#endif
-
- return UI_DWARF2;
-}
-
-/* To be used by targets that force sjlj unwind enabled. */
-
-enum unwind_info_type
-sjlj_except_unwind_info (struct gcc_options *opts ATTRIBUTE_UNUSED)
-{
- return UI_SJLJ;
-}
-