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:
parent
e4661646de
commit
2cd5dce831
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue