From: Andreas Schwab Date: Wed, 7 Oct 1998 02:15:27 +0000 (+0000) Subject: * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42f335b719e2ac975814fcf2c5f401a7aef4e37;p=thirdparty%2Fglibc.git * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup flag. Switch back to previous section. --- diff --git a/ChangeLog b/ChangeLog index 7376f462ff4..bacb7200dde 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-10-06 Andreas Schwab + + * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup + flag. Switch back to previous section. + 1998-10-04 Andreas Schwab * elf/dl-open.c: Declare _dl_unload_cache. diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h index 41d57b59aa3..f3b4c31e880 100644 --- a/sysdeps/m68k/dl-machine.h +++ b/sysdeps/m68k/dl-machine.h @@ -177,13 +177,14 @@ _dl_start_user: | Loop to call _dl_init_next for the next initializer. jra 0b 1: | Clear the startup flag. - clr.l _dl_starting_up@GOT(%a5) + clr.l ([_dl_starting_up@GOT, %a5]) | Pass our finalizer function to the user in %a1. move.l _dl_fini@GOT(%a5), %a1 | Initialize %fp with the stack pointer. move.l %sp, %fp | Jump to the user's entry point. - jmp (%a4)"); + jmp (%a4) + .previous"); /* Nonzero iff TYPE describes relocation of a PLT entry, so PLT entries should not be allowed to define the value. */