about summary refs log tree commit diff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2000-10-14 12:43:00 +0000
committerAndreas Schwab <schwab@suse.de>2000-10-14 12:43:00 +0000
commit299099bd8fc6fed6fc2e577b36b5b47cec71971e (patch)
tree596d7d56335c335ef9bfda402ca52ccc72f6082b /sysdeps/m68k
parent3d3204d9b8aa637d2051003a8d10180ccc8410b0 (diff)
downloadglibc-299099bd8fc6fed6fc2e577b36b5b47cec71971e.tar.gz
glibc-299099bd8fc6fed6fc2e577b36b5b47cec71971e.tar.xz
glibc-299099bd8fc6fed6fc2e577b36b5b47cec71971e.zip
2000-10-13 Michael Fedrowitz <michael@fedrowitz.de>
	* sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct
	arguments to _dl_init.
Diffstat (limited to 'sysdeps/m68k')
-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