aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/aout-cris.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index bbaa444..e9a53c9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-02 H.J. Lu <hjl@gnu.org>
+
+ * aout-cris.c (MACHTYPE_OK): New. Defined.
+
2001-06-02 Hans-Peter Nilsson <hp@axis.com>
* section.c (_bfd_strip_section_from_output): Handle NULL
diff --git a/bfd/aout-cris.c b/bfd/aout-cris.c
index ac45232..32357f4 100644
--- a/bfd/aout-cris.c
+++ b/bfd/aout-cris.c
@@ -112,6 +112,8 @@ static boolean MY(set_sizes) PARAMS ((bfd *));
#define MY_get_section_contents aout_32_get_section_contents
#endif
+#define MACHTYPE_OK(mtype) ((mtype) == M_CRIS)
+
/* Include generic functions (some are overridden above). */
#include "aout32.c"
#include "aout-target.h"