aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-08-25 19:59:01 +0000
committerRichard Henderson <rth@redhat.com>2004-08-25 19:59:01 +0000
commit13e579e4f99b1a450fb899076bd53d2784686580 (patch)
treee70a62ddd275a80e958bec8c6871ad07a8cda753 /sysdeps
parent7048b1bff0b3e097df66be9ac526c6c6dcf66a54 (diff)
downloadglibc-13e579e4f99b1a450fb899076bd53d2784686580.tar
glibc-13e579e4f99b1a450fb899076bd53d2784686580.tar.gz
glibc-13e579e4f99b1a450fb899076bd53d2784686580.tar.bz2
glibc-13e579e4f99b1a450fb899076bd53d2784686580.zip
* 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.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/elf/start.S3
-rw-r--r--sysdeps/unix/sysv/linux/alpha/clone.S3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/alpha/elf/start.S b/sysdeps/alpha/elf/start.S
index c6d7587314..3c2bc59adc 100644
--- a/sysdeps/alpha/elf/start.S
+++ b/sysdeps/alpha/elf/start.S
@@ -44,10 +44,11 @@
.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. */
diff --git a/sysdeps/unix/sysv/linux/alpha/clone.S b/sysdeps/unix/sysv/linux/alpha/clone.S
index daa804c3fc..b4766ec457 100644
--- a/sysdeps/unix/sysv/linux/alpha/clone.S
+++ b/sysdeps/unix/sysv/linux/alpha/clone.S
@@ -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. */