Path: gmd.de!Germany.EU.net!news.dfn.de!xlink.net!howland.reston.ans.net! noc.near.net!uunet!bloom-beacon.mit.edu!cambridge-news.cygnus.com! athena.mit.edu!raeburn From: raeb...@athena.mit.edu (Ken Raeburn) Newsgroups: comp.unix.sys5.r4 Subject: ELF extensions for new machines (32-bit and 64-bit) Date: 25 Jul 1993 22:15:00 GMT Organization: Cygnus Support, Cambridge MA Lines: 37 Message-ID: <RAEBURN.93Jul25181422@cambridge.cygnus.com> NNTP-Posting-Host: cambridge.cygnus.com I was talking to a friend not too long ago about some work he was doing. His company is working on a compiler toolchain for a 64-bit chip, using some extensions they had come up with to ELF to handle the wider values. He wasn't sure which details had been released yet, so I don't have much more than that. The only ELF documentation I've heard of that's available to the public is on the 32-bit version. I've got the SysV ABI and some processor supplements from AT&T. (I tried Quantum Books here in Cambridge, looking for more info, but they didn't even have the 386 supplement, and told me it was out of print. Anyone want to unload a copy or two of that one?) Anyways, since I'm working on support for (32-bit) ELF in the GNU assembler, linker, and binutils right now (for SPARC mostly, other systems coming later, with some work being contributed by others), I'd like to start finding out what additional information I can. (BTW, no, I don't know when dynamic linking will be added to these tools.) For example, the ABI listed machine numbers for a half dozen or so machines. (I don't have it in front of me, but I'm pretty sure it was less than a dozen, total.) Does any organization coordinate the assignment of numbers for processors not on that list? I'm sure there are plenty of books on svr4; are any particularly clear on describing the executable file formats or their use? And is there a group someplace making an Official Specification for 64-bit ELF for everyone to adhere to, or will each vendor of these new chips make up its own set of changes to the 32-bit spec? Thanks for any suggestions you can give... Ken P.S. Is there some other newsgroup I should ask too? None jumped out at me, but with over 3000 on our server, I could've missed one or two.
Newsgroups: comp.unix.sys5.r4 Path: gmd.de!xlink.net!howland.reston.ans.net!wupost!csus.edu!netcom.com!rfg From: r...@netcom.com (Ronald F. Guilmette) Subject: Re: ELF extensions for new machines (32-bit and 64-bit) Message-ID: <rfgCAquLK.Bn4@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <RAEBURN.93Jul25181422@cambridge.cygnus.com> Date: Sun, 25 Jul 1993 23:29:43 GMT Lines: 89 In article <RAEBURN.93Jul25181...@cambridge.cygnus.com> raeb...@athena.mit.edu (Ken Raeburn) writes: > >I was talking to a friend not too long ago about some work he was doing. >His company is working on a compiler toolchain for a 64-bit chip, using >some extensions they had come up with to ELF to handle the wider values. >He wasn't sure which details had been released yet, so I don't have much >more than that. C'mon Ken. You can tell us. What's the chip? Who's the company? Hey! There's only a few thousand of us here, and we'll never tell! :-) >The only ELF documentation I've heard of that's available to the public is >on the 32-bit version. I've got the SysV ABI and some processor >supplements from AT&T. (I tried Quantum Books here in Cambridge, looking >for more info, but they didn't even have the 386 supplement, and told me >it was out of print. Anyone want to unload a copy or two of that one?) What you need is a book called "SYSTEM V RELEASE 4 Programmer's Guide: ANSI C and Programming Support Tools" (ISBN 0-13-933706-7). In particular, shapter 13 has all the low-down on ELF. Obviously, conditions on the East Coast are rather primitive (snicker, snicker) so I'll give you a number for one of our superior West Coast bookstores that ought to be able to mail you a copy. Try Computer Literacy at 408-435-1118. >Anyways, since I'm working on support for (32-bit) ELF in the GNU >assembler, linker, and binutils right now (for SPARC mostly, other systems >coming later, with some work being contributed by others), I'd like to >start finding out what additional information I can. (BTW, no, I don't >know when dynamic linking will be added to these tools.) > >For example, the ABI listed machine numbers for a half dozen or so >machines. (I don't have it in front of me, but I'm pretty sure it was >less than a dozen, total.) Does any organization coordinate the >assignment of numbers for processors not on that list? Think USL. >I'm sure there are plenty of books on svr4; are any particularly clear on >describing the executable file formats or their use? See above. >And is there a group someplace making an Official Specification for 64-bit >ELF for everyone to adhere to, or will each vendor of these new chips make >up its own set of changes to the 32-bit spec? Page 13-8 of the above mentioned book describes the EI_CLASS element of the e_ident member of the Elf32_Ehdr type. The list of possible values for this array element includes the symbolic constant: ELFCLASS64 (value 2) /* 64-bit objects */ Later text on the same page says: "Class ELFCLASS64 is reserved for 64-bit architectures. Its appearance here shows how the object file may change, but the 64-bit format is otherwise unspecified. Other classes will be defined as necessary, with different basic types and sizes for object file data." Obviously, this doesn't give the whole story. I think that every major microprocessor vendor has a 64 bit part somewhere in the pipeline, and there is undoubetdly code being written for the ones that are getting close to the public (i.e. "announced") end of the pipe. Some subset of those efforts are probably going with ELF and/or SVR4, and that subset (of chip vendors) has probably already worked out how they each plan to do 64-bit ELF, but good luck getting them to talk about it in public. Note that it isn't even necessarily a matter of secrecy relating to the chips. Companies are also often loath to give out system software details for software they're not shipping yet, as doing so tends to be viewed as a "commitment" to a particular approach (or format) by their respective customer bases. (This "fear of commitment" seems to be a male thing. For more info, read Cosmopolitian magazine. :-) >P.S. Is there some other newsgroup I should ask too? None jumped out at >me, but with over 3000 on our server, I could've missed one or two. Nope, but the UI/PLSIG group (i.e. UNIX International Programming Languages Special Interest Group) is open to the public and has its own mailing list on which ELF and DWARF are the most common topics. For more info, contact our chairman, Dan Oldman @ Data General, <old...@dg-rtp.dg.com>. -- -- Ronald F. Guilmette ------------------------------------------------------ ------ domain address: r...@netcom.com --------------------------------------- ------ uucp address: ...!uunet!netcom.com!rfg -------------------------------
Newsgroups: comp.unix.sys5.r4 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net! ra!tantalus.nrl.navy.mil!eric From: e...@tantalus.nrl.navy.mil (Eric Youngdale) Subject: Re: ELF extensions for new machines (32-bit and 64-bit) Message-ID: <CAsIH5.HD8@ra.nrl.navy.mil> Sender: use...@ra.nrl.navy.mil Organization: Naval Research Laboratory References: <RAEBURN.93Jul25181422@cambridge.cygnus.com> <rfgCAquLK.Bn4@netcom.com> Date: Mon, 26 Jul 1993 21:03:05 GMT Lines: 23 In article <rfgCAquLK....@netcom.com> r...@netcom.com (Ronald F. Guilmette) writes: >What you need is a book called "SYSTEM V RELEASE 4 Programmer's Guide: >ANSI C and Programming Support Tools" (ISBN 0-13-933706-7). In particular, >shapter 13 has all the low-down on ELF. I second this. I was able to set things up so that linux could run some SVr4 ELF binaries by using the information in this book. It was really pretty easy, actually. >Obviously, conditions on the East Coast are rather primitive (snicker, snicker) >so I'll give you a number for one of our superior West Coast bookstores that >ought to be able to mail you a copy. Try Computer Literacy at 408-435-1118. I found a copy in Reiters Scientific Bookstore on K street in DC. Not quite Boston, but at least it is on the East Coast. Actually, the SVr4 books had all of the material rearranged (the new ones no longer have something like red white and black covers instead of the the blue covers found on the old set), so the ELF stuff may be in a different volume now. -Eric -- "When Gregor Samsa woke up one morning from unsettling dreams, he found himself changed in his bed into a lawyer."