Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755412AbYLaGA1 (ORCPT ); Wed, 31 Dec 2008 01:00:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751223AbYLaGAP (ORCPT ); Wed, 31 Dec 2008 01:00:15 -0500 Received: from mx2.redhat.com ([66.187.237.31]:55706 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbYLaGAO (ORCPT ); Wed, 31 Dec 2008 01:00:14 -0500 Date: Wed, 31 Dec 2008 01:00:10 -0500 From: Dave Jones To: pl ice Cc: linux-kernel@vger.kernel.org Subject: Re: Why kernel make obj file with debug info ? Message-ID: <20081231060010.GA30169@redhat.com> Mail-Followup-To: Dave Jones , pl ice , linux-kernel@vger.kernel.org References: <41d311580812291817w7a9b77b5k8dc46d3657985476@mail.gmail.com> <41d311580812302130y659e1a2p451633d8224200bb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41d311580812302130y659e1a2p451633d8224200bb@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 629 Lines: 18 On Wed, Dec 31, 2008 at 01:30:32PM +0800, pl ice wrote: > Hi , > I found kernel use Kbuild to make obj-file,and I objdumped > these obj file and found they all had section .debug. I think they > will make building kernel use much more time.why these > obj file compile to debug version? Because you have CONFIG_DEBUG_INFO set. Dave -- http://www.codemonkey.org.uk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/