diff options
author | Chung-Lin Tang <cltang@codesourcery.com> | 2012-05-28 00:06:57 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-28 00:11:06 +0200 |
commit | 65a4de4e06709264e7e06152cd88aaec1f03fd11 (patch) | |
tree | 85fadd93664635e1884e1b1ceaa7de63f17e0ab3 /nptl/sysdeps/unix/sysv/linux/sh/sem_post.S | |
parent | 47e452cf7c13529f168ff2a415107d1c8e9af9c2 (diff) | |
download | glibc-65a4de4e06709264e7e06152cd88aaec1f03fd11.tar.gz |
SH: Add CFI directives.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh/sem_post.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/sem_post.S | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S b/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S index b228a325fe..662271c5fa 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/sem_post.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007, 2008, 2011 Free Software Foundation, Inc. +/* Copyright (C) 2003-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,6 +28,7 @@ .globl __new_sem_post .type __new_sem_post,@function .align 5 + cfi_startproc __new_sem_post: mov.l @(VALUE,r4), r2 0: @@ -66,8 +67,14 @@ __new_sem_post: mov #EOVERFLOW, r2 4: mov.l r12, @-r15 + cfi_adjust_cfa_offset (4) + cfi_rel_offset (r12, 0) mov.l r8, @-r15 + cfi_adjust_cfa_offset (4) + cfi_rel_offset (r8, 0) sts.l pr, @-r15 + cfi_adjust_cfa_offset (4) + cfi_rel_offset (pr, 0) mova .Lgot3, r0 mov.l .Lgot3, r12 add r0, r12 @@ -83,10 +90,17 @@ __new_sem_post: .Lexit: mov.l r2, @r0 lds.l @r15+, pr + cfi_adjust_cfa_offset (-4) + cfi_restore (pr) mov.l @r15+, r8 + cfi_adjust_cfa_offset (-4) + cfi_restore (r8) mov.l @r15+, r12 + cfi_adjust_cfa_offset (-4) + cfi_restore (r12) rts mov #-1, r0 + cfi_endproc .align 2 .Lmax: |