diff options
Diffstat (limited to 'ldso/ldso/sparc/dl-startup.h')
-rw-r--r-- | ldso/ldso/sparc/dl-startup.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ldso/ldso/sparc/dl-startup.h b/ldso/ldso/sparc/dl-startup.h index b0d6a4361..ce51aa244 100644 --- a/ldso/ldso/sparc/dl-startup.h +++ b/ldso/ldso/sparc/dl-startup.h @@ -3,9 +3,15 @@ * needed for this architecture. See arm/boot1_arch.h for an example of what * can be done. */ - -#define DL_BOOT(X) __attribute_used__ void _dl_boot (X) - +asm( + " .text\n" + " .globl _start\n" + " .type _start,@function\n" + "_start:\n" + " .set _start,_dl_start\n" + " .size _start,.-_start\n" + " .previous\n" +); /* * Get a pointer to the argv array. On many platforms this can be just @@ -56,7 +62,3 @@ "restore %%g0,%%g0,%%g0\n\t" \ : /*"=r" (status) */ : \ "r" (_dl_elf_main): "g1", "o0", "o1") - - - - |