This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Symbols in .comm doesn't move to .sbss?
- From: Masaki Muranaka <monaka at monami-software dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 20 May 2006 15:20:57 +0900
- Subject: Symbols in .comm doesn't move to .sbss?
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