Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config/alpha Be a little more careful...



details:   https://anonhg.NetBSD.org/src/rev/8bf8993b20a1
branches:  trunk
changeset: 521034:8bf8993b20a1
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jan 22 02:09:39 2002 +0000

description:
Be a little more careful when calling _mcount() (to prevent
clobbering $27).

diffstat:

 gnu/dist/toolchain/gcc/config/alpha/netbsd.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5395c4498a97 -r 8bf8993b20a1 gnu/dist/toolchain/gcc/config/alpha/netbsd.h
--- a/gnu/dist/toolchain/gcc/config/alpha/netbsd.h      Tue Jan 22 02:09:11 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/alpha/netbsd.h      Tue Jan 22 02:09:39 2002 +0000
@@ -99,7 +99,7 @@
 
 #undef FUNCTION_PROFILER
 #define FUNCTION_PROFILER(FILE, LABELNO)                       \
-       fputs ("\tjsr $28,_mcount\n", (FILE))
+       fputs ("\tlda $28,_mcount\n\tjsr $28,($28),_mcount\n", (FILE))
 
 /* Show that we need a GP when profiling.  */
 #define TARGET_PROFILING_NEEDS_GP



Home | Main Index | Thread Index | Old Index