]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
authorAndreas Schwab <schwab@suse.de>
Wed, 7 Oct 1998 02:15:27 +0000 (02:15 +0000)
committerAndreas Schwab <schwab@suse.de>
Wed, 7 Oct 1998 02:15:27 +0000 (02:15 +0000)
flag.  Switch back to previous section.

ChangeLog
sysdeps/m68k/dl-machine.h

index 7376f462ff40ddd30122ffefc6a00cfc7951e617..bacb7200dde725f8811e1cc8185f0c898cca2586 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-10-06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * sysdeps/m68k/dl-machine.h (RTLD_START): Fix clearing startup
+       flag.  Switch back to previous section.
+
 1998-10-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
 
        * elf/dl-open.c: Declare _dl_unload_cache.
index 41d57b59aa3001bfea238558c522f6c4b66626c3..f3b4c31e88024167a99ca0885f67eebf8f704c37 100644 (file)
@@ -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.  */