]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
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 5a18698bd3e536bb0496492f58e2e9834a4b890a..8bc18b47c77beec49806eb40272bd222adbe68da 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 c05246344e945ff7d3ddbcd26ef9e89c4f2e323d..ce45d15542f7062454a13985fffb45fecc2ec27a 100644 (file)
@@ -1,3 +1,9 @@
+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.
index a3e028c80d808e3e28f328297956598fed93081e..d6ec131879e78e14005f9abd82afcd8c37fc644d 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 6fd1742955e930fcd179f7b2ae9320c117911d80..07c53a22368d196f7aa4e93845da5cd9ccc11b46 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: