Correct spelling of DW_LANG_ObjC in dwarf.h.
authorMark Wielaard <mjw@redhat.com>
Tue, 24 Jul 2012 11:20:41 +0000 (13:20 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 26 Jul 2012 08:19:14 +0000 (10:19 +0200)
Fix usage in dwarf_aggregate_size.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
NEWS
libdw/ChangeLog
libdw/dwarf.h
libdw/dwarf_aggregate_size.c

diff --git a/NEWS b/NEWS
index 5a18698..8bc18b4 100644 (file)
--- 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.
index c052463..ce45d15 100644 (file)
@@ -1,5 +1,11 @@
 2012-07-24  Mark Wielaard  <mjw@redhat.com>
 
+       * 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  <mjw@redhat.com>
+
        * dwarf.h: Add DW_ATE_UTF.
 
 2012-06-27  Mark Wielaard  <mjw@redhat.com>
index a3e028c..d6ec131 100644 (file)
@@ -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 */
index 6fd1742..07c53a2 100644 (file)
@@ -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: