From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Sun, 10 Mar 1996 22:43:32 -0600 (CST) From: Richard Henderson Subject: Re: ELF and binutils In-Reply-To: <199603110355.WAA08604@maribor.pfnet.com> > 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). I was under the impression that Sun just threw something together to support their Mega-Ultra-Hyper-Super-Duper Sparc and that the "official" elf64-sparc standard is not final. > Now, elf (even 32) support in gas does seem to be tacked on. Gas is being moved toward using the BFD to do its object file manipulation, and the ELF support in gas was the first converted (or may even have never existed in its old form). Most of the a.out and COFF support is a twisty maze of crufty hacks. So, actually, ELF is the best "integrated". > 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. The BFD should be just about it. Since the standard calling conventions already use a GOT, there is no distinction to be made between "normal" code and "pic" code, as there is on i386, m68k, and sparc targets. The ppc target is similar in this respect. > What do we want to do? Well, Jon Hall said he'd try to get a copy of the WIP. I'm still hopeful that he'll be able to get it -- it'd be a bit easier than making something up. r~