Subject: Re: ELF stuff
To: None <Richard.Earnshaw@arm.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 02/02/2001 16:40:11
On Fri, 2 Feb 2001, Richard Earnshaw wrote:

> > * (gas) Support for ARM ELF PIC relocations (didn't work last time I
> >   checked)
> 
> Probably requires binutils 2.10.x
> 
> > * (ld.elf_so) Support for ARM ELF
> > * (ld) More sensible ARM ELF linker script (e.g. with separate text and
> >   data segments)
> 
> Again, this can probably be lifted largely from binutils 2.10 linker.

I'm already using Binutils 2.10.  Older releases don't do ARM ELF at all.

> It would be cool to support ARM linux binaries with the appropriate shared 
> libs and emulations.  With some work it might even be possible to make 
> ARMv2 binaries run on most machines.  ARMv3 binaries might or might not be 
> runnable on the old acorn machines, but you never know, it largely depends 
> on whether they have to be loaded at impossible addresses.

[ from binutils-2.10/ld/emulparams/armelf_linux.sh ]
TEXT_START_ADDR=0x02000000

That looks pretty impossible to me.

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