about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-06-06 14:23:21 -0700
committerRichard Henderson <rth@twiddle.net>2012-06-06 14:23:21 -0700
commita683563255826fa1623785b660ffe11956ba3f4a (patch)
tree1e08174a6e8ee817d991ede582f4c1c468e65943
parent7d1feb5693be7e606104cc2b6657c746a93e5926 (diff)
downloadglibc-a683563255826fa1623785b660ffe11956ba3f4a.tar.gz
glibc-a683563255826fa1623785b660ffe11956ba3f4a.tar.xz
glibc-a683563255826fa1623785b660ffe11956ba3f4a.zip
alpha: put mcount prologue at correct location
-rw-r--r--ChangeLog.alpha4
-rw-r--r--sysdeps/alpha/_mcount.S3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog.alpha b/ChangeLog.alpha
index 705a0204d7..2c107ad931 100644
--- a/ChangeLog.alpha
+++ b/ChangeLog.alpha
@@ -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
diff --git a/sysdeps/alpha/_mcount.S b/sysdeps/alpha/_mcount.S
index 9d7c15be73..67c579e67c 100644
--- a/sysdeps/alpha/_mcount.S
+++ b/sysdeps/alpha/_mcount.S
@@ -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)