summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-03-18 07:44:24 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-03-18 07:44:24 +0000
commit0b50f9c905875a20c058be666690cbecca37578e (patch)
treed72380ce515ba572202ff089212b9a4e19edceea
parentba595540f65c0085a6c97fbf60bf175446151fa6 (diff)
Forgot to commit the arch cleanup changes to m68k
-rw-r--r--ldso/ldso/m68k/dl-startup.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/ldso/ldso/m68k/dl-startup.h b/ldso/ldso/m68k/dl-startup.h
index 7cd89feca..07857cf38 100644
--- a/ldso/ldso/m68k/dl-startup.h
+++ b/ldso/ldso/m68k/dl-startup.h
@@ -4,8 +4,15 @@
* Copyright (C) 2005 by Erik Andersen <andersen@codepoet.org>
*/
-/* For m68k we do not need any special setup so go right to _dl_boot() */
-#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
* the address if the first argument, on other platforms we need to