memtest86_/asm-inline-fix
Torsten Duwe 8df840d086 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
2012-10-05 13:25:20 +00:00

12 lines
297 B
Plaintext

--- 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();