This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix build error on mips-irix (missing match_priority)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: binutils at sourceware dot org
- Cc: Joel Brobecker <brobecker at adacore dot com>
- Date: Tue, 7 Jun 2011 12:53:38 -0700
- Subject: [PATCH] Fix build error on mips-irix (missing match_priority)
A new field was recently added to struct bfd_target, and irix-core.c
needs an update...
bfd/ChangeLog:
* irix-core.c (irix_core_vec): Add match_priority field.
Checked in (I also tested GDB on mips-irix).
---
bfd/ChangeLog | 4 ++++
bfd/irix-core.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bd3895a..56267c4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-07 Joel Brobecker <brobecker@adacore.com>
+
+ * irix-core.c (irix_core_vec): Add match_priority field.
+
2011-06-06 Alan Modra <amodra@gmail.com>
* targets.c (bfd_target): Make ar_max_namelen an unsigned char.
diff --git a/bfd/irix-core.c b/bfd/irix-core.c
index eb930a4..6702cc7 100644
--- a/bfd/irix-core.c
+++ b/bfd/irix-core.c
@@ -293,6 +293,7 @@ const bfd_target irix_core_vec =
0, /* symbol prefix */
' ', /* ar_pad_char */
16, /* ar_max_namelen */
+ 0, /* match_priority */
NO_GET64, NO_GETS64, NO_PUT64, /* 64 bit data */
NO_GET, NO_GETS, NO_PUT, /* 32 bit data */
NO_GET, NO_GETS, NO_PUT, /* 16 bit data */
--
1.7.1