Set the default DLL chracteristics to 0 for Cygwin based targets.
[binutils-gdb.git] / gold / gdb-index.cc
index 1a418203155da4efa146608d116ff8ab51a64c7d..a9c080811a51ea0f2803feb54af48bc5c7de45c5 100644 (file)
@@ -1,6 +1,6 @@
 // gdb-index.cc -- generate .gdb_index section for fast debug lookup
 
-// Copyright (C) 2012-2015 Free Software Foundation, Inc.
+// Copyright (C) 2012-2021 Free Software Foundation, Inc.
 // Written by Cary Coutant <ccoutant@google.com>.
 
 // This file is part of gold.
@@ -371,7 +371,9 @@ Gdb_index_info_reader::visit_top_die(Dwarf_die* die)
                || this->cu_language_ == elfcpp::DW_LANG_Fortran90
                || this->cu_language_ == elfcpp::DW_LANG_Java
                || this->cu_language_ == elfcpp::DW_LANG_Ada95
-               || this->cu_language_ == elfcpp::DW_LANG_Fortran95)
+               || this->cu_language_ == elfcpp::DW_LANG_Fortran95
+               || this->cu_language_ == elfcpp::DW_LANG_Fortran03
+               || this->cu_language_ == elfcpp::DW_LANG_Fortran08)
              {
                gold_warning(_("%s: --gdb-index currently supports "
                               "only C and C++ languages"),