From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267272AbUG1QHj (ORCPT ); Wed, 28 Jul 2004 12:07:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267269AbUG1QHj (ORCPT ); Wed, 28 Jul 2004 12:07:39 -0400 Received: from fed1rmmtao02.cox.net ([68.230.241.37]:32498 "EHLO fed1rmmtao02.cox.net") by vger.kernel.org with ESMTP id S267276AbUG1P4p (ORCPT ); Wed, 28 Jul 2004 11:56:45 -0400 Date: Wed, 28 Jul 2004 08:56:43 -0700 From: Tom Rini To: Olaf Hering , Andrew Morton , linux-kernel@vger.kernel.org, linuxppc-dev@lists.linuxppc.org Subject: Re: [PATCH] fix zlib debug in ppc boot header Message-ID: <20040728155643.GO10891@smtp.west.cox.net> References: <20040728112222.GA7670@suse.de> <20040728152938.GM10891@smtp.west.cox.net> <20040728174213.GA7226@mars.ravnborg.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040728174213.GA7226@mars.ravnborg.org> User-Agent: Mutt/1.5.6+20040523i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 28, 2004 at 07:42:13PM +0200, Sam Ravnborg wrote: > On Wed, Jul 28, 2004 at 08:29:40AM -0700, Tom Rini wrote: > > On Wed, Jul 28, 2004 at 01:22:22PM +0200, Olaf Hering wrote: > > > > > The ppc bootloader code will not compile with zlib debug enabled. > > > printf was not defined. Tested with vmlinux.coff > > > This patch was sent out earlier. Appearently it is not possible > > > to use the generic zlib copy in linux/lib > > > > > > Signed-off-by: Olaf Hering > > > > Again, I do not want to see this. First, have you run into an occasion > > where this was needed and helpful? Second, I would much rather see > > someone just rip out zlib.c and replace it with lib/zlib_deflate than to > > try and modify the code again. > > It should be possible just to include the zlib_deflate.o file from lib/. > At least oprofile plays suchs ugly tricks. Can you think of a cleaner way to do this? -- Tom Rini http://gate.crashing.org/~trini/