Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/bfd Move the custom version of MACHTYPE_OK out wher...



details:   https://anonhg.NetBSD.org/src/rev/112abaa57ef4
branches:  trunk
changeset: 471503:112abaa57ef4
user:      gwr <gwr%NetBSD.org@localhost>
date:      Sat Apr 03 05:26:06 1999 +0000

description:
Move the custom version of MACHTYPE_OK out where it belongs.

diffstat:

 gnu/dist/bfd/netbsd.h |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (25 lines):

diff -r f26a80b273ca -r 112abaa57ef4 gnu/dist/bfd/netbsd.h
--- a/gnu/dist/bfd/netbsd.h     Sat Apr 03 05:23:01 1999 +0000
+++ b/gnu/dist/bfd/netbsd.h     Sat Apr 03 05:26:06 1999 +0000
@@ -20,20 +20,11 @@
 USA.  */
 
 /* Check for our machine type (part of magic number). */
+/* If other MID values, define MACHTYPE_OK in xxxnetbsd.c */
 #ifndef MACHTYPE_OK
 #define MACHTYPE_OK(m) ((m) == DEFAULT_MID || (m) == M_UNKNOWN)
 #endif
 
-/* Check for our machine type (part of magic number). */
-#ifndef MACHTYPE_OK
-#ifdef ADDITIONAL_MID
-#define MACHTYPE_OK(m) ((m) == DEFAULT_MID || (m) == ADDITIONAL_MID || \
-                       (m) == M_UNKNOWN)
-#else
-#define MACHTYPE_OK(m) ((m) == DEFAULT_MID || (m) == M_UNKNOWN)
-#endif
-#endif
-
 /* This is the normal load address for executables. */
 #define TEXT_START_ADDR                TARGET_PAGE_SIZE
 



Home | Main Index | Thread Index | Old Index