c4b2a61
2014-04-07  Richard Henderson  <rth@redhat.com>
c4b2a61
c4b2a61
	* common/config/aarch64/aarch64-common.c (TARGET_OPTION_INIT_STRUCT):
c4b2a61
	Define.
c4b2a61
	(aarch64_option_init_struct): New function.
c4b2a61
c4b2a61
--- gcc/common/config/aarch64/aarch64-common.c
c4b2a61
+++ gcc/common/config/aarch64/aarch64-common.c
c4b2a61
@@ -39,6 +39,9 @@
c4b2a61
 #undef	TARGET_OPTION_OPTIMIZATION_TABLE
c4b2a61
 #define TARGET_OPTION_OPTIMIZATION_TABLE aarch_option_optimization_table
c4b2a61
 
c4b2a61
+#undef TARGET_OPTION_INIT_STRUCT
c4b2a61
+#define TARGET_OPTION_INIT_STRUCT aarch64_option_init_struct
c4b2a61
+
c4b2a61
 /* Set default optimization options.  */
c4b2a61
 static const struct default_options aarch_option_optimization_table[] =
c4b2a61
   {
c4b2a61
@@ -47,6 +50,16 @@ static const struct default_options aarch_option_optimization_table[] =
c4b2a61
     { OPT_LEVELS_NONE, 0, NULL, 0 }
c4b2a61
   };
c4b2a61
 
c4b2a61
+/* Implement TARGET_OPTION_INIT_STRUCT.  */
c4b2a61
+
c4b2a61
+static void
c4b2a61
+aarch64_option_init_struct (struct gcc_options *opts)
c4b2a61
+{
c4b2a61
+  /* By default, always emit DWARF-2 unwind info.  This allows debugging
c4b2a61
+     without maintaining a stack frame back-chain.  */
c4b2a61
+  opts->x_flag_asynchronous_unwind_tables = 1;
c4b2a61
+}
c4b2a61
+
c4b2a61
 /* Implement TARGET_HANDLE_OPTION.
c4b2a61
    This function handles the target specific options for CPU/target selection.
c4b2a61