From 15103188924360c9c8c715c7db6a5725b82a4a01 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 2 Jun 2001 19:42:40 +0000 Subject: [PATCH] 2001-06-02 H.J. Lu * aout-cris.c (MACHTYPE_OK): New. Defined. --- bfd/ChangeLog | 4 ++++ bfd/aout-cris.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index bbaa444f072..e9a53c95f35 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2001-06-02 H.J. Lu + + * aout-cris.c (MACHTYPE_OK): New. Defined. + 2001-06-02 Hans-Peter Nilsson * section.c (_bfd_strip_section_from_output): Handle NULL diff --git a/bfd/aout-cris.c b/bfd/aout-cris.c index ac45232bf0e..32357f4b6bf 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" -- 2.30.2