]> git.pld-linux.org Git - packages/cross-gcc.git/blame - gcc49-aarch64-async-unw-tables.patch
disable error cflags
[packages/cross-gcc.git] / gcc49-aarch64-async-unw-tables.patch
CommitLineData
b5b0b447
ER
12014-04-07 Richard Henderson <rth@redhat.com>
2
3 * common/config/aarch64/aarch64-common.c (TARGET_OPTION_INIT_STRUCT):
4 Define.
5 (aarch64_option_init_struct): New function.
6
7--- gcc/common/config/aarch64/aarch64-common.c
8+++ gcc/common/config/aarch64/aarch64-common.c
9@@ -39,6 +39,9 @@
10 #undef TARGET_OPTION_OPTIMIZATION_TABLE
11 #define TARGET_OPTION_OPTIMIZATION_TABLE aarch_option_optimization_table
12
13+#undef TARGET_OPTION_INIT_STRUCT
14+#define TARGET_OPTION_INIT_STRUCT aarch64_option_init_struct
15+
16 /* Set default optimization options. */
17 static const struct default_options aarch_option_optimization_table[] =
18 {
19@@ -47,6 +50,16 @@ static const struct default_options aarch_option_optimization_table[] =
20 { OPT_LEVELS_NONE, 0, NULL, 0 }
21 };
22
23+/* Implement TARGET_OPTION_INIT_STRUCT. */
24+
25+static void
26+aarch64_option_init_struct (struct gcc_options *opts)
27+{
28+ /* By default, always emit DWARF-2 unwind info. This allows debugging
29+ without maintaining a stack frame back-chain. */
30+ opts->x_flag_asynchronous_unwind_tables = 1;
31+}
32+
33 /* Implement TARGET_HANDLE_OPTION.
34 This function handles the target specific options for CPU/target selection.
35
This page took 0.073841 seconds and 4 git commands to generate.