From f31c4418be5bce6f0dd448cf07fc1092e5a7e1d2 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Fri, 17 Aug 2012 00:35:03 +0200 Subject: Rewrite DWARF string functions using known-dwarf macros. readelf and tests were using hard coded string tables to produce DWARF string constants. Use the known-dwarf macros to redefine these and reduce code. Technique comes from dwarf branch dwarfstrings.c. Signed-off-by: Mark Wielaard --- libdw/dwarf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdw/dwarf.h') diff --git a/libdw/dwarf.h b/libdw/dwarf.h index 81bc7fe5..41cae5bc 100644 --- a/libdw/dwarf.h +++ b/libdw/dwarf.h @@ -581,10 +581,10 @@ enum DW_LANG_UPC = 0x0012, /* Unified Parallel C */ DW_LANG_D = 0x0013, /* D */ DW_LANG_Python = 0x0014, /* Python */ - DW_LANG_Go = 0x0016, /* Google's Go (provisionally in DWARF5) */ + DW_LANG_Go = 0x0016, /* Go */ DW_LANG_lo_user = 0x8000, - DW_LANG_Mips_Assembler = 0x8001, + DW_LANG_Mips_Assembler = 0x8001, /* Assembler */ DW_LANG_hi_user = 0xffff }; -- cgit v1.2.3