mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
[BZ #3924]
* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly align for function call in case pltexit has to be called later.
This commit is contained in:
parent
62e1b1f564
commit
73e3ff07a3
@ -1,5 +1,9 @@
|
||||
2007-08-23 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #3924]
|
||||
* sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly
|
||||
align for function call in case pltexit has to be called later.
|
||||
|
||||
* sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Avoid
|
||||
implicit atomic operation when storing function pointer.
|
||||
(_dl_runtime_profile): Likewise.
|
||||
|
@ -111,9 +111,10 @@ _dl_runtime_profile:
|
||||
cfi_rel_offset (esi, 0)
|
||||
leal 44(%esp), %esi
|
||||
movl %ebx, %ecx
|
||||
orl $4, %ebx # Increase frame size if necessary to align
|
||||
# stack for the function call
|
||||
movl %esp, %edi
|
||||
subl %ebx, %edi
|
||||
andl $0xfffffff0, %edi # Align stack
|
||||
movl %esp, %ebx
|
||||
cfi_def_cfa_register (ebx)
|
||||
movl %edi, %esp
|
||||
|
Loading…
Reference in New Issue
Block a user