This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Repair include/dwarf2.def breakage
- From: Alan Modra <amodra at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 3 Jul 2017 12:14:54 -0000
- Subject: [binutils-gdb] Repair include/dwarf2.def breakage
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e70564caed5f56b4937ef3f5a51ae2159cabef4
commit 7e70564caed5f56b4937ef3f5a51ae2159cabef4
Author: Alan Modra <amodra@gmail.com>
Date: Mon Jul 3 19:30:24 2017 +0930
Repair include/dwarf2.def breakage
* dwarf.h (DW_FIRST_IDX, DW_IDX, DW_IDX_DUP, DW_END_IDX): Define.
Diff:
---
elfcpp/ChangeLog | 4 ++++
elfcpp/dwarf.h | 6 ++++++
2 files changed, 10 insertions(+)
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog
index 3ce59f3..1ca1df1 100644
--- a/elfcpp/ChangeLog
+++ b/elfcpp/ChangeLog
@@ -1,3 +1,7 @@
+2017-07-03 Alan Modra <amodra@gmail.com>
+
+ * dwarf.h (DW_FIRST_IDX, DW_IDX, DW_IDX_DUP, DW_END_IDX): Define.
+
2017-06-21 Alan Modra <amodra@gmail.com>
* elfcpp.h (DT_PPC64_OPT): Define.
diff --git a/elfcpp/dwarf.h b/elfcpp/dwarf.h
index 364b774..85004a4 100644
--- a/elfcpp/dwarf.h
+++ b/elfcpp/dwarf.h
@@ -74,6 +74,12 @@ namespace elfcpp
#define DW_CFA(name, value) , name = value
#define DW_END_CFA };
+#define DW_FIRST_IDX(name, value) enum dwarf_name_index_attribute { \
+ name = value
+#define DW_IDX(name, value) , name = value
+#define DW_IDX_DUP(name, value) , name = value
+#define DW_END_IDX };
+
#include "dwarf2.def"
#undef DW_FIRST_TAG