From: Andreas Jaeger Date: Mon, 13 Aug 2001 08:42:44 +0000 (+0000) Subject: (MCOUNT): Don't use delay slot for jal since jal is a macro. X-Git-Tag: upstream/2.30~10627^2~1823 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b402ca813ce9ac4b689b4b41ccc2e43bb5e6b1d;p=external%2Fglibc.git (MCOUNT): Don't use delay slot for jal since jal is a macro. --- diff --git a/sysdeps/mips/machine-gmon.h b/sysdeps/mips/machine-gmon.h index 8a56c76..4b6a939 100644 --- a/sysdeps/mips/machine-gmon.h +++ b/sysdeps/mips/machine-gmon.h @@ -1,5 +1,5 @@ /* Machine-specific calling sequence for `mcount' profiling function. MIPS - Copyright (C) 1996, 1997, 2000 Free Software Foundation, Inc. + Copyright (C) 1996, 1997, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -42,8 +42,9 @@ "sw $1,0($29);" \ "sw $31,4($29);" \ "move $5,$31;" \ - "jal __mcount;" \ "move $4,$1;" \ + "jal __mcount;" \ + "nop;" \ "lw $4,8($29);" \ "lw $5,12($29);" \ "lw $6,16($29);" \