summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2012-07-24 13:20:41 +0200
committerMark Wielaard <[email protected]>2012-07-26 10:19:14 +0200
commitc4010b8194a458d4e12f86c0b05327126199ff60 (patch)
tree073412bcb8b70e189b3e9e992153eb18b02d3626
parentdf9ec3f0ee0fb17ae9d78f8b0d843bf80896d8bb (diff)
Correct spelling of DW_LANG_ObjC in dwarf.h.
Fix usage in dwarf_aggregate_size. Signed-off-by: Mark Wielaard <[email protected]>
-rw-r--r--NEWS5
-rw-r--r--libdw/ChangeLog6
-rw-r--r--libdw/dwarf.h2
-rw-r--r--libdw/dwarf_aggregate_size.c2
4 files changed, 13 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 5a18698b..8bc18b47 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+Version 0.155
+
+libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
+ Any existing sources using the old name will have to be updated.
+
Version 0.154
libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
diff --git a/libdw/ChangeLog b/libdw/ChangeLog
index c0524634..ce45d155 100644
--- a/libdw/ChangeLog
+++ b/libdw/ChangeLog
@@ -1,5 +1,11 @@
2012-07-24 Mark Wielaard <[email protected]>
+ * dwarf.h: Correct spelling of DW_LANG_ObjC.
+ * dwarf_aggregate_size.c (array_size): Use correct spelling of
+ DW_LANG_ObjC.
+
+2012-07-24 Mark Wielaard <[email protected]>
+
* dwarf.h: Add DW_ATE_UTF.
2012-06-27 Mark Wielaard <[email protected]>
diff --git a/libdw/dwarf.h b/libdw/dwarf.h
index a3e028c8..d6ec1318 100644
--- a/libdw/dwarf.h
+++ b/libdw/dwarf.h
@@ -572,7 +572,7 @@ enum
DW_LANG_Ada95 = 0x000d, /* ISO Ada:1995 */
DW_LANG_Fortran95 = 0x000e, /* ISO Fortran 95 */
DW_LANG_PL1 = 0x000f, /* ISO PL/1:1976 */
- DW_LANG_Objc = 0x0010, /* Objective-C */
+ DW_LANG_ObjC = 0x0010, /* Objective-C */
DW_LANG_ObjC_plus_plus = 0x0011, /* Objective-C++ */
DW_LANG_UPC = 0x0012, /* Unified Parallel C */
DW_LANG_D = 0x0013, /* D */
diff --git a/libdw/dwarf_aggregate_size.c b/libdw/dwarf_aggregate_size.c
index 6fd17429..07c53a22 100644
--- a/libdw/dwarf_aggregate_size.c
+++ b/libdw/dwarf_aggregate_size.c
@@ -99,7 +99,7 @@ array_size (Dwarf_Die *die, Dwarf_Word *size,
case DW_LANG_C89:
case DW_LANG_C99:
case DW_LANG_C_plus_plus:
- case DW_LANG_Objc:
+ case DW_LANG_ObjC:
case DW_LANG_ObjC_plus_plus:
case DW_LANG_Java:
case DW_LANG_D: