Subject: Re: Binary Compatibility
To: Matt Thomas <matt@3am-software.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm26
Date: 10/14/2000 21:35:53
On Sat, 14 Oct 2000, Matt Thomas wrote:

> Is there any reason why arm32 can't run arm26 programs?

For those processors which support 26-bit mode, it should be a SMOP
(kernel ELF support, replacement setregs() and probably changes to the
signal-handling glue).  For newer processors, it's impossible because they
don't have 26-bit emulation any more.  A better approach would be to tweak
GCC so that it can output code that'll work on both architectures (it may
do this already with the right options), but I haven't looked into that
possibility yet.

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