Use __asm__ for declaring assembly instead of asm.

* builds/unix/ftconfig.in (FT_MulFix_arm): Use __asm__ instead of
asm on arm, fixing a build failure on armel with -pedantic.
This commit is contained in:
Steve Langasek 2009-03-15 00:58:25 -07:00 committed by Werner Lemberg
parent e4661646de
commit 2cd5dce831
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-03-15 Steve Langasek <steve.langasek@canonical.com>
Use __asm__ for declaring assembly instead of asm.
* builds/unix/ftconfig.in (FT_MulFix_arm): Use __asm__ instead of
asm on arm, fixing a build failure on armel with -pedantic.
2009-03-14 Werner Lemberg <wl@gnu.org>
Fix valgrind warning.

View File

@ -298,7 +298,7 @@ FT_BEGIN_HEADER
register FT_Int32 t, t2;
asm __volatile__ (
__asm__ __volatile__ (
"smull %1, %2, %4, %3\n\t" /* (lo=%1,hi=%2) = a*b */
"mov %0, %2, asr #31\n\t" /* %0 = (hi >> 31) */
"add %0, %0, #0x8000\n\t" /* %0 += 0x8000 */