diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-11 16:24:14 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1997-05-11 16:24:14 +0000 |
commit | 05de016f36ec20374fca91f514733b297fafa057 (patch) | |
tree | ec8568c8e36d42726280e5300d2f1bd92fbdee87 | |
parent | cf85a0861a17ef7fe92d4dacf5d4e78fae01fcd0 (diff) |
More profiling gunk...
-rw-r--r-- | sys/arch/arc/include/profile.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arc/include/profile.h b/sys/arch/arc/include/profile.h index b00430cd56c..b2e28b0d700 100644 --- a/sys/arch/arc/include/profile.h +++ b/sys/arch/arc/include/profile.h @@ -1,4 +1,4 @@ -/* $OpenBSD: profile.h,v 1.2 1996/07/30 20:24:28 pefo Exp $ */ +/* $OpenBSD: profile.h,v 1.3 1997/05/11 16:24:13 pefo Exp $ */ /* * Copyright (c) 1992, 1993 @@ -40,6 +40,8 @@ #define _MCOUNT_DECL static void ___mcount +/*XXX The cprestore instruction is a "dummy" to shut up as(1). */ + #define MCOUNT \ __asm(".globl _mcount;" \ ".type _mcount,@function;" \ @@ -47,6 +49,7 @@ ".set noreorder;" \ ".set noat;" \ ".cpload $25;" \ + ".cprestore 4;" \ "sw $4,8($29);" \ "sw $5,12($29);" \ "sw $6,16($29);" \ |