about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/m68k/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index e4cdf2dd1d..29267af968 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -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