diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-13 08:42:44 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-08-13 08:42:44 +0000 |
commit | fccd63a20afd9343b23633479ad71527d9d7ec27 (patch) | |
tree | cca01035f3e9a8c7d355b278ee0f83a40289c2be /sysdeps/mips | |
parent | 74a50d9c46d170bc9542822ce4760cdb37f0be7d (diff) | |
download | glibc-fccd63a20afd9343b23633479ad71527d9d7ec27.tar.gz glibc-fccd63a20afd9343b23633479ad71527d9d7ec27.tar.xz glibc-fccd63a20afd9343b23633479ad71527d9d7ec27.zip |
(MCOUNT): Don't use delay slot for jal since jal is a macro.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r-- | sysdeps/mips/machine-gmon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mips/machine-gmon.h b/sysdeps/mips/machine-gmon.h index 8a56c76689..4b6a939a0a 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);" \ |