diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-31 07:15:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-31 07:15:47 +0000 |
commit | 758cb061078ffcd3435cdcd69efe289e6e97d3a7 (patch) | |
tree | fb8940ec6f1f57d26019566d98e76c8a7edf789f /sysdeps/i386 | |
parent | d7926ed9feaea00e348acc7230156e39d8511498 (diff) | |
download | glibc-758cb061078ffcd3435cdcd69efe289e6e97d3a7.tar.gz glibc-758cb061078ffcd3435cdcd69efe289e6e97d3a7.tar.xz glibc-758cb061078ffcd3435cdcd69efe289e6e97d3a7.zip |
Update.
* sysdeps/i386/dl-machine.h (RTLD_START): Remove call to _dl_preinit.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/dl-machine.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h index 1256fbcdc0..2680b05a6c 100644 --- a/sysdeps/i386/dl-machine.h +++ b/sysdeps/i386/dl-machine.h @@ -218,27 +218,17 @@ _dl_start_user:\n\ movl (%eax), %eax\n\ # Pop the original argument count.\n\ popl %esi\n\ - # Subtract _dl_skip_args from it.\n\ - subl %eax, %esi\n\ # Adjust the stack pointer to skip _dl_skip_args words.\n\ leal (%esp,%eax,4), %esp\n\ - # Move the argv pointer in a register.\n\ - leal 4(%esp,%esi,4), %edx\n\ - movl %esp, %ecx\n\ - pushl %edx\n\ - movl %esi, %edx\n\ - # Get the searchlist of the main object as argument for\n\ - # _dl_preinit and _dl_init calls below.\n\ - movl _dl_loaded@GOT(%ebx), %ebp\n\ - movl (%ebp), %eax\n\ - # Call the function to run the pre-initializers.\n\ - call _dl_preinit@PLT\n\ + # Subtract _dl_skip_args from it.\n\ + subl %eax, %esi\n\ # Load the parameters again.\n\ leal 4(%esp,%esi,4), %edx\n\ movl %esp, %ecx\n\ pushl %edx\n\ movl %esi, %edx\n\ - movl (%ebp), %eax\n\ + movl _dl_loaded@GOT(%ebx), %eax\n\ + movl (%eax), %eax\n\ # Call the function to run the initializers.\n\ call _dl_init@PLT\n\ # Push argc back on the stack.\n\ |