From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6637792120130250926==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: [PATCH] libdw: Correct spelling of DW_LANG_PLI in dwarf.h. Date: Wed, 26 Oct 2016 12:24:41 +0200 Message-ID: <1477477481-15608-1-git-send-email-mjw@redhat.com> --===============6637792120130250926== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The name used in the standard and other DWARF implementations for Programming Language One, PL/I, is DW_LANG_PLI (not DW_LANG_PL1). Fix usage in dwarf_aggregate_size. Signed-off-by: Mark Wielaard --- NEWS | 5 +++++ libdw/ChangeLog | 6 ++++++ libdw/dwarf.h | 4 ++-- libdw/dwarf_aggregate_size.c | 4 ++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 599970b..6adb76f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,8 @@ +Version 0.168 + +libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1). + Any existing sources using the old name will have to be updated. + Version 0.167 = libasm: Add eBPF disassembler for EM_BPF files. diff --git a/libdw/ChangeLog b/libdw/ChangeLog index c2f25ea..01213c5 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,9 @@ +2016-10-22 Mark Wielaard + + * dwarf.h: Correct spelling of DW_LANG_PLI. + * dwarf_aggregate_size.c (array_size): Use correct spelling of + DW_LANG_PLI. + 2015-10-11 Akihiko Odaki = * dwarf_getpubnames.c: Remove sys/param.h include, add system.h. diff --git a/libdw/dwarf.h b/libdw/dwarf.h index b5c58d7..6354c39 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -1,5 +1,5 @@ /* This file defines standard DWARF types, structures, and macros. - Copyright (C) 2000-2011, 2014 Red Hat, Inc. + Copyright (C) 2000-2011, 2014, 2016 Red Hat, Inc. This file is part of elfutils. = This file is free software; you can redistribute it and/or modify @@ -582,7 +582,7 @@ enum DW_LANG_C99 =3D 0x000c, /* ISO C:1999 */ DW_LANG_Ada95 =3D 0x000d, /* ISO Ada:1995 */ DW_LANG_Fortran95 =3D 0x000e, /* ISO Fortran 95 */ - DW_LANG_PL1 =3D 0x000f, /* ISO PL/1:1976 */ + DW_LANG_PLI =3D 0x000f, /* ISO PL/1:1976 */ DW_LANG_ObjC =3D 0x0010, /* Objective-C */ DW_LANG_ObjC_plus_plus =3D 0x0011, /* Objective-C++ */ DW_LANG_UPC =3D 0x0012, /* Unified Parallel C */ diff --git a/libdw/dwarf_aggregate_size.c b/libdw/dwarf_aggregate_size.c index aaeb7ed..52ef006 100644 --- a/libdw/dwarf_aggregate_size.c +++ b/libdw/dwarf_aggregate_size.c @@ -1,5 +1,5 @@ /* Compute size of an aggregate type from DWARF. - Copyright (C) 2010, 2014 Red Hat, Inc. + Copyright (C) 2010, 2014, 2016 Red Hat, Inc. This file is part of elfutils. = This file is free software; you can redistribute it and/or modify @@ -127,7 +127,7 @@ array_size (Dwarf_Die *die, Dwarf_Word *size, case DW_LANG_Fortran08: case DW_LANG_Pascal83: case DW_LANG_Modula2: - case DW_LANG_PL1: + case DW_LANG_PLI: lower =3D 1; break; = -- = 1.8.3.1 --===============6637792120130250926==--