www.delorie.com/gnu/docs/gdb/stabs_49.html   search  
 
Buy the book!


STABS

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.2.1 Transformations on Static Variables

This source line defines a static variable at file scope:

 
static int s_g_repeat

The following stab describes the symbol:

 
.stabs "s_g_repeat:S1",38,0,0,_s_g_repeat

The assembler transforms the stab into this symbol table entry in the `.o' file. The location is expressed as a data segment offset.

 
00000084 - 00 0000 STSYM s_g_repeat:S1

In the symbol table entry from the executable, the linker has made the relocatable address absolute.

 
0000e00c - 00 0000 STSYM s_g_repeat:S1


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003