emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.in support for FreeBSD ia64/sparc64/powerpc


From: Ulrich Mueller
Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc
Date: Fri, 19 Dec 2008 19:10:26 +0100

>>>>> On Fri, 19 Dec 2008, Dan Nicolaescu wrote:

> Was this tested on GNU/Linux

Yes.

> and Solaris (and all other sparc64 platforms)?

No.

> Otherwise better make that #ifdef depend on FreeBSD.

I've nothing against that.

--- emacs-orig/src/alloc.c
+++ emacs/src/alloc.c
@@ -4573,7 +4573,11 @@
      needed on ia64 too.  See mach_dep.c, where it also says inline
      assembler doesn't work with relevant proprietary compilers.  */
 #ifdef __sparc__
+#if defined (__sparc64__) && defined(__FreeBSD__)
+  asm ("flushw");
+#else
   asm ("ta 3");
+#endif
 #endif
 
   /* Save registers that we need to see on the stack.  We need to see




reply via email to

[Prev in Thread] Current Thread [Next in Thread]