[binutils-gdb] Include coff/sym.h from coff/ecoff.h
Tom Tromey
tromey@sourceware.org
Wed Jan 23 03:51:00 GMT 2019
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=71ba91e1c0732e203ba465a2196caa45aa8b2179
commit 71ba91e1c0732e203ba465a2196caa45aa8b2179
Author: Tom Tromey <tom@tromey.com>
Date: Mon Jan 21 14:50:24 2019 -0700
Include coff/sym.h from coff/ecoff.h
coff/ecoff.h refers to some names defined in coff/sym.h. Include the
latter from the former, so that users of the header don't need to know
this detail.
2019-01-22 Tom Tromey <tom@tromey.com>
* coff/ecoff.h: Include coff/sym.h.
Diff:
---
include/ChangeLog | 4 ++++
include/coff/ecoff.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/include/ChangeLog b/include/ChangeLog
index af47bd9..6263644 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-22 Tom Tromey <tom@tromey.com>
+
+ * coff/ecoff.h: Include coff/sym.h.
+
2018-06-24 Nick Clifton <nickc@redhat.com>
2.32 branch created.
diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h
index 0ea66c5..75cf3ea 100644
--- a/include/coff/ecoff.h
+++ b/include/coff/ecoff.h
@@ -22,6 +22,8 @@
#ifndef ECOFF_H
#define ECOFF_H
+#include "coff/sym.h"
+
/* Mips magic numbers used in filehdr. MIPS_MAGIC_LITTLE is used on
little endian machines. MIPS_MAGIC_BIG is used on big endian
machines. Where is MIPS_MAGIC_1 from? */
More information about the Binutils-cvs
mailing list