📄 1016.gcc34x.patch
字号:
diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/arch/mips/kernel/signal.c linuxmips-2.4.30/arch/mips/kernel/signal.c--- linuxmips-2.4.30.ref/arch/mips/kernel/signal.c 2004-03-02 19:42:00.000000000 -0800+++ linuxmips-2.4.30/arch/mips/kernel/signal.c 2005-03-29 18:31:08.000000000 -0800@@ -6,8 +6,10 @@ * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 1999 Ralf Baechle * Copyright (C) 1999 Silicon Graphics, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki */ #include <linux/config.h>+#include <linux/compiler.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h>@@ -76,7 +78,8 @@ * Atomically swap in the new signal mask, and wait for a signal. */ save_static_function(sys_sigsuspend);-static_unused int _sys_sigsuspend(struct pt_regs regs)+static int _sys_sigsuspend(struct pt_regs regs) __asm__("_sys_sigsuspend") __attribute_used__;+static int _sys_sigsuspend(struct pt_regs regs) { sigset_t *uset, saveset, newset; @@ -102,7 +105,8 @@ } save_static_function(sys_rt_sigsuspend);-static_unused int _sys_rt_sigsuspend(struct pt_regs regs)+static int _sys_rt_sigsuspend(struct pt_regs regs) __asm__("_sys_rt_sigsuspend") __attribute_used__;+static int _sys_rt_sigsuspend(struct pt_regs regs) { sigset_t *unewset, saveset, newset; size_t sigsetsize;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/arch/mips/kernel/syscall.c linuxmips-2.4.30/arch/mips/kernel/syscall.c--- linuxmips-2.4.30.ref/arch/mips/kernel/syscall.c 2004-06-09 05:49:13.000000000 -0700+++ linuxmips-2.4.30/arch/mips/kernel/syscall.c 2005-03-29 18:31:08.000000000 -0800@@ -5,6 +5,7 @@ * * Copyright (C) 1995 - 2000 by Ralf Baechle * Copyright (C) 2000 Silicon Graphics, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki * * TODO: Implement the compatibility syscalls. * Don't waste that much memory for empty entries in the syscall@@ -158,7 +159,8 @@ } save_static_function(sys_fork);-static_unused int _sys_fork(struct pt_regs regs)+static int _sys_fork(struct pt_regs regs) __asm__("_sys_fork") __attribute_used__;+static int _sys_fork(struct pt_regs regs) { int res; @@ -168,7 +170,8 @@ save_static_function(sys_clone);-static_unused int _sys_clone(struct pt_regs regs)+static int _sys_clone(struct pt_regs regs) __asm__("_sys_clone") __attribute_used__;+static int _sys_clone(struct pt_regs regs) { unsigned long clone_flags; unsigned long newsp;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/arch/mips64/kernel/signal32.c linuxmips-2.4.30/arch/mips64/kernel/signal32.c--- linuxmips-2.4.30.ref/arch/mips64/kernel/signal32.c 2004-11-11 06:59:56.000000000 -0800+++ linuxmips-2.4.30/arch/mips64/kernel/signal32.c 2005-03-29 18:31:08.000000000 -0800@@ -6,7 +6,9 @@ * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki */+#include <linux/compiler.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h>@@ -192,7 +194,8 @@ * Atomically swap in the new signal mask, and wait for a signal. */ save_static_function(sys32_sigsuspend);-static_unused int _sys32_sigsuspend(abi64_no_regargs, struct pt_regs regs)+static int _sys32_sigsuspend(abi64_no_regargs, struct pt_regs regs) __asm__("_sys32_sigsuspend") __attribute_used__;+static int _sys32_sigsuspend(abi64_no_regargs, struct pt_regs regs) { sigset32_t *uset; sigset_t newset, saveset;@@ -219,7 +222,8 @@ } save_static_function(sys32_rt_sigsuspend);-static_unused int _sys32_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs)+static int _sys32_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs) __asm__("_sys32_rt_sigsuspend") __attribute_used__;+static int _sys32_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs) { sigset32_t *uset; sigset_t newset, saveset;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/arch/mips64/kernel/signal.c linuxmips-2.4.30/arch/mips64/kernel/signal.c--- linuxmips-2.4.30.ref/arch/mips64/kernel/signal.c 2004-03-02 19:42:00.000000000 -0800+++ linuxmips-2.4.30/arch/mips64/kernel/signal.c 2005-03-29 18:31:08.000000000 -0800@@ -6,8 +6,10 @@ * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 1994 - 2000 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki */ #include <linux/config.h>+#include <linux/compiler.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h>@@ -75,7 +77,8 @@ * Atomically swap in the new signal mask, and wait for a signal. */ save_static_function(sys_rt_sigsuspend);-static_unused int _sys_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs)+static int _sys_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs) __asm__("_sys_rt_sigsuspend") __attribute_used__;+static int _sys_rt_sigsuspend(abi64_no_regargs, struct pt_regs regs) { sigset_t *unewset, saveset, newset; size_t sigsetsize;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/arch/mips64/kernel/syscall.c linuxmips-2.4.30/arch/mips64/kernel/syscall.c--- linuxmips-2.4.30.ref/arch/mips64/kernel/syscall.c 2004-06-09 05:49:15.000000000 -0700+++ linuxmips-2.4.30/arch/mips64/kernel/syscall.c 2005-03-29 18:31:08.000000000 -0800@@ -6,7 +6,9 @@ * Copyright (C) 1995 - 2000, 2001 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 MIPS Technologies, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki */+#include <linux/compiler.h> #include <linux/errno.h> #include <linux/linkage.h> #include <linux/mm.h>@@ -151,7 +153,8 @@ } save_static_function(sys_fork);-static_unused int _sys_fork(abi64_no_regargs, struct pt_regs regs)+static int _sys_fork(abi64_no_regargs, struct pt_regs regs) __asm__("_sys_fork") __attribute_used__;+static int _sys_fork(abi64_no_regargs, struct pt_regs regs) { int res; @@ -160,7 +163,8 @@ } save_static_function(sys_clone);-static_unused int _sys_clone(abi64_no_regargs, struct pt_regs regs)+static int _sys_clone(abi64_no_regargs, struct pt_regs regs) __asm__("_sys_clone") __attribute_used__;+static int _sys_clone(abi64_no_regargs, struct pt_regs regs) { unsigned long clone_flags; unsigned long newsp;diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/asm-mips/ptrace.h linuxmips-2.4.30/include/asm-mips/ptrace.h--- linuxmips-2.4.30.ref/include/asm-mips/ptrace.h 2003-11-11 08:48:25.000000000 -0800+++ linuxmips-2.4.30/include/asm-mips/ptrace.h 2005-03-29 18:31:08.000000000 -0800@@ -4,6 +4,7 @@ * for more details. * * Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000 by Ralf Baechle+ * Copyright (C) 2004 Maciej W. Rozycki * * Machine dependent structs and defines to help the user use * the ptrace system call.@@ -64,12 +65,10 @@ "sw\t$22,"__str(PT_R22)"($29)\n\t" \ "sw\t$23,"__str(PT_R23)"($29)\n\t" \ "sw\t$30,"__str(PT_R30)"($29)\n\t" \+ "j\t_" #symbol "\n\t" \ ".end\t" #symbol "\n\t" \ ".size\t" #symbol",. - " #symbol) -/* Used in declaration of save_static functions. */-#define static_unused static __attribute__((unused))- #endif /* !__ASSEMBLY__ */ /* Arbitrarily choose the same ptrace numbers as used by the Sparc code. */diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/include/asm-mips64/ptrace.h linuxmips-2.4.30/include/asm-mips64/ptrace.h--- linuxmips-2.4.30.ref/include/asm-mips64/ptrace.h 2004-01-03 16:16:35.000000000 -0800+++ linuxmips-2.4.30/include/asm-mips64/ptrace.h 2005-03-29 18:31:08.000000000 -0800@@ -5,6 +5,7 @@ * * Copyright (C) 1994, 95, 96, 97, 98, 99, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc.+ * Copyright (C) 2004 Maciej W. Rozycki */ #ifndef _ASM_PTRACE_H #define _ASM_PTRACE_H@@ -61,12 +62,10 @@ "sd\t$22,"__str(PT_R22)"($29)\n\t" \ "sd\t$23,"__str(PT_R23)"($29)\n\t" \ "sd\t$30,"__str(PT_R30)"($29)\n\t" \+ "j\t_" #symbol "\n\t" \ ".end\t" #symbol "\n\t" \ ".size\t" #symbol",. - " #symbol) -/* Used in declaration of save_static functions. */-#define static_unused static __attribute__((unused))- #define abi64_no_regargs \ unsigned long __dummy0, \ unsigned long __dummy1, \diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linuxmips-2.4.30.ref/README.1016.gcc34x.patch linuxmips-2.4.30/README.1016.gcc34x.patch--- linuxmips-2.4.30.ref/README.1016.gcc34x.patch 1969-12-31 16:00:00.000000000 -0800+++ linuxmips-2.4.30/README.1016.gcc34x.patch 2005-03-29 18:31:46.000000000 -0800@@ -0,0 +1,18 @@+Feature:+--------+For using newer version of gcc (3.4.x).++Prerequisite patch numbers:+---------------------------+none++Primary author:+---------------+YH Lin++Related to which chip version SMP863x x=?+-----------------------------------------+all++(linux patches) which CONFIG_... are provided:+----------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -