From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750807AbWDLFfB (ORCPT ); Wed, 12 Apr 2006 01:35:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750808AbWDLFfB (ORCPT ); Wed, 12 Apr 2006 01:35:01 -0400 Received: from [4.79.56.4] ([4.79.56.4]:23979 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S1750807AbWDLFfA (ORCPT ); Wed, 12 Apr 2006 01:35:00 -0400 Subject: Re: add new code section for kernel code From: Arjan van de Ven To: saeed bishara Cc: Dimitry Andric , Paolo Ornati , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.arm.linux.org.uk, Linux-arm-toolchain@lists.arm.linux.org.uk In-Reply-To: References: <20060406151003.0ef4e637@localhost> <1144422864.3117.0.camel@laptopd505.fenrus.org> <20060407154349.GB31458@flint.arm.linux.org.uk> <20060409203046.GA24461@flint.arm.linux.org.uk> <443A2196.5090306@andric.com> Content-Type: text/plain Date: Wed, 12 Apr 2006 07:34:17 +0200 Message-Id: <1144820057.3089.2.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2006-04-11 at 17:49 +0300, saeed bishara wrote: > inorder to reduce image size of the kenrel I added the --gc-secions > flag to the LDFALGS_vmlinux, the image size reduced by 120KB (out of > 1.8M), but the kernel failed to boot ( after the uncompression stage). > any idea? > I see that the fvr arch aleady using those flags. there are some known binutils "issues" (or better "interactions") that make this not yet practical.