]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Translate DW_LANG_Algol68 to DW_LNAME_Algol68 with lversion 1978
authorMark Wielaard <mark@klomp.org>
Fri, 5 Dec 2025 11:56:22 +0000 (12:56 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 5 Dec 2025 11:56:25 +0000 (12:56 +0100)
commitad03019f927c620f0ff09bbbf49a293be08391e9
tree8faf302b7eaee8ad56297a55fb532ebc90c421f7
parent9934964c84011f6842b2991e5a36596c8224a232
libdw: Translate DW_LANG_Algol68 to DW_LNAME_Algol68 with lversion 1978

1978 is the year of the publication of the Revised Report that defines
the revised language. And this is the version set by gcc a68. So when
we see DW_LANG_Algol68 we translate it to DW_LNAME_Algol68 with
lversion set to 1978 to match gcc a68.

* libdw/dwarf_srclang.c (srclang_to_language): Set lversion to
        1978 for DW_LANG_Algol68.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/dwarf_srclang.c