Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: D. Jeff Dionne <jeff@maribor.pfnet.com>
Subject: ELF and binutils
Date: Sun, 10 Mar 1996 22:55:58 -0500 (EST)	[thread overview]
Message-ID: <1d5bc74424e5624c689a521dbded9c17.axp-list@archive.invalid> (raw)

Ok, so here's the state of things for elf64 and binutils (as of 2.6) as I
see it.  The patches up to 2.6.0.2 (the newest on my CD) don't really give
us anything major

There appears to be some support of elf64 in BFD.  There is a target for
elf64-sparc, but I've not tried to build a cross target to it (I'll do
that and see if support is complete enough to compile the whole thing).
It's possible it's not complete, the file is a bit short in comparison to
the other processor specific stuff.  It could be that since efl64-sparc seems
to be the only thing in there that it's tacked on to the elf32 stuff :-(

Now, elf (even 32) support in gas does seem to be tacked on.  This is not at all
the case with a.out or (E)COFF.  The gas ELF targets use routines from ecoff,
which is a plus (?).  The alpha processor stuff is quite hardwired for a.out 
or ecoff.  It's not clear if other processor's targets are also hard wired like
this (I've not looked), but it really doesn't matter, we will have to mess
with the alpha specific stuff internals more than just providing 
&alpha_little_silly_elf64_arch :-(

Since gas is poorly integrated with ELF targets, that's where it's going to be 
work (provided that elf64-sparc target is complete).  Also, since I gather from
the list that the official spec to define ELF64 is not complete, that the ELF64
in BFD is just ELF32 with wide fields, except for the sparc specific stuff.  I
figure this probably means that the kernel loader will be fairly trivial to 
change to support this type of ELF64.

This might be a way to go.  BFD looks fairly simple (in comparison to gas, and
I've not looked at gcc) to provide some kind of ELF64 for.  We can likely build
an objcopy quickly.  Not that this will get us where we need (or shared libs,
for that matter), but it's a start.  gas and gcc will take longer.  At least
that's my assesment.  

What do we want to do?

Jeff Dionne,
Jeff@maribor.pfnet.com

             reply	other threads:[~1996-03-11  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-11  3:55 D. Jeff Dionne [this message]
     [not found] <199603110355.WAA08604@maribor.pfnet.com>
1996-03-11  4:01 ` ELF and binutils Erik Troan
1996-03-11  4:43 ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox