PERFORCE change 49350 for review
Peter Wemm
peter at FreeBSD.org
Fri Mar 19 23:29:41 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=49350
Change 49350 by peter at peter_overcee on 2004/03/19 23:29:08
argh. actually create the hole on the stack for the alignment.
Affected files ...
.. //depot/projects/hammer/libexec/rtld-elf/amd64/rtld_start.S#13 edit
Differences ...
==== //depot/projects/hammer/libexec/rtld-elf/amd64/rtld_start.S#13 (text+ko) ====
@@ -79,6 +79,7 @@
.globl _rtld_bind_start
.type _rtld_bind_start, at function
_rtld_bind_start:
+ subq $8,%rsp
pushfq # Save rflags
pushq %rax # Save %rax
pushq %rdx # Save %rdx
@@ -109,5 +110,5 @@
popq %rdx # Restore %rdx
popq %rax # Restore %rax
popfq # Restore rflags
- leaq 8(%rsp),%rsp # Discard obj, do not change rflags
+ leaq 16(%rsp),%rsp # Discard spare, obj, do not change rflags
ret # "Return" to target address
More information about the p4-projects
mailing list