summaryrefslogtreecommitdiff
path: root/patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch')
-rw-r--r--patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch b/patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch
new file mode 100644
index 0000000..97c152e
--- /dev/null
+++ b/patches/glibc/linuxthreads-2.3.6/270-alpha-cfi.patch
@@ -0,0 +1,25 @@
+--- glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.orig 2008-06-19 15:31:45.000000000 +0300
++++ glibc-2.3.6/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h 2008-06-19 15:36:10.000000000 +0300
+@@ -54,6 +54,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); \
+@@ -84,12 +85,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. */