aboutsummaryrefslogtreecommitdiff
path: root/gcc/common/config/loongarch/loongarch-common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/common/config/loongarch/loongarch-common.cc')
-rw-r--r--gcc/common/config/loongarch/loongarch-common.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/common/config/loongarch/loongarch-common.cc b/gcc/common/config/loongarch/loongarch-common.cc
index ed3730f..f8b4660 100644
--- a/gcc/common/config/loongarch/loongarch-common.cc
+++ b/gcc/common/config/loongarch/loongarch-common.cc
@@ -34,6 +34,7 @@ along with GCC; see the file COPYING3. If not see
static const struct default_options loongarch_option_optimization_table[] =
{
{ OPT_LEVELS_ALL, OPT_fasynchronous_unwind_tables, NULL, 1 },
+ { OPT_LEVELS_1_PLUS, OPT_fsection_anchors, NULL, 1 },
{ OPT_LEVELS_NONE, 0, NULL, 0 }
};