From 299099bd8fc6fed6fc2e577b36b5b47cec71971e Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 14 Oct 2000 12:43:00 +0000 Subject: 2000-10-13 Michael Fedrowitz * sysdeps/m68k/dl-machine.h (_dl_start_user): Pass correct arguments to _dl_init. --- sysdeps/m68k/dl-machine.h | 4 ++-- 1 file 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 -- cgit v1.2.3