26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
diff -N -urp a/gcc/common/config/aarch64/aarch64-common.c b/gcc/common/config/aarch64/aarch64-common.c
|
|
--- a/gcc/common/config/aarch64/aarch64-common.c 2019-07-02 09:28:49.798701181 +0800
|
|
+++ b/gcc/common/config/aarch64/aarch64-common.c 2019-07-02 09:30:15.436282799 +0800
|
|
@@ -51,6 +51,10 @@ static const struct default_options aarc
|
|
{ OPT_LEVELS_1_PLUS, OPT_fsched_pressure, NULL, 1 },
|
|
/* Enable redundant extension instructions removal at -O2 and higher. */
|
|
{ OPT_LEVELS_2_PLUS, OPT_free, NULL, 1 },
|
|
+#if (TARGET_DEFAULT_ASYNC_UNWIND_TABLES == 1)
|
|
+ { OPT_LEVELS_ALL, OPT_fasynchronous_unwind_tables, NULL, 1 },
|
|
+ { OPT_LEVELS_ALL, OPT_funwind_tables, NULL, 1},
|
|
+#endif
|
|
{ OPT_LEVELS_NONE, 0, NULL, 0 }
|
|
};
|
|
|
|
diff -N -urp a/gcc/config.gcc b/gcc/config.gcc
|
|
--- a/gcc/config.gcc 2019-07-02 09:28:50.114701170 +0800
|
|
+++ b/gcc/config.gcc 2019-07-02 09:31:50.636196118 +0800
|
|
@@ -966,6 +966,7 @@ aarch64*-*-linux*)
|
|
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h"
|
|
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-linux.h"
|
|
tmake_file="${tmake_file} aarch64/t-aarch64 aarch64/t-aarch64-linux"
|
|
+ tm_defines="${tm_defines} TARGET_DEFAULT_ASYNC_UNWIND_TABLES=1"
|
|
case $target in
|
|
aarch64_be-*)
|
|
tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=1"
|