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