Subject: Re: Data format compatibility: old NetBSD/arm32, NetBSD/arm 26 vs.
To: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 10/29/2002 14:01:22
On Tue, 29 Oct 2002, Ignatios Souvatzis wrote:

> I wrote:
>
> > I want to decide whether it will NETBSDARM32 on all of them, or whether
> > I need to create NETBSDARM26 and NETBSDARM in addition.
> >
> > Structure alignment counts - PVM[1] uses the the PVM_ARCH value to decide
> > whether a non-encoded transfer is possible.
>
> actually, it's easier than that. PVM_ARCH is also used to decide where
> to load a remotely started binary from, so the answer is "yes".
>
> I noticed we use the same binaries on acorn26 and the 32bit cpus - is that
> right?

Yes.  It turns out that if you ask GCC to generate code to run in 32-bit
modes, the result works in 26-bit modes as well.  There used to be a
problem with __builtin_return_address(), but Richard fixed that.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>