diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2001-08-19 23:21:41 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2001-08-19 23:21:41 +0000 |
commit | ad61f6dc6a2927aa89c55da4ffe8cec53043ed29 (patch) | |
tree | 38451215fe1b4feea9e15baf42940ecd8902673b /usr.bin/nm/byte.c | |
parent | 1cd168a42529126744edf9a1327d4499423a2221 (diff) |
Knowledge about sparc68/ppc endianess. Who knows where oldish a.out files
may come from ?
Diffstat (limited to 'usr.bin/nm/byte.c')
-rw-r--r-- | usr.bin/nm/byte.c | 4 |
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; |