Module Name: src
Committed By: matt
Date: Fri Sep 24 15:57:16 UTC 2010
Modified Files:
src/lib/libc/gen: nlist_private.h
Log Message:
If not using O32 on mips, we need to read ELF64 symbols too.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/gen/nlist_private.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/nlist_private.h
diff -u src/lib/libc/gen/nlist_private.h:1.19 src/lib/libc/gen/nlist_private.h:1.20
--- src/lib/libc/gen/nlist_private.h:1.19 Fri Aug 21 08:42:02 2009
+++ src/lib/libc/gen/nlist_private.h Fri Sep 24 15:57:15 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: nlist_private.h,v 1.19 2009/08/21 08:42:02 he Exp $ */
+/* $NetBSD: nlist_private.h,v 1.20 2010/09/24 15:57:15 matt Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou
@@ -43,6 +43,9 @@
#elif defined(__mips__)
# define NLIST_ECOFF
# define NLIST_ELF32
+#ifndef __mips_o32
+# define NLIST_ELF64
+#endif
#elif defined(__arm__) || defined(__i386__) || defined (__m68k__) || \
defined(__powerpc__) || defined(__vax__)
# define NLIST_AOUT