[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following are all the possible values for the stab type field, for a.out files, in numeric order. This does not apply to XCOFF, but it does apply to stabs in sections (see section F. Using Stabs in Their Own Sections). Stabs in ECOFF use these values but add 0x8f300 to distinguish them from non-stab symbols.
The symbolic names are defined in the file `include/aout/stabs.def'.
A.1 Non-Stab Symbol Types Types from 0 to 0x1f A.2 Stab Symbol Types Types from 0x20 to 0xff
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following types are used by the linker and assembler, not by stab directives. Since this document does not attempt to describe aspects of object file format other than the debugging format, no details are given.
0x0 N_UNDF
0x2 N_ABS
0x3 N_ABS | N_EXT
0x4 N_TEXT
0x5 N_TEXT | N_EXT
0x6 N_DATA
0x7 N_DATA | N_EXT
0x8 N_BSS
0x9 N_BSS | N_EXT
0x0c N_FN_SEQ
N_FN
, for Sequent compilers
0x0a N_INDR
0x12 N_COMM
0x14 N_SETA
0x15 N_SETA | N_EXT
0x16 N_SETT
0x17 N_SETT | N_EXT
0x18 N_SETD
0x19 N_SETD | N_EXT
0x1a N_SETB
0x1b N_SETB | N_EXT
0x1c N_SETV
0x1d N_SETV | N_EXT
0x1e N_WARNING
0x1f N_FN
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following symbol types indicate that this is a stab. This is the full list of stab numbers, including stab types that are used in languages other than C.
0x20 N_GSYM
0x22 N_FNAME
0x24 N_FUN
0x26 N_STSYM
0x28 N_LCSYM
0x2a N_MAIN
0x2c N_ROSYM
.rodata
section; see 4.5 Static Variables.
0x30 N_PC
0x32 N_NSYMS
0x34 N_NOMAP
0x38 N_OBJ
0x3c N_OPT
0x40 N_RSYM
0x42 N_M2C
0x44 N_SLINE
0x46 N_DSLINE
0x48 N_BSLINE
0x48 N_BROWS
0x4a N_DEFD
0x4c N_FLINE
0x50 N_EHDECL
0x50 N_MOD2
0x54 N_CATCH
catch
clause; see D.9 N_CATCH.
0x60 N_SSYM
0x62 N_ENDM
0x64 N_SO
0x80 N_LSYM
0x82 N_BINCL
0x84 N_SOL
0xa0 N_PSYM
0xa2 N_EINCL
0xa4 N_ENTRY
0xc0 N_LBRAC
0xc2 N_EXCL
0xc4 N_SCOPE
0xe0 N_RBRAC
0xe2 N_BCOMM
0xe4 N_ECOMM
0xe8 N_ECOML
0xea N_WITH
with
statement: type,,0,0,offset (Solaris2).
0xf0 N_NBTEXT
0xf2 N_NBDATA
0xf4 N_NBBSS
0xf6 N_NBSTS
0xf8 N_NBLCS
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |