ref: c591c17b3ff3cb5e36a91d3a4dd2feb71b046804
parent: 4e263a955998e21a6e55ae3be68dd55abfcdf00e
author: Werner Lemberg <[email protected]>
date: Mon Jan 19 03:55:15 EST 2009
Fix Savannah bug #25355. * include/freetype/config/ftconfig.h (FT_MulFix_i386): Make assembler code work with gcc 2.95.3 (as used by the Haiku project). Add `cc' register to the clobber list.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-19 Michael Lotz <[email protected]>
+
+ Fix Savannah bug #25355.
+
+ * include/freetype/config/ftconfig.h (FT_MulFix_i386): Make
+ assembler code work with gcc 2.95.3 (as used by the Haiku project).
+ Add `cc' register to the clobber list.
+
2009-01-18 Werner Lemberg <[email protected]>
Protect FT_Get_Next_Char.
--- a/include/freetype/config/ftconfig.h
+++ b/include/freetype/config/ftconfig.h
@@ -357,9 +357,9 @@
"shrl $16, %%eax\n"
"shll $16, %%edx\n"
"addl %%edx, %%eax\n"
- : "=a"(result), "+d"(b)
- : "a"(a)
- : "%ecx" );
+ : "=a"(result), "=d"(b)
+ : "a"(a), "d"(b)
+ : "%ecx", "cc" );
return result;
}