http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47966
--- Comment #6 from Dainis Jonitis <jonitis at gmail dot com> 2011-03-03 14:40:18 UTC --- Problem is actually only with static file scope variables. Only then the N_LCSYM and N_STSYM stabs are used. With global variables there is no problem as N_GSYM stab is used instead.