This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libffi, build] Make libffi .ascii/.string test more robust


On 12/01/2010 03:51 PM, Rainer Orth wrote:
Ok for mainline and the 4.4, 4.5 branches after a full rebuild of
libffi?

Ok.


Paolo

Thanks.
	Rainer


2010-12-01 Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>


	* configure.ac (libffi_cv_as_ascii_pseudo_op): Use double
	backslashes.
	(libffi_cv_as_string_pseudo_op): Likewise.
	* configure: Regenerate.

diff -r 13f6c22ee782 libffi/configure.ac
--- a/libffi/configure.ac	Wed Dec 01 13:35:11 2010 +0100
+++ b/libffi/configure.ac	Wed Dec 01 13:59:12 2010 +0100
@@ -282,7 +282,7 @@
         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 @@
         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])
      ])



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]