From 25c849b1789e3eca9494e1931cafb884270c542d Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 11 Sep 1998 13:48:17 +0000 Subject: * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to _dl_main_searchlist not _dl_default_scope to _dl_init_next. * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise. 1998-09-11 20:46 Richard Henderson * sysdeps/alpha/dl-machine.h (_dl_start_user): Pass pointer to _dl_main_searchlist not _dl_default_scope to _dl_init_next. * sysdeps/sparc/sparc32/dl-machine.h (_dl_start_user): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (_dl_start_user): Likewise. --- sysdeps/sparc/sparc32/dl-machine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sysdeps/sparc/sparc32') diff --git a/sysdeps/sparc/sparc32/dl-machine.h b/sysdeps/sparc/sparc32/dl-machine.h index fd1b9b77f2..da15e94a69 100644 --- a/sysdeps/sparc/sparc32/dl-machine.h +++ b/sysdeps/sparc/sparc32/dl-machine.h @@ -230,11 +230,11 @@ _dl_start_user: st %i4, [%i1+4] bne 23b add %i1, 8, %i1 - /* Load _dl_default_scope[2] to pass to _dl_init_next. */ -3: sethi %hi(_dl_default_scope), %g1 - or %g1, %lo(_dl_default_scope), %g1 + /* Load _dl_main_searchlist to pass to _dl_init_next. */ +3: sethi %hi(_dl_main_searchlist), %g1 + or %g1, %lo(_dl_main_searchlist), %g1 ld [%l7+%g1], %l1 - ld [%l1+2*4], %l1 + ld [%l1], %l1 /* Call _dl_init_next to return the address of an initializer to run. */ 4: call _dl_init_next mov %l1, %o0 -- cgit v1.2.3