Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756186AbZDVRQ4 (ORCPT ); Wed, 22 Apr 2009 13:16:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754066AbZDVRQp (ORCPT ); Wed, 22 Apr 2009 13:16:45 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:43597 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754128AbZDVRQo (ORCPT ); Wed, 22 Apr 2009 13:16:44 -0400 Date: Wed, 22 Apr 2009 13:13:47 -0400 (EDT) From: Tim Abbott To: Masami Hiramatsu cc: Anders Kaseorg , =?ISO-8859-15?Q?Am=E9rico_Wang?= , Linus Torvalds , Linux kernel mailing list , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold Subject: Re: [PATCH v2 0/4] Add support for compiling with -ffunction-sections -fdata-sections In-Reply-To: <49EF01B4.6000406@redhat.com> Message-ID: References: <1238973278-31735-1-git-send-email-tabbott@mit.edu> <20090421140228.GC3303@hack> <49EF01B4.6000406@redhat.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 16 On Wed, 22 Apr 2009, Masami Hiramatsu wrote: > Would you know actual version of gcc from which supports the combination of > -ffunction-sections and -g? The warning about combining -ffunction-sections and -g was disabled on the ELF target in gcc 2.95 (released August 1999). I think that combining these options worked fine on ELF before then and the change in 1999 was just disabling the warning on a target that it didn't apply to. -Tim Abbott -- 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/