summary refs log tree commit diff
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
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. 
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/m68k/dl-machine.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fcd7bedfd6..56143e375b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Wed Sep  9 10:34:06 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
+	* 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/fpu/bits/mathinline.h (isinf): Avoid conflict with
 	C9x macro.
 
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.