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