This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Recognize new DWARF5/GCC5 DW_LANG constants for Fortran 03 and Fortran 08.


On Tue, 2015-02-10 at 05:30 +0100, Matthias Klose wrote:
> On 02/10/2015 01:38 AM, Alan Modra wrote:
> > On Mon, Feb 09, 2015 at 11:42:13PM +0100, Mark Wielaard wrote:
> >> DWARFv5 defines and GCC5 may output two new DW_LANG constants for the
> >> Fortran 2003 and Fortran 2008 standards. Handle and display both in
> >> binutils.
> >>
> >> binutils/ChangeLog:
> >>
> >> 	* dwarf.c (read_and_display_attr_value): Handle DW_LANG_Fortran03
> >> 	and DW_LANG_Fortran08.
> >>
> >> include/ChangeLog:
> >>
> >> 	* dwarf2.h: Add DW_LANG_Fortran03 and DW_LANG_Fortran08.
> > 
> > OK.
> 
> Isn't that something which should go into the branch as well, maybe together
> with a 2.25.1 release around the time of a GCC 5 release?

-gdwarf-5 isn't the default yet in GCC 5. So it isn't too urgent. But if
we would like to match the DWARF capabilities of GCC 5 then the
following commits would be nice to have on a (release) branch:

commit 5a19504458d7a4113ef91875a447f4e841df7598
Recognize new DWARF5/GCC5 DW_LANG constants for Fortran 03 and Fortran 08.

commit a2c2acaf15e9cc40bae8a6eebba78aadd3a31b8e
GCC5/DWARFv5 Handle DW_TAG_atomic_type for C11 _Atomic type qualifier.

commit 743649fd80776de922475362bf3ac8b44511bb24
Use GCC5/DWARF5 DW_AT_noreturn to mark functions that don't return normally.

commit 0cfd832fc7d4f1b5633248754dcc75fa90b5475b
Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.

commit e235c3a213b73bf2da20d3c45a60a241139714f0
Merge include/* files from GCC commit 77cab4753.

commit 6ddfe5b4f9644204d5e322a2d026a01190dd38d9
Display DW_LANG_C11 as (C11).

commit 8bc106204c1aedd8c5ffb52453632a632d5484b8
dwarf.c handle new DWARFv5 C11, C++11 and C++14 DW_LANG constants.

commit 0cfd832fc7d4f1b5633248754dcc75fa90b5475b
Recognize new DWARFv5 C11, C++11 and C++14 DW_LANG constants.

Plus the pending patch for gold:
https://sourceware.org/ml/binutils/2015-02/msg00126.html

Note that some of those are actually commits for gdb. I hadn't fully
realized binutils and gdb share a git repo (I have separate git checkout
locally). So you would only need the include/ part. Sorry about that. In
the future I will push the include changes separately.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]