Accepting request 137247 from home:duwe:branches:Base:System

- declare that the asm inline snippets in movinvr call e.g. rand()
  and might clobber caller-saved registers a, d, _and_ c.
  (bnc#773569)

OBS-URL: https://build.opensuse.org/request/show/137247
OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=16
This commit is contained in:
Torsten Duwe 2012-10-05 13:25:20 +00:00 committed by Git OBS Bridge
parent e736eebdd0
commit 8df840d086
3 changed files with 20 additions and 0 deletions

11
asm-inline-fix Normal file
View File

@ -0,0 +1,11 @@
--- memtest86+-4.20/test.c.orig 2011-01-23 19:11:04.000000000 +0100
+++ memtest86+-4.20/test.c 2012-10-05 14:57:19.000000000 +0200
@@ -313,7 +313,7 @@ void movinvr()
"jb L200\n\t"
: "=D" (p)
: "D" (p), "b" (pe)
- : "eax", "edx"
+ : "eax", "ecx", "edx"
);
do_tick();

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Oct 5 13:16:57 UTC 2012 - duwe@suse.com
- declare that the asm inline snippets in movinvr call e.g. rand()
and might clobber caller-saved registers a, d, _and_ c.
(bnc#773569)
-------------------------------------------------------------------
Wed Sep 5 10:07:27 UTC 2012 - lars@samba.org

View File

@ -36,6 +36,7 @@ Provides: memtest86 > 3.2
Url: http://www.memtest.org
Source: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.bz2
Patch0: fix-destdir
Patch1: asm-inline-fix
Summary: Memory Testing Image for x86 Architecture
License: BSD-3-Clause
Group: System/Boot
@ -62,6 +63,7 @@ Authors:
%prep
%setup
%patch0 -p1
%patch1 -p1
%build
make