Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/gcc/config/sh fix two bugs:



details:   https://anonhg.NetBSD.org/src/rev/b80b25187282
branches:  trunk
changeset: 495640:b80b25187282
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Aug 02 12:07:12 2000 +0000

description:
fix two bugs:
        - cc1 dumps core when "-pg" is used
        - gas produces a syntax error

diffstat:

 gnu/dist/gcc/config/sh/sh.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 1ef944aa8f1a -r b80b25187282 gnu/dist/gcc/config/sh/sh.h
--- a/gnu/dist/gcc/config/sh/sh.h       Wed Aug 02 11:32:41 2000 +0000
+++ b/gnu/dist/gcc/config/sh/sh.h       Wed Aug 02 12:07:12 2000 +0000
@@ -1566,10 +1566,10 @@
 }
 
 #define ASM_OUTPUT_REG_PUSH(file, v) \
-  fprintf ((file), "\tmov.l\tr%s,-@r15\n", (v));
+  fprintf ((file), "\tmov.l\tr%d,@-r15\n", (v));
 
 #define ASM_OUTPUT_REG_POP(file, v) \
-  fprintf ((file), "\tmov.l\t@r15+,r%s\n", (v));
+  fprintf ((file), "\tmov.l\t@r15+,r%d\n", (v));
 
 /* The assembler's names for the registers.  RFP need not always be used as
    the Real framepointer; it can also be used as a normal general register.



Home | Main Index | Thread Index | Old Index