Author: jim Date: 2005-09-12 20:52:08 -0600 (Mon, 12 Sep 2005) New Revision: 1115
Added: trunk/linux-libc-headers/linux-libc-headers-2.6.12.0-mips_tls-1.patch Modified: trunk/ Log: [EMAIL PROTECTED]: jim | 2005-09-12 18:04:19 -0700 Added: linux-libc-headers-2.6.12.0-mips_tls-1.patch Property changes on: trunk ___________________________________________________________________ Name: svk:merge - cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1237 + cc2644d5-6cf8-0310-b111-c40428001e49:/patches:1239 Added: trunk/linux-libc-headers/linux-libc-headers-2.6.12.0-mips_tls-1.patch =================================================================== --- trunk/linux-libc-headers/linux-libc-headers-2.6.12.0-mips_tls-1.patch 2005-09-13 02:33:28 UTC (rev 1114) +++ trunk/linux-libc-headers/linux-libc-headers-2.6.12.0-mips_tls-1.patch 2005-09-13 02:52:08 UTC (rev 1115) @@ -0,0 +1,97 @@ +Submitted By: Jim Gifford (patches at jg555 dot com) +Date: 2005-09-12 +Initial Package Version: 2.6.12.0 +Origin: http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/buildroot/toolchain/kernel-headers/linux-libc-headers-2.6.12.0-mips-nptl.patch?rev=11104&view=auto +Upstream Status: Unknown +Description: Adds TLS Support to Kernel Headers for MIPS + +diff -Naur linux-libc-headers-2.6.12.0.orig/include/asm-mips/inst.h linux-libc-headers-2.6.12.0/include/asm-mips/inst.h +--- linux-libc-headers-2.6.12.0.orig/include/asm-mips/inst.h 2004-10-31 19:54:20.000000000 +0000 ++++ linux-libc-headers-2.6.12.0/include/asm-mips/inst.h 2005-09-12 23:57:11.000000000 +0000 +@@ -28,7 +28,7 @@ + sdl_op, sdr_op, swr_op, cache_op, + ll_op, lwc1_op, lwc2_op, pref_op, + lld_op, ldc1_op, ldc2_op, ld_op, +- sc_op, swc1_op, swc2_op, major_3b_op, /* Opcode 0x3b is unused */ ++ sc_op, swc1_op, swc2_op, rdhwr_op, + scd_op, sdc1_op, sdc2_op, sd_op + }; + +@@ -62,10 +62,10 @@ + spimi_op, unused_rt_op_0x05, unused_rt_op_0x06, unused_rt_op_0x07, + tgei_op, tgeiu_op, tlti_op, tltiu_op, + teqi_op, unused_0x0d_rt_op, tnei_op, unused_0x0f_rt_op, +- bltzal_op, bgezal_op, bltzall_op, bgezall_op +- /* +- * The others (0x14 - 0x1f) are unused. +- */ ++ bltzal_op, bgezal_op, bltzall_op, bgezall_op, ++ rt_op_0x14, rt_op_0x15, rt_op_0x16, rt_op_0x17, ++ rt_op_0x18, rt_op_0x19, rt_op_0x1a, rt_op_0x1b, ++ bposge32_op, rt_op_0x1d, rt_op_0x1e, rt_op_0x1f + }; + + /* +diff -Naur linux-libc-headers-2.6.12.0.orig/include/asm-mips/unistd.h linux-libc-headers-2.6.12.0/include/asm-mips/unistd.h +--- linux-libc-headers-2.6.12.0.orig/include/asm-mips/unistd.h 2005-07-06 00:17:29.000000000 +0000 ++++ linux-libc-headers-2.6.12.0/include/asm-mips/unistd.h 2005-09-12 23:57:11.000000000 +0000 +@@ -303,16 +303,17 @@ + #define __NR_add_key (__NR_Linux + 280) + #define __NR_request_key (__NR_Linux + 281) + #define __NR_keyctl (__NR_Linux + 282) ++#define __NR_set_thread_area (__NR_Linux + 283) + + /* + * Offset of the last Linux o32 flavoured syscall + */ +-#define __NR_Linux_syscalls 282 ++#define __NR_Linux_syscalls 283 + + #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */ + + #define __NR_O32_Linux 4000 +-#define __NR_O32_Linux_syscalls 282 ++#define __NR_O32_Linux_syscalls 283 + + #if _MIPS_SIM == _MIPS_SIM_ABI64 + +@@ -562,16 +563,17 @@ + #define __NR_add_key (__NR_Linux + 239) + #define __NR_request_key (__NR_Linux + 240) + #define __NR_keyctl (__NR_Linux + 241) ++#define __NR_set_thread_area (__NR_Linux + 242) + + /* + * Offset of the last Linux 64-bit flavoured syscall + */ +-#define __NR_Linux_syscalls 241 ++#define __NR_Linux_syscalls 242 + + #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 */ + + #define __NR_64_Linux 5000 +-#define __NR_64_Linux_syscalls 241 ++#define __NR_64_Linux_syscalls 242 + + #if _MIPS_SIM == _MIPS_SIM_NABI32 + +@@ -825,16 +827,17 @@ + #define __NR_add_key (__NR_Linux + 243) + #define __NR_request_key (__NR_Linux + 244) + #define __NR_keyctl (__NR_Linux + 245) ++#define __NR_set_thread_area (__NR_Linux + 246) + + /* + * Offset of the last N32 flavoured syscall + */ +-#define __NR_Linux_syscalls 245 ++#define __NR_Linux_syscalls 246 + + #endif /* _MIPS_SIM == _MIPS_SIM_NABI32 */ + + #define __NR_N32_Linux 6000 +-#define __NR_N32_Linux_syscalls 245 ++#define __NR_N32_Linux_syscalls 246 + + #ifndef __ASSEMBLY__ + -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
