diff options
| author | matt <matt@NetBSD.org> | 2014-08-10 05:56:36 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2014-08-10 05:56:36 +0000 |
| commit | aa37019d109cc653e3828a58277d973adfa37ab8 (patch) | |
| tree | 8baa693a360b794f4fedb771c2c034dfb3d52c92 /sbin | |
| parent | 67d1b4670c33306186aa6daae835df84d1aca994 (diff) | |
Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/disklabel/main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sbin/disklabel/main.c b/sbin/disklabel/main.c index 3c2af38862d..c7db3462f91 100644 --- a/sbin/disklabel/main.c +++ b/sbin/disklabel/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.39 2014/07/15 20:18:30 joerg Exp $ */ +/* $NetBSD: main.c,v 1.40 2014/08/10 05:57:31 matt Exp $ */ /* * Copyright (c) 2006 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\ static char sccsid[] = "@(#)disklabel.c 8.4 (Berkeley) 5/4/95"; /* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */ #else -__RCSID("$NetBSD: main.c,v 1.39 2014/07/15 20:18:30 joerg Exp $"); +__RCSID("$NetBSD: main.c,v 1.40 2014/08/10 05:57:31 matt Exp $"); #endif #endif /* not lint */ @@ -259,6 +259,7 @@ static const struct disklabel_params { { "prep", 1, 1, 0, 8, 2, 0, BIG_ENDIAN }, /* powerpc */ { "dreadmcast", 1, 1, 0, 16, 2, 0, LITTLE_ENDIAN }, /* sh3 */ + { "evbarm64", 1, 1, 0, 16, 2, 0, 0 }, /* aarch64 */ { "evbsh3", 1, 1, 0, 16, 2, 0, 0 }, /* sh3 */ { "evbcf", 1, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* coldfire */ { "evbppc-mbr", 1, 1, 0, 16, 2, 0, BIG_ENDIAN }, /* powerpc */ @@ -296,6 +297,7 @@ static const struct arch_endian { int byteorder; const char *arch; } arch_endians[] = { + { LITTLE_ENDIAN, "aarch64" }, { LITTLE_ENDIAN, "alpha" }, { LITTLE_ENDIAN, "arm" }, { LITTLE_ENDIAN, "earm" }, @@ -314,6 +316,7 @@ static const struct arch_endian { { LITTLE_ENDIAN, "vax" }, { LITTLE_ENDIAN, "x86_64" }, + { BIG_ENDIAN, "aarch64eb" }, { BIG_ENDIAN, "armeb" }, { BIG_ENDIAN, "coldfire" }, { BIG_ENDIAN, "earmeb" }, |
