diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 16e463806f9..81b6b6e7f80 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,10 @@ +2010-12-06 Rainer Orth + + * configure.ac (libffi_cv_as_ascii_pseudo_op): Use double + backslashes. + (libffi_cv_as_string_pseudo_op): Likewise. + * configure: Regenerate. + 2010-12-03 Chung-Lin Tang * src/arm/sysv.S (ffi_closure_SYSV): Add UNWIND to .pad directive. diff --git a/libffi/configure b/libffi/configure index 05e58b0cc70..0db3728360a 100755 --- a/libffi/configure +++ b/libffi/configure @@ -12423,7 +12423,7 @@ else # Check if we have .ascii cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -asm (".ascii \"string\""); +asm (".ascii \\"string\\""); int main () { @@ -12458,7 +12458,7 @@ else # Check if we have .string cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -asm (".string \"string\""); +asm (".string \\"string\\""); int main () { diff --git a/libffi/configure.ac b/libffi/configure.ac index ac48c8297de..f9bde00bd30 100644 --- a/libffi/configure.ac +++ b/libffi/configure.ac @@ -282,7 +282,7 @@ if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64 libffi_cv_as_ascii_pseudo_op, [ libffi_cv_as_ascii_pseudo_op=unknown # Check if we have .ascii - AC_TRY_COMPILE([asm (".ascii \"string\"");],, + AC_TRY_COMPILE([asm (".ascii \\"string\\"");],, [libffi_cv_as_ascii_pseudo_op=yes], [libffi_cv_as_ascii_pseudo_op=no]) ]) @@ -295,7 +295,7 @@ if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64 libffi_cv_as_string_pseudo_op, [ libffi_cv_as_string_pseudo_op=unknown # Check if we have .string - AC_TRY_COMPILE([asm (".string \"string\"");],, + AC_TRY_COMPILE([asm (".string \\"string\\"");],, [libffi_cv_as_string_pseudo_op=yes], [libffi_cv_as_string_pseudo_op=no]) ])