ldso: use generic CRT0 files

Issue #1042
This commit is contained in:
Martin Stein
2014-02-05 15:15:39 +01:00
committed by Norman Feske
parent 324af5d769
commit 8d21064b5e
15 changed files with 12 additions and 206 deletions

View File

@@ -33,6 +33,9 @@
*/
ldr sp, =_stack_high
/* if this is the dynamic linker, init_rtld relocates the linker */
bl init_rtld
/* create proper environment for main thread */
bl init_main_thread

View File

@@ -34,6 +34,9 @@
*/
leal _stack_high, %esp
/* if this is the dynamic linker, init_rtld relocates the linker */
call init_rtld
/* create proper environment for the main thread */
call init_main_thread

View File

@@ -38,6 +38,9 @@
leaq _stack_high@GOTPCREL(%rip),%rax
movq (%rax), %rsp
/* if this is the dynamic linker, init_rtld relocates the linker */
call init_rtld
/* create proper environment for the main thread */
call init_main_thread