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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux