Subject: Re: Shared library support for ARM ELF
To: Matt Thomas <matt@3am-software.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm
Date: 07/16/2001 20:04:18
On Sun, 15 Jul 2001, Matt Thomas wrote:

> This weekend, in a fit of insanity, I've implemented and
> committed most of the pieces for ELF shared library support
> on ARM.  I have no idea whether it works on arm26 but I'd
> to see if someone (Ben?) can confirm that.

Seems to work, from my minimal testing.

> ftp://ftp.netbsd.org/pub/incoming/matt/armelf.tgz
>
> contains a small sampling of ARM programs (sh, ps, md5)
> plus libc.so and ld.elf_so.  Just untar it and chroot into
> it is the easiest way to verify it (which is why I included
> sh).

Actually, since sh and ps are in /bin, only md5 is dynamically-linked.
Still works, though.  Any chance of ldd, so I can convince myself more
thoroughly?

> Note that to use it you will need to rebuild your kernel with
> EXEC_ELF32.  Also, a few new sysctl's were added to better
> support the comming shared arm (arm32+arm26) environment so
> I'd appreciate it if you can try the ps and see if it does the
> right thing for you (since I had to modify libkvm a bit).

Seems to work, even though I haven't updated my kernel.

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