summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2001-08-19 23:21:40 +0000
committerespie <espie@openbsd.org>2001-08-19 23:21:40 +0000
commit3586637570b69a1b90d9d3ecb2916ca4413c43ed (patch)
tree8a91b8534e7363695ed88a4b73970a42eaf38a18
parentIf primes(6) will generate 32-bit primes, factor should factor 64-bit numbers. (diff)
downloadwireguard-openbsd-3586637570b69a1b90d9d3ecb2916ca4413c43ed.tar.xz
wireguard-openbsd-3586637570b69a1b90d9d3ecb2916ca4413c43ed.zip
Knowledge about sparc68/ppc endianess. Who knows where oldish a.out files
may come from ?
-rw-r--r--usr.bin/nm/byte.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/nm/byte.c b/usr.bin/nm/byte.c
index 47575f129c6..de253a7c47a 100644
--- a/usr.bin/nm/byte.c
+++ b/usr.bin/nm/byte.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: byte.c,v 1.2 1999/08/29 17:22:05 espie Exp $ */
+/* $OpenBSD: byte.c,v 1.3 2001/08/19 23:21:40 espie Exp $ */
/*
* Copyright (c) 1999
* Marc Espie. All rights reserved.
@@ -35,6 +35,8 @@ static int byte_sex(mid)
case MID_HPUX:
case MID_SPARC:
case MID_MIPS:
+ case MID_SPARC64:
+ case MID_POWERPC:
return BIG_ENDIAN;
default: /* we don't know what this is, so we don't want to process it */
return 0;