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 05:55:56 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <41AFDA18.2010906@avtrex.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <41AFDA18.2010906@avtrex.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6i
David Daney wrote:
[snip]
> *** kernel/Makefile   2 Dec 2004 19:50:05 -0000       1.2
> --- kernel/Makefile   3 Dec 2004 03:00:44 -0000
> *************** obj-y         += branch.o cpu-probe.o irq.o pro
> *** 18,23 ****
> --- 18,27 ----
>                  traps.o ptrace.o reset.o semaphore.o setup.o syscall.o \
>                  sysmips.o ipc.o scall_o32.o time.o unaligned.o
>   
> + check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 
> 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
> + 
> + syscall.o signal.o : override CFLAGS += $(call check_gcc, 
> -fno-unit-at-a-time,)

What difference does this cause?

[snip]
> --- 77,84 ----
>    * Atomically swap in the new signal mask, and wait for a signal.
>    */
>   save_static_function(sys_sigsuspend);
> ! __attribute_used__ static int
> ! _sys_sigsuspend(struct pt_regs regs)

These should also use "noinline", like 2.6.


Thiemo

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