diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-08-08 07:28:16 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-08-08 07:28:16 +0000 |
commit | b1aa11f6e3aa029af7fe700e3ce2b2b004f26986 (patch) | |
tree | 50ed76d4cc95df3a5be6f57603c229d8a036852f /libpthread/linuxthreads/cancel.c | |
parent | 06b02abb6352d94696f3da5e0566b23767213903 (diff) | |
download | uClibc-alpine-b1aa11f6e3aa029af7fe700e3ce2b2b004f26986.tar.bz2 uClibc-alpine-b1aa11f6e3aa029af7fe700e3ce2b2b004f26986.tar.xz |
Fix SH ldso sequence startup.
Pass via r4 the rtld finalizer
_dl_fini to the user application. This will be the 6^ arg of
__uClibc_main and will be registered with 'atexit'.
In this way the dynamic linker will be able to call destructors
defined within the loaded DSOs.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Add missing 7th arg "stack_end".
add comment of undocumented usage of r4.
fix comment of expected __uClibc_main() prototype.
Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'libpthread/linuxthreads/cancel.c')
0 files changed, 0 insertions, 0 deletions