From 769ca810bbff1d6886af97d2f47dfb79738cc8d4 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 9 Sep 1998 01:36:38 +0000 Subject: * 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. --- ChangeLog | 3 +++ sysdeps/m68k/dl-machine.h | 5 +++-- 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 + * 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. -- cgit v1.2.3