grammar for "cc -g" symbol table info wanted

Bill Schell bill at allegra.att.com
Tue Aug 28 08:40:46 AEST 1990


Does anyone out there happen to have or know where I can find a
grammar describing the format of the information that "cc -g" puts
into the symbol table for .o files?  (For Sun or similar C compilers.)
I'm talking about what you get when you run "nm -a file.o". Things
like:

fffffb05 - 00 0004  LSYM iptr:t(0,13)=ar(0,1);0;22;(0,14)=*(0,1)

I could easily do a grammar myself from observation of the data,
but I'd like to make sure I'm catching all the cases.

Thanks very much,

Bill Schell
AT&T Bell Labs, Murray Hill, NJ
bill at research.att.com OR allegra!bill



More information about the Comp.unix.wizards mailing list