Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Be less of a minefield for new architectures. T...



details:   https://anonhg.NetBSD.org/src/rev/ee9caa1c27be
branches:  trunk
changeset: 746411:ee9caa1c27be
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Mar 30 20:34:11 2020 +0000

description:
Be less of a minefield for new architectures. They're not going to be a.out.
Remove sh5, long gone.
(Hopefully nothing hits the #else case)

diffstat:

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

diffs (31 lines):

diff -r 18649e78b0e8 -r ee9caa1c27be lib/libc/gen/nlist_private.h
--- a/lib/libc/gen/nlist_private.h      Mon Mar 30 20:17:42 2020 +0000
+++ b/lib/libc/gen/nlist_private.h      Mon Mar 30 20:34:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_private.h,v 1.25 2016/01/29 21:38:35 christos Exp $ */
+/* $NetBSD: nlist_private.h,v 1.26 2020/03/30 20:34:11 maya Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou
@@ -54,9 +54,6 @@
 #  define      NLIST_AOUT
 #  define      NLIST_ELF32
 #  define      NLIST_ELF64
-#elif defined(__SH5__)
-#  define      NLIST_ELF32
-#  define      NLIST_ELF64
 #elif defined(__sh__)
 #  define      NLIST_COFF
 #  define      NLIST_ELF32
@@ -74,10 +71,7 @@
 #elif defined(__or1k__)
 #  define      NLIST_ELF32
 #else
-#  define      NLIST_AOUT
-/* #define     NLIST_ECOFF */
-/* #define     NLIST_ELF32 */
-/* #define     NLIST_ELF64 */
+#  error       "Add your architecture here"
 #endif
 
 #define        ISLAST(p)       (N_NAME(p) == 0 || N_NAME(p)[0] == 0)



Home | Main Index | Thread Index | Old Index