Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gmon don't warn about mcount on mips64* as well.



details:   https://anonhg.NetBSD.org/src/rev/2140780bca88
branches:  trunk
changeset: 750112:2140780bca88
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Dec 17 06:54:51 2009 +0000

description:
don't warn about mcount on mips64* as well.

XXX: someone really should fix mips profile.h's MCOUNT!

diffstat:

 lib/libc/gmon/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r b657b4ab122d -r 2140780bca88 lib/libc/gmon/Makefile.inc
--- a/lib/libc/gmon/Makefile.inc        Thu Dec 17 05:29:56 2009 +0000
+++ b/lib/libc/gmon/Makefile.inc        Thu Dec 17 06:54:51 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.8 2008/07/29 14:20:12 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.9 2009/12/17 06:54:51 mrg Exp $
 #      @(#)Makefile.inc        8.1 (Berkeley) 6/4/93
 
 # gmon sources
@@ -10,7 +10,8 @@
 MAN+=  moncontrol.3
 MLINKS+=moncontrol.3 monstartup.3
 
-.if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel")
+.if (${MACHINE_ARCH} == "mipseb") || (${MACHINE_ARCH} == "mipsel") || \
+    (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
 # Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
 # and mcount.c causes warnings from as(1).
 # mcount.c should be fixed and this test removed.



Home | Main Index | Thread Index | Old Index