[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure.in support for FreeBSD ia64/sparc64/powerpc
From: |
Chong Yidong |
Subject: |
Re: configure.in support for FreeBSD ia64/sparc64/powerpc |
Date: |
Fri, 03 Nov 2006 22:28:06 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Giorgos Keramidas <address@hidden> writes:
> The following change makes Emacs buildable on FreeBSD running on
> sparc64, ia64 and powerpc too. It has been tested for some time as a
> local patch in the editors/emacs-devel port of FreeBSD, so it would be
> nice if it became part of Emacs 22. We won't have to maintain local
> diffs for this part then:
>
> --- a/src/alloc.c Fri Oct 27 15:45:51 2006 +0000
> +++ b/src/alloc.c Sat Oct 28 01:49:45 2006 +0300
> @@ -4560,7 +4560,11 @@ mark_stack ()
> needed on ia64 too. See mach_dep.c, where it also says inline
> assembler doesn't work with relevant proprietary compilers. */
> #ifdef sparc
> +#ifdef __sparc64__
> + asm ("flushw");
> +#else
> asm ("ta 3");
> +#endif
> #endif
Is this change correct for non-FreeBSD sparc64 systems too? (I don't
know anything about this part of the code.)