diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-08-08 07:28:02 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-08-08 07:28:02 +0000 |
commit | ea67a0ceabbe2a337bcf5e7593849a13224e2ff0 (patch) | |
tree | 2a8b65c3086c8595980135508a2f53cb349a900c /libc/sysdeps/linux/common/mmap.c | |
parent | 9581d701d8c3a966ee4a73a5221c257a1c1a1e58 (diff) |
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 'libc/sysdeps/linux/common/mmap.c')
0 files changed, 0 insertions, 0 deletions