diff --git a/lib/libc/gen/nlist_private.h b/lib/libc/gen/nlist_private.h index d9de46b20004..6516524801b3 100644 --- a/lib/libc/gen/nlist_private.h +++ b/lib/libc/gen/nlist_private.h @@ -1,4 +1,4 @@ -/* $NetBSD: nlist_private.h,v 1.22 2012/03/20 16:36:05 matt Exp $ */ +/* $NetBSD: nlist_private.h,v 1.23 2015/06/13 17:28:42 dennis Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou @@ -62,6 +62,13 @@ # define NLIST_ELF32 #elif defined(__hppa__) # define NLIST_ELF32 +#elif defined(__riscv__) +# define NLIST_ELF32 +# ifdef __riscv64 +# define NLIST_ELF64 +# endif +#elif defined(__aarch64__) +# define NLIST_ELF64 #else # define NLIST_AOUT /* #define NLIST_ECOFF */