Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/bfd Put the "hacked-for-vax" version of MACHTYPE_OK...
details: https://anonhg.NetBSD.org/src/rev/f26a80b273ca
branches: trunk
changeset: 471502:f26a80b273ca
user: gwr <gwr%NetBSD.org@localhost>
date: Sat Apr 03 05:23:01 1999 +0000
description:
Put the "hacked-for-vax" version of MACHTYPE_OK here, where it belongs.
diffstat:
gnu/dist/bfd/vaxnetbsd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 4db506da6d13 -r f26a80b273ca gnu/dist/bfd/vaxnetbsd.c
--- a/gnu/dist/bfd/vaxnetbsd.c Sat Apr 03 04:50:16 1999 +0000
+++ b/gnu/dist/bfd/vaxnetbsd.c Sat Apr 03 05:23:01 1999 +0000
@@ -26,6 +26,8 @@
#define DEFAULT_ARCH bfd_arch_vax
#define DEFAULT_MID M_VAX_NETBSD
#define ADDITIONAL_MID M_VAX1K_NETBSD
+#define MACHTYPE_OK(m) ((m) == DEFAULT_MID || (m) == ADDITIONAL_MID || \
+ (m) == M_UNKNOWN)
/* XXX Recognize kernels, which have little-endian ULTRIX magic */
#define SWAP_MAGIC(ext) (bfd_getb32(ext) == 0x0b010000 ? 0x008c010b : bfd_getb32(ext))
Home |
Main Index |
Thread Index |
Old Index