2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>

* sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
	arguments to _dl_init.
This commit is contained in:
Andreas Schwab 2000-10-14 12:43:00 +00:00
parent 3d3204d9b8
commit 299099bd8f

View File

@ -180,9 +180,9 @@ _dl_start_user:
move.l %d1, -(%sp)
# Call _dl_init (struct link_map *main_map, int argc, char **argv, char **env)
pea 8(%sp, %d1*4)
pea 4(%sp)
pea 8(%sp)
move.l %d1, -(%sp)
move.l _dl_loaded@GOT.w(%a5), -(%sp)
move.l ([_dl_loaded@GOT.w(%a5)]), -(%sp)
jbsr _dl_init@PLTPC
addq.l #8, %sp
addq.l #8, %sp