Module Name:    src
Committed By:   martin
Date:           Fri Jul 26 18:47:23 UTC 2013

Modified Files:
        src/lib/csu/arch/m68k: crt0.S

Log Message:
Simplify to new ___start() signature.
Seems to fix PR port-m68k/48076.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/m68k/crt0.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/csu/arch/m68k/crt0.S
diff -u src/lib/csu/arch/m68k/crt0.S:1.2 src/lib/csu/arch/m68k/crt0.S:1.3
--- src/lib/csu/arch/m68k/crt0.S:1.2	Thu Jul 11 17:07:35 2013
+++ src/lib/csu/arch/m68k/crt0.S	Fri Jul 26 18:47:23 2013
@@ -35,18 +35,13 @@
  * <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
  */
 
-RCSID("$NetBSD: crt0.S,v 1.2 2013/07/11 17:07:35 matt Exp $")
+RCSID("$NetBSD: crt0.S,v 1.3 2013/07/26 18:47:23 martin Exp $")
 
 STRONG_ALIAS(_start,__start)
 
 _ENTRY(__start)
-	movl	(%sp),%d0
 	movl	%a2,-(%sp)		| ps_strings
 	movl	%a0,-(%sp)		| obj
 	movl	%a1,-(%sp)		| cleanup
-	movl	%d0,%d1
-	lsll	#2,%d1
-	pea	(16+4)(%sp,%d1.l)	| envp = &argv[argc + 1]
-	pea	20(%sp)			| argv
-	movl	%d0,-(%sp)		| argc
+	| call: ___start(cleanup, obj, ps_strings)
 	bsr	___start

Reply via email to