From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 96CEADDDEE for ; Fri, 2 May 2008 21:54:26 +1000 (EST) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: [PATCH] [POWERPC] Fix bootwrapper builds with newer gcc versions Date: Fri, 2 May 2008 13:54:15 +0200 To: Kumar Gala Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > GCC 4.4.x looks to be adding support for generating out-of-line > register > saves/restores based on: > > http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01678.html > > This breaks the bootwrapper as we'd need to link with libgcc to get the > implementation of the register save/restores. > > To workaround this issue, we just stole the save/restore code from gcc > and simplified it down for our needs (integer only). Why can't we link with libgcc, instead? Segher