aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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
commitb57d767cf46a8895cb01bd63f07be0b926fe1493 (patch)
tree04074f4fc4cffb70aabe42c5c3dfa51f47b14589 /sysdeps
parent79e6a4e059050ac1d3f5f033588bf659adebd136 (diff)
downloadglibc-b57d767cf46a8895cb01bd63f07be0b926fe1493.tar
glibc-b57d767cf46a8895cb01bd63f07be0b926fe1493.tar.gz
glibc-b57d767cf46a8895cb01bd63f07be0b926fe1493.tar.bz2
glibc-b57d767cf46a8895cb01bd63f07be0b926fe1493.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')
-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