about summary refs log tree commit diff
path: root/sysdeps/m68k
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-09-09 01:36:38 +0000
committerAndreas Schwab <schwab@suse.de>1998-09-09 01:36:38 +0000
commit769ca810bbff1d6886af97d2f47dfb79738cc8d4 (patch)
tree7ef09ce715bd72e2379a91c5fcf6e6033e9d3202 /sysdeps/m68k
parent2aa236b1f546cc7afdc75d9250babac8c6e4bc66 (diff)
downloadglibc-769ca810bbff1d6886af97d2f47dfb79738cc8d4.tar.gz
glibc-769ca810bbff1d6886af97d2f47dfb79738cc8d4.tar.xz
glibc-769ca810bbff1d6886af97d2f47dfb79738cc8d4.zip
* sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
instead of _dl_default_scope[2] as argument to _dl_init_next.
	* sysdeps/m68k/dl-machine.h(RTLD_START): Push _dl_main_searchlist
	instead of _dl_default_scope[2] as argument to _dl_init_next. 
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r--sysdeps/m68k/dl-machine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index b8911dccc7..a4affcc0f0 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -180,8 +180,9 @@ _dl_start_user:
 	lea (%sp, %d0*4), %sp
 	| Push back the modified argument count.
 	move.l %d1, -(%sp)
-0:	| Push _dl_default_scope[2] as argument in _dl_init_next call below.
-	move.l ([_dl_default_scope@GOT.w, %a5], 8), %d2
+0:	| Push the searchlist of the main object as argument in
+	| the _dl_init_next call below.
+	move.l ([_dl_main_searchlist@GOT.w, %a5]), %d2
 0:	move.l %d2, -(%sp)
 	| Call _dl_init_next to return the address of an initializer
 	| function to run.