Symbols in .comm doesn't move to .sbss?

Masaki Muranaka monaka@monami-software.com
Sat May 20 07:53:00 GMT 2006


Hello all,

I have a question before I post a patch.

Gas on MIPS|Alpha targets, symbols in the common sections
should be moved to .sbss depends on its size.

I found a support in read.c / bss_alloc().
The symbol in .lcomm will be collected because bss_alloc
is called by s_lcomm. But there is no path for .comm.
So the symbols in .comm will be never moved to .sbss.

Is this a bug? or a correct behavior?


--
Masaki Muranaka
Monami software




More information about the Gdb-patches mailing list