summaryrefslogtreecommitdiffstats
path: root/libdw/dwarf.h
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2016-10-22 19:18:51 +0200
committerMark Wielaard <[email protected]>2016-11-10 12:08:34 +0100
commitee38b26dc14f52eb8596e638776319ebc4213d36 (patch)
treed387182c6240845c1a36d6e3882bd5957adea8fd /libdw/dwarf.h
parenta3cc8182b2ae05290b0eafa74b70746d7befc0e4 (diff)
libdw: Correct spelling of DW_LANG_PLI in dwarf.h.
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 <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
-rw-r--r--libdw/dwarf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index b5c58d7f..169b53e5 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 = 0x000c, /* ISO C:1999 */
DW_LANG_Ada95 = 0x000d, /* ISO Ada:1995 */
DW_LANG_Fortran95 = 0x000e, /* ISO Fortran 95 */
- DW_LANG_PL1 = 0x000f, /* ISO PL/1:1976 */
+ DW_LANG_PLI = 0x000f, /* ISO PL/1:1976 */
DW_LANG_ObjC = 0x0010, /* Objective-C */
DW_LANG_ObjC_plus_plus = 0x0011, /* Objective-C++ */
DW_LANG_UPC = 0x0012, /* Unified Parallel C */
@@ -602,6 +602,8 @@ enum
DW_LANG_hi_user = 0xffff
};
+/* Old (typo) '1' != 'I'. */
+#define DW_LANG_PL1 DW_LANG_PLI
/* DWARF identifier case encodings. */
enum