projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fed58f
)
(_dl_start_user): Store stack address in the variable, not its GOT slot.
author
Ulrich Drepper
<drepper@redhat.com>
Wed, 10 Jun 1998 08:10:00 +0000
(08:10 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Wed, 10 Jun 1998 08:10:00 +0000
(08:10 +0000)
sysdeps/i386/dl-machine.h
patch
|
blob
|
history
diff --git
a/sysdeps/i386/dl-machine.h
b/sysdeps/i386/dl-machine.h
index
542c35f
..
fdc9e48
100644
(file)
--- a/
sysdeps/i386/dl-machine.h
+++ b/
sysdeps/i386/dl-machine.h
@@
-213,7
+213,8
@@
_dl_start_user:\n\
0: popl %ebx\n\
addl $_GLOBAL_OFFSET_TABLE_+[.-0b], %ebx\n\
# Store the highest stack address\n\
- movl %esp,__libc_stack_end@GOT(%ebx)\n\
+ movl __libc_stack_end@GOT(%ebx), %eax\n\
+ movl %esp, (%eax)\n\
# See if we were run as a command with the executable file\n\
# name as an extra leading argument.\n\
movl _dl_skip_args@GOT(%ebx), %eax\n\