Simplify to new ___start() signature.
Seems to fix PR port-m68k/48076.
This commit is contained in:
parent
17b707526d
commit
6dae3ba8c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue