diff options
author | Andreas Jaeger <aj@suse.de> | 2002-08-21 12:38:20 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-08-21 12:38:20 +0000 |
commit | 0ac7da3f6dff3aba6cf7a4017f20d181b0fe441c (patch) | |
tree | 57dfb89299505723542f69b60953e6234e15a744 /sysdeps/x86_64 | |
parent | 0fe354398f5a19c3529402e4f2e8bb8f055588a1 (diff) | |
download | glibc-0ac7da3f6dff3aba6cf7a4017f20d181b0fe441c.tar.gz glibc-0ac7da3f6dff3aba6cf7a4017f20d181b0fe441c.tar.xz glibc-0ac7da3f6dff3aba6cf7a4017f20d181b0fe441c.zip |
Fix assembler
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r-- | sysdeps/x86_64/_mcount.S | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sysdeps/x86_64/_mcount.S b/sysdeps/x86_64/_mcount.S index c8fe441993..132f307277 100644 --- a/sysdeps/x86_64/_mcount.S +++ b/sysdeps/x86_64/_mcount.S @@ -30,14 +30,14 @@ .align ALIGNARG(4) C_LABEL(_mcount) /* Allocate space for 7 registers. */ - subq $56,$rsp - movq $rax,($rsp) - movq %rcx,8($rsp) - movq %rdx,16($rsp) - movq %rsi,24($rsp) - movq %rdi,32($rsp) - movq %r8,40($rsp) - movq %r9,48($rsp) + subq $56,%rsp + movq %rax,(%rsp) + movq %rcx,8(%rsp) + movq %rdx,16(%rsp) + movq %rsi,24(%rsp) + movq %rdi,32(%rsp) + movq %r8,40(%rsp) + movq %r9,48(%rsp) /* Setup parameter for __mcount_internal. */ /* selfpc is the return address on the stack. */ @@ -51,14 +51,14 @@ C_LABEL(_mcount) #endif /* Pop the saved registers. Please note that `mcount' has no return value. */ - movq ($rsp),%r9 - movq 8($rsp),%r8 - movq 16($rsp),%rdi - movq 24($rsp),%rsi - movq 32($rsp),%rdx - movq 40($rsp),%rcx - movq 48($rsp),%rax - addq $56,$rsp + movq (%rsp),%r9 + movq 8(%rsp),%r8 + movq 16(%rsp),%rdi + movq 24(%rsp),%rsi + movq 32(%rsp),%rdx + movq 40(%rsp),%rcx + movq 48(%rsp),%rax + addq $56,%rsp ret ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(_mcount)) |