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.
This commit is contained in:
parent
4e263a9559
commit
c591c17b3f
|
@ -1,3 +1,11 @@
|
||||||
|
2009-01-19 Michael Lotz <mmlr@mlotz.ch>
|
||||||
|
|
||||||
|
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 <wl@gnu.org>
|
2009-01-18 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
Protect FT_Get_Next_Char.
|
Protect FT_Get_Next_Char.
|
||||||
|
|
|
@ -357,9 +357,9 @@ FT_BEGIN_HEADER
|
||||||
"shrl $16, %%eax\n"
|
"shrl $16, %%eax\n"
|
||||||
"shll $16, %%edx\n"
|
"shll $16, %%edx\n"
|
||||||
"addl %%edx, %%eax\n"
|
"addl %%edx, %%eax\n"
|
||||||
: "=a"(result), "+d"(b)
|
: "=a"(result), "=d"(b)
|
||||||
: "a"(a)
|
: "a"(a), "d"(b)
|
||||||
: "%ecx" );
|
: "%ecx", "cc" );
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue