Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Add entries for riscv and aarch64. This lets t...



details:   https://anonhg.NetBSD.org/src/rev/498e020a806f
branches:  trunk
changeset: 338874:498e020a806f
user:      dennis <dennis%NetBSD.org@localhost>
date:      Sat Jun 13 17:28:42 2015 +0000

description:
Add entries for riscv and aarch64.  This lets the former build
complete and gets the latter close to the end.

diffstat:

 lib/libc/gen/nlist_private.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 834d30e92b83 -r 498e020a806f lib/libc/gen/nlist_private.h
--- a/lib/libc/gen/nlist_private.h      Sat Jun 13 15:47:58 2015 +0000
+++ b/lib/libc/gen/nlist_private.h      Sat Jun 13 17:28:42 2015 +0000
@@ -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 */



Home | Main Index | Thread Index | Old Index