This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[GOLD] Repair include/dwarf2.def breakage
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 3 Jul 2017 21:44:20 +0930
- Subject: [GOLD] Repair include/dwarf2.def breakage
- Authentication-results: sourceware.org; auth=none
Jan's libiberty patch broke gold. Applying as obvious.
* dwarf.h (DW_FIRST_IDX, DW_IDX, DW_IDX_DUP, DW_END_IDX): 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
--
Alan Modra
Australia Development Lab, IBM