From: Mark Wielaard Date: Tue, 24 Jul 2012 11:20:41 +0000 (+0200) Subject: Correct spelling of DW_LANG_ObjC in dwarf.h. X-Git-Tag: elfutils-0.155~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4010b8194a458d4e12f86c0b05327126199ff60;p=thirdparty%2Felfutils.git Correct spelling of DW_LANG_ObjC in dwarf.h. Fix usage in dwarf_aggregate_size. Signed-off-by: Mark Wielaard --- diff --git a/NEWS b/NEWS index 5a18698bd..8bc18b47c 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 c05246344..ce45d1554 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,9 @@ +2012-07-24 Mark Wielaard + + * 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 * dwarf.h: Add DW_ATE_UTF. diff --git a/libdw/dwarf.h b/libdw/dwarf.h index a3e028c80..d6ec13187 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 6fd174295..07c53a223 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: