grammar for "cc -g" symbol table info wanted

George Turczynski george at hls0.hls.oz
Fri Aug 31 17:09:19 AEST 1990


In article <BILL.90Aug27184046 at gargoyle.allegra.att.com>, bill at allegra.att.com (Bill Schell) writes:
> 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 think you'll find what you're looking for (or at least pointers to it)
if you look in Section 5 of the manual (file formats) under "a.out".

Have a nice day...

-- 
| George P. J. Turczynski.          |---------------------------------------------------- 
| Computer Systems Engineer.        | ACSnet: george at highland.oz | I can't speak for the |
| Highland Logic Pty. Ltd.          | Phone: +61 48 683490       | company, I can barely |
| Suite 1, 348-354 Argyle St        | Fax:   +61 48 683474       | speak for myself...   |
| Moss Vale. NSW. Australia. 2577   |---------------------------------------------------- 



More information about the Comp.unix.wizards mailing list