]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gcc/patches/gcc49-aarch64-async-unw-tables.patch0
Merge branch 'gcc-4.9'
[people/ms/ipfire-3.x.git] / gcc / patches / gcc49-aarch64-async-unw-tables.patch0
1 2014-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