From 7fa0bd477017afdbef4e6af3990cd9b8be5d0549 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 8 Mar 2008 00:42:53 +0000 Subject: * New patch from CVS to fix direction flag on syscall entry. - debian/patches/70_cld.patch --- debian/patches/70_cld.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 2 files changed, 17 insertions(+) create mode 100644 debian/patches/70_cld.patch (limited to 'debian/patches') 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 */ + diff --git a/debian/patches/series b/debian/patches/series index 0d2f695..ccbf871 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -12,4 +12,5 @@ 30_net_multicast.patch -p0 40_iopl_mmap.patch -p0 50_ide_bm.patch -p0 +70_cld.patch -p0 90_autoconf_autogen.patch -- cgit v1.2.3