From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932435AbWDGLCU (ORCPT ); Fri, 7 Apr 2006 07:02:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932431AbWDGLCU (ORCPT ); Fri, 7 Apr 2006 07:02:20 -0400 Received: from zproxy.gmail.com ([64.233.162.207]:25150 "EHLO zproxy.gmail.com") by vger.kernel.org with ESMTP id S932435AbWDGLCT convert rfc822-to-8bit (ORCPT ); Fri, 7 Apr 2006 07:02:19 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=akRq0umVTtoA/oT97SF4CehmexQyDb+yWwXBdcYI0bcLHvgxTxV60lOmEVpoZD1U5S7HzzVehA0aRIWlxPmJ4lqxyloy7k87/MTXcdpSSQlHTEG3vU/cViQS30TQLut7GOJHPj8bcMtNyhnncV5qzJB8IsE9RfkOHGq7PFgxuZM= Message-ID: Date: Fri, 7 Apr 2006 14:02:18 +0300 From: "saeed bishara" To: "Paolo Ornati" Subject: Re: add new code section for kernel code Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, Linux-arm-toolchain@lists.arm.linux.org.uk In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <20060406151003.0ef4e637@localhost> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org I noticed the arch/arm/boot/compressed/ files compiled with ffunction-sections switch, so I added the -fno-function-sections to the EXTRA_CFLAGS of the compressed/Makefile. And this solved the problem. On 4/6/06, saeed bishara wrote: > Hi, > I've tried to port this to my kernel (2.6.12.6), but the kenel > fails to boot; it stops after Starting kernel .... > I tried to add only the CFLAGS += -ffunction-sections to the > arch/arm/Makefile, and it still fails. my tool chains is "gcc version > 3.4.4 (release) (CodeSourcery ARM 2005q3-2)" > any ideas?