summaryrefslogtreecommitdiff
path: root/debian/patches/70_cld.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/70_cld.patch')
-rw-r--r--debian/patches/70_cld.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/70_cld.patch b/debian/patches/70_cld.patch
new file mode 100644
index 0000000..1cb6abc
--- /dev/null
+++ b/debian/patches/70_cld.patch
@@ -0,0 +1,16 @@
+Index: i386/i386/locore.S
+===================================================================
+RCS file: /cvsroot/hurd/gnumach/i386/i386/locore.S,v
+retrieving revision 1.6.2.11
+diff -u -p -r1.6.2.11 locore.S
+--- i386/i386/locore.S 7 Aug 2007 13:07:25 -0000 1.6.2.11
++++ i386/i386/locore.S 7 Mar 2008 23:17:16 -0000
+@@ -966,6 +966,8 @@ syscall
+ syscall_entry:
+ pushf /* save flags as soon as possible */
+ syscall_entry_2:
++ cld /* clear direction flag */
++
+ pushl %eax /* save system call number */
+ pushl $0 /* clear trap number slot */
+