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_wait.S | |
parent | 47e452cf7c13529f168ff2a415107d1c8e9af9c2 (diff) | |
download | glibc-65a4de4e06709264e7e06152cd88aaec1f03fd11.tar glibc-65a4de4e06709264e7e06152cd88aaec1f03fd11.tar.gz glibc-65a4de4e06709264e7e06152cd88aaec1f03fd11.tar.bz2 glibc-65a4de4e06709264e7e06152cd88aaec1f03fd11.zip |
SH: Add CFI directives.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S b/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S index f2dd0c8bf7..57af34473d 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2003, 2004, 2007, 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 @@ -71,11 +71,20 @@ __new_sem_wait: 7: mov #0, r0 9: + cfi_remember_state lds.l @r15+, pr + cfi_adjust_cfa_offset (-4) + cfi_restore (pr) mov.l @r15+, r12 + cfi_adjust_cfa_offset (-4) + cfi_restore (r12) mov.l @r15+, r10 + cfi_adjust_cfa_offset (-4) + cfi_restore (r10) rts mov.l @r15+, r8 + /* Omit CFI for restore in delay slot. */ + cfi_restore_state .Lafter_ret: 1: |