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: Giorgos Keramidas
Subject: Re: configure.in support for FreeBSD ia64/sparc64/powerpc
Date: Fri, 19 Dec 2008 21:51:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix)

On Fri, 19 Dec 2008 19:10:26 +0100, Ulrich Mueller <address@hidden> wrote:
>>>>>> 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

No objection from me either.   Adding __FreeBSD__ seems fine.





reply via email to

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