mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
_dl_start: Remove internal_function attribute
The i386 startup code needs adjusting because it calls the function and the ABI has changed.
This commit is contained in:
parent
9fa7449b35
commit
630bf4916f
@ -1,3 +1,9 @@
|
||||
2017-08-14 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* elf/rtld.c (_dl_start): Remove internal_function.
|
||||
* sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
|
||||
_dl_start.
|
||||
|
||||
2017-08-14 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* elf/dl-fini.c (_dl_fini): Remove internal_function
|
||||
|
@ -439,7 +439,7 @@ _dl_start_final (void *arg, struct dl_start_final_info *info)
|
||||
return start_addr;
|
||||
}
|
||||
|
||||
static ElfW(Addr) __attribute_used__ internal_function
|
||||
static ElfW(Addr) __attribute_used__
|
||||
_dl_start (void *arg)
|
||||
{
|
||||
#ifdef DONT_USE_BOOTSTRAP_MAP
|
||||
|
@ -150,9 +150,11 @@ extern ElfW(Addr) _dl_profile_fixup (struct link_map *l,
|
||||
.globl _start\n\
|
||||
.globl _dl_start_user\n\
|
||||
_start:\n\
|
||||
# Note that _dl_start gets the parameter in %eax.\n\
|
||||
movl %esp, %eax\n\
|
||||
subl $12, %esp\n\
|
||||
pushl %eax\n\
|
||||
call _dl_start\n\
|
||||
addl $16, %esp\n\
|
||||
_dl_start_user:\n\
|
||||
# Save the user entry point address in %edi.\n\
|
||||
movl %eax, %edi\n\
|
||||
|
Loading…
Reference in New Issue
Block a user