(RTLD_START): Remove setting of __libc_stack_end.

This commit is contained in:
Ulrich Drepper 2003-09-24 21:08:31 +00:00
parent aec9c3ef29
commit b82390a8da
4 changed files with 0 additions and 14 deletions

View File

@ -319,8 +319,6 @@ _dl_start_user: \n\
.prologue 0 \n\ .prologue 0 \n\
/* Save the user entry point address in s0. */ \n\ /* Save the user entry point address in s0. */ \n\
mov $0, $9 \n\ mov $0, $9 \n\
/* Store the highest stack address. */ \n\
stq $30, __libc_stack_end \n\
/* See if we were run as a command with the executable \n\ /* See if we were run as a command with the executable \n\
file name as an extra leading argument. */ \n\ file name as an extra leading argument. */ \n\
ldl $1, _dl_skip_args($gp) !gprel \n\ ldl $1, _dl_skip_args($gp) !gprel \n\

View File

@ -265,10 +265,6 @@ _dl_start_user:\n\
ldr sl, .L_GET_GOT\n\ ldr sl, .L_GET_GOT\n\
add sl, pc, sl\n\ add sl, pc, sl\n\
.L_GOT_GOT:\n\ .L_GOT_GOT:\n\
@ Store the highest stack address\n\
ldr r1, .L_STACK_END\n\
ldr r1, [sl, r1]\n\
str sp, [r1]\n\
@ See if we were run as a command with the executable file\n\ @ See if we were run as a command with the executable file\n\
@ name as an extra leading argument.\n\ @ name as an extra leading argument.\n\
ldr r4, .L_SKIP_ARGS\n\ ldr r4, .L_SKIP_ARGS\n\
@ -311,8 +307,6 @@ _dl_start_user:\n\
.word _dl_starting_up(GOT)\n\ .word _dl_starting_up(GOT)\n\
.L_FINI_PROC:\n\ .L_FINI_PROC:\n\
.word _dl_fini(GOT)\n\ .word _dl_fini(GOT)\n\
.L_STACK_END:\n\
.word __libc_stack_end(GOT)\n\
.L_LOADED:\n\ .L_LOADED:\n\
.word _rtld_local(GOT)\n\ .word _rtld_local(GOT)\n\
.previous\n\ .previous\n\

View File

@ -188,9 +188,6 @@ _dl_start_user:\n\
; Point R0 at the GOT.\n\ ; Point R0 at the GOT.\n\
move.d $pc,$r0\n\ move.d $pc,$r0\n\
sub.d .:GOTOFF,$r0\n\ sub.d .:GOTOFF,$r0\n\
; Remember the highest stack address.\n\
move.d [$r0+__libc_stack_end:GOT16],$r13\n\
move.d $sp,[$r13]\n\
; See if we were run as a command with the executable file\n\ ; See if we were run as a command with the executable file\n\
; name as an extra leading argument.\n\ ; name as an extra leading argument.\n\
move.d [$r0+_dl_skip_args:GOT16],$r13\n\ move.d [$r0+_dl_skip_args:GOT16],$r13\n\

View File

@ -157,9 +157,6 @@ _start:\n\
_dl_start_user:\n\ _dl_start_user:\n\
| Save the user entry point address in %a4.\n\ | Save the user entry point address in %a4.\n\
move.l %d0, %a4\n\ move.l %d0, %a4\n\
| Remember the highest stack address.\n\
move.l __libc_stack_end@GOTPC(%pc), %a0\n\
move.l %sp, (%a0)\n\
| See if we were run as a command with the executable file\n\ | See if we were run as a command with the executable file\n\
| name as an extra leading argument.\n\ | name as an extra leading argument.\n\
move.l _dl_skip_args(%pc), %d0\n\ move.l _dl_skip_args(%pc), %d0\n\