summaryrefslogtreecommitdiff
path: root/patches/glibc/2.5.1/270-alpha-cfi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/2.5.1/270-alpha-cfi.patch')
-rw-r--r--patches/glibc/2.5.1/270-alpha-cfi.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/glibc/2.5.1/270-alpha-cfi.patch b/patches/glibc/2.5.1/270-alpha-cfi.patch
new file mode 100644
index 0000000..c1efd77
--- /dev/null
+++ b/patches/glibc/2.5.1/270-alpha-cfi.patch
@@ -0,0 +1,25 @@
+--- libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2006/10/29 21:48:06 1.6
++++ libc/nptl/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2007/03/13 21:28:03 1.7
+@@ -55,6 +55,7 @@
+ bne a3, SYSCALL_ERROR_LABEL; \
+ __LABEL($pseudo_ret) \
+ .subsection 2; \
++ cfi_startproc; \
+ __LABEL($pseudo_cancel) \
+ subq sp, 64, sp; \
+ cfi_def_cfa_offset(64); \
+@@ -90,12 +91,13 @@
+ cfi_def_cfa_offset(0); \
+ __LABEL($syscall_error) \
+ SYSCALL_ERROR_HANDLER; \
++ cfi_endproc; \
+ .previous
+
+ # undef PSEUDO_END
+ # define PSEUDO_END(sym) \
+- .subsection 2; \
+ cfi_endproc; \
++ .subsection 2; \
+ .size sym, .-sym
+
+ # define SAVE_ARGS_0 /* Nothing. */