summaryrefslogtreecommitdiff
path: root/sysdeps/s390/s390-32/s390-mcount.S
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2009-12-07 17:27:45 -0800
committerUlrich Drepper <drepper@redhat.com>2009-12-07 17:27:45 -0800
commit406300d20a052a015dda915af632bc1d64af8394 (patch)
tree4a0bc3c413dc77dc122a7835a8dccdbc725f2fdd /sysdeps/s390/s390-32/s390-mcount.S
parent941a0d997012025f9138277e566f0001c2fa43f3 (diff)
downloadglibc-406300d20a052a015dda915af632bc1d64af8394.tar.gz
Add even more cfi to s390 asm files.
Diffstat (limited to 'sysdeps/s390/s390-32/s390-mcount.S')
-rw-r--r--sysdeps/s390/s390-32/s390-mcount.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/s390-mcount.S b/sysdeps/s390/s390-32/s390-mcount.S
index 6d11f9bbdb..aae433bbc5 100644
--- a/sysdeps/s390/s390-32/s390-mcount.S
+++ b/sysdeps/s390/s390-32/s390-mcount.S
@@ -50,11 +50,15 @@
ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(_mcount)
ASM_TYPE_DIRECTIVE(C_SYMBOL_NAME(_mcount), @function)
+ cfi_startproc
.align ALIGNARG(4)
C_LABEL(_mcount)
/* Save the caller-clobbered registers. */
ahi %r15,-128
+ cfi_adjust_cfa_offset (128)
stm %r14,%r5,96(%r15)
+ cfi_offset (r14, 0)
+ cfi_offset (r15, 4)
l %r2,132(%r15) # callers address = first parameter
la %r2,0(%r2) # clear bit 0
la %r3,0(%r14) # callees address = second parameter
@@ -77,7 +81,9 @@ C_LABEL(_mcount)
*/
lm %r14,%r5,96(%r15)
ahi %r15,128
+ cfi_adjust_cfa_offset (-128)
br %r14
+ cfi_endproc
ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(_mcount))
#undef mcount