[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso/m68k
jocke at uclibc.org
jocke at uclibc.org
Fri Mar 18 07:44:25 UTC 2005
Author: jocke
Date: 2005-03-18 00:44:24 -0700 (Fri, 18 Mar 2005)
New Revision: 10041
Log:
Forgot to commit the arch cleanup changes to m68k
Modified:
trunk/uClibc/ldso/ldso/m68k/dl-startup.h
Changeset:
Modified: trunk/uClibc/ldso/ldso/m68k/dl-startup.h
===================================================================
--- trunk/uClibc/ldso/ldso/m68k/dl-startup.h 2005-03-18 05:07:13 UTC (rev 10040)
+++ trunk/uClibc/ldso/ldso/m68k/dl-startup.h 2005-03-18 07:44:24 UTC (rev 10041)
@@ -4,8 +4,15 @@
* Copyright (C) 2005 by Erik Andersen <andersen at 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, at 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
More information about the uClibc-cvs
mailing list