From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1924 invoked by alias); 20 May 2006 06:21:06 -0000 Received: (qmail 1916 invoked by uid 22791); 20 May 2006 06:21:06 -0000 X-Spam-Check-By: sourceware.org Received: from p12018-ipbffx02marunouchi.tokyo.ocn.ne.jp (HELO mail.pizzafactory.jp) (222.147.75.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 20 May 2006 06:21:02 +0000 Received: from [192.168.0.220] (unknown [192.168.0.220]) by mail.pizzafactory.jp (Postfix) with ESMTP id 545F719F5771 for ; Sat, 20 May 2006 15:20:59 +0900 (JST) Mime-Version: 1.0 (Apple Message framework v750) Content-Transfer-Encoding: 7bit Message-Id: <63EE13CB-5DAC-43CD-8AC9-38009C20A7FF@monami-software.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: gdb-patches@sourceware.org From: Masaki Muranaka Subject: Symbols in .comm doesn't move to .sbss? Date: Sat, 20 May 2006 07:53:00 -0000 X-Mailer: Apple Mail (2.750) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00425.txt.bz2 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