| Index: gcc/gcc/config/i386/gmon-sol2.c
|
| diff --git a/gcc/gcc/config/i386/gmon-sol2.c b/gcc/gcc/config/i386/gmon-sol2.c
|
| index d20762156a6aa4e6314252533c50377aae091f75..fb813a12d25aa99e6b224f12599eb73a0079d020 100644
|
| --- a/gcc/gcc/config/i386/gmon-sol2.c
|
| +++ b/gcc/gcc/config/i386/gmon-sol2.c
|
| @@ -268,14 +268,14 @@ asm(".globl _mcount\n"
|
| FROMPCINDEX (via the frame pointer. */
|
| "\tmovq\t0x38(%rsp),%rdi\n"
|
| "\tmovq\t0x8(%rbp),%rsi\n"
|
| - "\tcallq\tinternal_mcount\n"
|
| + "\tcall\tinternal_mcount\n"
|
| /* Restore the saved registers. */
|
| "\tmovq\t0x30(%rsp),%r9\n"
|
| "\tmovq\t0x28(%rsp),%r8\n"
|
| "\tmovq\t0x20(%rsp),%rdi\n"
|
| "\tmovq\t0x18(%rsp),%rsi\n"
|
| "\tmovq\t0x10(%rsp),%rdx\n"
|
| - "\tmovq\t0x08(%rsp),%rdx\n"
|
| + "\tmovq\t0x08(%rsp),%rcx\n"
|
| "\tmovq\t(%rsp),%rax\n"
|
| "\taddq\t$0x38,%rsp\n"
|
| "\tretq\n"
|
|
|