The MCOUNT macro isn't going to work in 64-bit mode. Add a note to

this effect.
This commit is contained in:
Warner Losh 2009-07-06 02:27:03 +00:00
parent 2967976763
commit b04ad5dd49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/mips/; revision=195392

View File

@ -41,6 +41,8 @@
/*XXX The cprestore instruction is a "dummy" to shut up as(1). */ /*XXX The cprestore instruction is a "dummy" to shut up as(1). */
/*XXX This is not MIPS64 safe. */
#define MCOUNT \ #define MCOUNT \
__asm(".globl _mcount;" \ __asm(".globl _mcount;" \
".type _mcount,@function;" \ ".type _mcount,@function;" \