linux-mips
[Top] [All Lists]

Re: [Patch] make 2.4 compile with GCC-3.4.3...

To: David Daney <ddaney@avtrex.com>
Subject: Re: [Patch] make 2.4 compile with GCC-3.4.3...
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Fri, 3 Dec 2004 07:40:17 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF4FA@avtrex-server.hq.avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <69397FFCADEFD94F8D5A0FC0FDBCBBDEF4FA@avtrex-server.hq.avtrex.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
David Daney wrote:
[snip]
> -fno-unit-at-a-time prevents GCC from rearranging things in its output thus 
> preventing
> the save_static_function() from being separated from its companion.  As far 
> as I could tell
> only syscall.c and signal.c need this.

Ah, I missed that. It's probably better to use the same way as in 2.6,
that is, to add a jump at the end of save_static_function().

> noinline was not defined for me :( so I removed it.  It seems that in 2.6 it 
> is
> just #defined to be nothing.  The alternative is to add:
>  
> #ifndef noinline
> #define noinline
> #endif
>  
> to compiler.h as is done in 2.6

Yes, that's the better idea. gcc-4.0 ff may need it.


Thiemo

<Prev in Thread] Current Thread [Next in Thread>