ref: 2cd5dce83187ba167fca700f2e588ee52c6f3e6e
parent: e4661646de7a40e3a0b6c317ed069ac1c7ae352e
author: Steve Langasek <[email protected]>
date: Sat Mar 14 20:58:25 EDT 2009
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.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-15 Steve Langasek <[email protected]>
+
+ 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 <[email protected]>
Fix valgrind warning.
--- a/builds/unix/ftconfig.in
+++ b/builds/unix/ftconfig.in
@@ -298,7 +298,7 @@
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 */