Apply rev 1.3 of gnu/dist/gcc/config/sh/sh.h (fix ASM_OUTPUT_REG_PUSH
and ASM_OUTPUT_REG_POP): fix two bugs: - cc1 dumps core when "-pg" is used - gas produces a syntax error
This commit is contained in:
parent
d63c80c2c6
commit
3274936f9b
|
@ -1796,10 +1796,10 @@ dtors_section() \
|
|||
}
|
||||
|
||||
#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.
|
||||
|
|
Loading…
Reference in New Issue