diff options
| author | Mark Wielaard <[email protected]> | 2012-08-17 00:35:03 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2012-08-17 11:27:30 +0200 |
| commit | f31c4418be5bce6f0dd448cf07fc1092e5a7e1d2 (patch) | |
| tree | 7019a7ca1181e2048ad7667f450b39dd8d278227 /libdw/dwarf.h | |
| parent | d83f1324c33a138f16da5f0fbba89ea45f4811d5 (diff) | |
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 <[email protected]>
Diffstat (limited to 'libdw/dwarf.h')
| -rw-r--r-- | libdw/dwarf.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 }; |
