alpha: put mcount prologue at correct location
authorRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:23:21 +0000 (14:23 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 6 Jun 2012 21:23:21 +0000 (14:23 -0700)
ChangeLog.alpha
sysdeps/alpha/_mcount.S

index 705a020..2c107ad 100644 (file)
@@ -1,3 +1,7 @@
+2012-06-06  Richard Henderson  <rth@twiddle.net>
+
+       * sysdeps/alpha/_mcount.S: Move .prologue after stack alloc.
+
 2012-06-05  Richard Henderson  <rth@twiddle.net>
 
        * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Use .cfi_signal_frame
index 9d7c15b..67c579e 100644 (file)
@@ -38,9 +38,8 @@
        .set    noreorder
 
 LEAF(_mcount, 0xb0)
-       .prologue 0
-
        subq     sp, 0xb0, sp
+       .prologue 0
        stq      a0, 0x00(sp)
        mov      ra, a0         # a0 = caller-pc
        stq      a1, 0x08(sp)