From b04ad5dd490c6b566aa9e63416bb1ea1480b64e0 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 6 Jul 2009 02:27:03 +0000 Subject: [PATCH] The MCOUNT macro isn't going to work in 64-bit mode. Add a note to this effect. --- sys/mips/include/profile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/mips/include/profile.h b/sys/mips/include/profile.h index 9659d1fa87d8..728a468dbf4c 100644 --- a/sys/mips/include/profile.h +++ b/sys/mips/include/profile.h @@ -41,6 +41,8 @@ /*XXX The cprestore instruction is a "dummy" to shut up as(1). */ +/*XXX This is not MIPS64 safe. */ + #define MCOUNT \ __asm(".globl _mcount;" \ ".type _mcount,@function;" \