From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263522AbUCTTuy (ORCPT ); Sat, 20 Mar 2004 14:50:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263521AbUCTTuv (ORCPT ); Sat, 20 Mar 2004 14:50:51 -0500 Received: from waste.org ([209.173.204.2]:25232 "EHLO waste.org") by vger.kernel.org with ESMTP id S263519AbUCTTuo (ORCPT ); Sat, 20 Mar 2004 14:50:44 -0500 Date: Sat, 20 Mar 2004 13:50:39 -0600 From: Matt Mackall To: Andrew Morton , linux-kernel Subject: [patch] make inflate work with gcc3.5 and 4k stacks Message-ID: <20040320195039.GT11010@waste.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Quick fix to work around gcc3.5's automatic inline and broken stack requirements calculation. Without this, I see stack overflows at boot with 4k stacks. gcc3.5 - fix inflate inlining tiny-mpm/lib/inflate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN lib/inflate.c~inflate-noinline lib/inflate.c --- tiny/lib/inflate.c~inflate-noinline 2004-03-20 13:39:18.000000000 -0600 +++ tiny-mpm/lib/inflate.c 2004-03-20 13:40:13.000000000 -0600 @@ -686,7 +686,7 @@ DEBG("