* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind instead...
authorRichard Henderson <rth@redhat.com>
Wed, 25 Aug 2004 19:59:01 +0000 (19:59 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 25 Aug 2004 19:59:01 +0000 (19:59 +0000)
2004-08-25  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
instead of $31.  Zero $15.
* sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.

ChangeLog
sysdeps/alpha/elf/start.S
sysdeps/unix/sysv/linux/alpha/clone.S

index 5b2d4cf..06fab9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-25  Richard Henderson  <rth@redhat.com>
+
+       * sysdeps/alpha/elf/start.S (_start): Use $15 as frame unwind
+       instead of $31.  Zero $15.
+       * sysdeps/unix/sysv/linux/alpha/clone.S (thread_start): Likewise.
+
 2004-08-25  Ulrich Drepper  <drepper@redhat.com>
 
        * nscd/connections.c: Make socket nonblocking so that threads
index c6d7587..3c2bc59 100644 (file)
        .ent _start, 0
        .type _start,@function
 _start:
-       .frame  $31, 0, $31
+       .frame  $15, 0, $15
        br      gp, 1f
 1:     ldgp    gp, 0(gp)
        subq    sp, 16, sp
+       mov     0, $15
        .prologue 0
 
   /* Load address of the user's main function.  */
index daa804c..b4766ec 100644 (file)
@@ -89,7 +89,8 @@ $error:
 
        .ent thread_start
 thread_start:
-       .frame  zero,0,zero,0
+       .frame  fp,0,fp,0
+       mov     0, fp
        .prologue 0
 
        /* Load up the arguments.  */