🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.msdos
Article #574

Re: Curious about free Unixes and ABI (BSD, Linux, GNU)

#574
From: Michael Meissner
Date: Wed, 25 Mar 1992 11:21
34 lines
2908 bytes
In article <PINKAS.92Mar24181505@caraway.intel.com>
pinkas@caraway.intel.com (Israel Pinkas) writes:

| I have heard rumors that Solaris will use ELF binaries but that the
| debugging information will be STABS based.  (STABS is the COFF format.
| SunOS for the Sun386i used COFF.)

STABS is the BSD debug format, not COFF.  STABS encodes the debug
information using the name field as a string that the debugger has to
parse, a type field and two integer fields, one of which can be
relocated (line numbers are the only stab that uses the second field).
STABS are intermixed with other entries in the symbol table.  Anything
that the compiler and debugger can agree upon can be passed through.
Since there is no central stabs authority, you can have problems when
the compiler and debugger disagree.

COFF uses a binary encoding in it's own section in the object format,
based on the data structures in the original Ritchie C compiler, which
compresses the basic type information into 16 bits (4 bit basic type,
6 fields of 2 bits each to represent pointer/array/function), with
extra words following to provide things like array sizes.  COFF is
extermely crippling when it comes to describe non-C languages.

DWARF is also a binary encoding used by most of the systems using the
ELF object file format (except for MIPS systems which use the ECOFF
debug format).  It is much more flexible than COFF in the languages it
can support.  The USL programming language SIG is putting the revised
format out for public review soon (maybe it's already out on the
streets).
--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.
Technical Details
Message-ID: <MEISSNER.92Mar25112136@tiktok.osf.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!paperboy.osf.org!meissner
References: <ks327uINNdug@alhena.usc.edu> <1992Mar17.062130.29614@compuram.bbt.se> <PREECE.92Mar19085001@neptune.urbana.mcd.mot.com> <PINKAS.92Mar24181505@caraway.intel.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10ad36,2689be3f06f6ef11
X-Google-Attributes: gid10ad36,public
X-Google-Thread: f72b0,2689be3f06f6ef11
X-Google-Attributes: gidf72b0,public
X-Google-Thread: 1025b4,2689be3f06f6ef11
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 12851b,2689be3f06f6ef11
X-Google-Attributes: gid12851b,public
X-Google-ArrivalTime: 1992-03-25 11:21:36 PST
Newsgroups: comp.unix.msdos,comp.unix.bsd,comp.unix.misc,gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!snorkelwacker.mit.edu!paperboy.osf.org!meissner
From: meissner@osf.org (Michael Meissner)
Subject: Re: Curious about free Unixes and ABI (BSD, Linux, GNU)
In-Reply-To: pinkas@caraway.intel.com's message of 25 Mar 92 02:15:05 GMT
Message-ID: <MEISSNER.92Mar25112136@tiktok.osf.org>
Sender: news@osf.org (USENET News System)
Organization: Open Software Foundation
References: <ks327uINNdug@alhena.usc.edu>
 <1992Mar17.062130.29614@compuram.bbt.se>
 <PREECE.92Mar19085001@neptune.urbana.mcd.mot.com>
 <PINKAS.92Mar24181505@caraway.intel.com>
Distribution: gnu
Date: 25 Mar 92 11:21:36
Lines: 34