[gold] Recognize DWARF5/GCC5 DW_LANG_Fortran03 and DW_LANG_Fortran08.
authorMark Wielaard <mjw@redhat.com>
Mon, 9 Feb 2015 23:02:34 +0000 (00:02 +0100)
committerMark Wielaard <mjw@redhat.com>
Tue, 17 Feb 2015 07:08:24 +0000 (08:08 +0100)
commit2d9afefe223de983d6e86b5de9da0e5650057ac9
tree65317d0175a7b21ff5d3da8b52b1b3c8516575c3
parente9c1bdad269c0c3352eebcc9481ed65144001b0b
[gold] Recognize DWARF5/GCC5 DW_LANG_Fortran03 and DW_LANG_Fortran08.

DWARFv5 defines and GCC5 may output two new DW_LANG constants for the
Fortran 2003 and Fortran 2008 standards. Recognize both in gold gdb-index
as unsupported.

For consistency also add the other new DWARF5/GCC5 language constants in
the elfcpp::DW_LANG enum to match include/dwarf2.h.

elfcpp/ChangeLog:

* dwarf.h (enum DW_LANG): Add DW_LANG_C_plus_plus_11,
DW_LANG_C11, DW_LANG_C_plus_plus_14, DW_LANG_Fortran03 and
DW_LANG_Fortran08 from ../include/dwarf2.h.

gold/ChangeLog:

* gdb-index.cc (Gdb_index_info_reader::visit_top_die): Recognize
DW_LANG_Fortran03 and DW_LANG_Fortran08.
elfcpp/ChangeLog
elfcpp/dwarf.h
gold/ChangeLog
gold/gdb-index.cc
This page took 0.024853 seconds and 4 git commands to generate.