[PATCH] arch/ppc/kernel/misc.S for LFS support, etc.


Subject: [PATCH] arch/ppc/kernel/misc.S for LFS support, etc.
From: Chris Bednar (cjb@AdvancedDataSolutions.com)
Date: Sat Dec 02 2000 - 21:23:22 MST


    Hi all

    For anyone interested, LFS support looks to work pretty well
with paulus' pmac kernel (I'm using the test10 version from Nov 3;
probably the best birthday present I got this year ;) with the patch
included at end. Nothing clever there; just turning the stat64 etc.
sys calls on in arch/ppc/kernel/misc.S .

   Just in case it matters, I'm also using modified versions of:

  glibc-2.2-5 from Rawhide (mostly just had to kill -O3 in CFLAGS)
  gcc-2.95.2-1i from Yellowdog Champion 1.2 (needs a couple of patches for glibc-2.2)

I'll get around to making this and some other stuff available
(LFS-enabled cpio, XFree86-4.0.1, rpm-4.x, blah blah) if anyone's
interested.

----
Chris J. Bednar   <http://optics.tamu.edu/~bednar/>
Director, Distributed Computing Product Group
http://AdvancedDataSolutions.com/
-------------------------------------------
--- linux-2.4.0-test10-pmac-03nov00/arch/ppc/kernel/misc.S.lfscalls	Fri Oct 13 11:48:48 2000
+++ linux-2.4.0-test10-pmac-03nov00/arch/ppc/kernel/misc.S	Sat Dec  2 14:07:57 2000
@@ -1286,11 +1286,11 @@
 	.long sys_getrlimit	/* 190 */
 	.long sys_ni_syscall		/* 191 */	/* Unused */
 	.long sys_ni_syscall		/* 192 - reserved - mmap2 */
-	.long sys_ni_syscall		/* 193 - reserved - truncate64 */
-	.long sys_ni_syscall		/* 194 - reserved - ftruncate64 */
-	.long sys_ni_syscall		/* 195 - reserved - stat64 */
-	.long sys_ni_syscall		/* 196 - reserved - lstat64 */
-	.long sys_ni_syscall		/* 197 - reserved - fstat64 */
+	.long sys_truncate64		/* 193 - reserved - truncate64 */
+	.long sys_ftruncate64		/* 194 - reserved - ftruncate64 */
+	.long sys_stat64			/* 195 - reserved - stat64 */
+	.long sys_lstat64		/* 196 - reserved - lstat64 */
+	.long sys_fstat64		/* 197 - reserved - fstat64 */
 	.long sys_pciconfig_read	/* 198 */
 	.long sys_pciconfig_write 	/* 199 */
 	.long sys_pciconfig_iobase 	/* 200 */



This archive was generated by hypermail 2a24 : Sat Dec 02 2000 - 21:21:18 MST