Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen If not using O32 on mips, we need to read ELF64...
details: https://anonhg.NetBSD.org/src/rev/aae94adcd01e
branches: trunk
changeset: 757812:aae94adcd01e
user: matt <matt%NetBSD.org@localhost>
date: Fri Sep 24 15:57:15 2010 +0000
description:
If not using O32 on mips, we need to read ELF64 symbols too.
diffstat:
lib/libc/gen/nlist_private.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 66b49724e2be -r aae94adcd01e lib/libc/gen/nlist_private.h
--- a/lib/libc/gen/nlist_private.h Fri Sep 24 15:20:52 2010 +0000
+++ b/lib/libc/gen/nlist_private.h Fri Sep 24 15:57:15 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index