Displaying 3 results from an estimated 3 matches for "svr4abippc".
2005 Dec 08
0
Fix segfault on ppc
...nitialised to any particular value, and the termination function
pointer is not provided at all.
I still have a couple more archs to test, don't rush out 1.1.5 yet. ;)
--- klibc-1.1.3.orig/klibc/arch/ppc/crt0.S
+++ klibc-1.1.3/klibc/arch/ppc/crt0.S
@@ -12,9 +12,12 @@
        /*
         * the SVR4abippc.pdf specifies r7 as a pointer to
         * a termination function pointer.
-        * It is unused on Linux.
+         * However, Section 8.4.1 of the LSB API docs say that
+         * The value to be placed into register r7, the termination
+         * function pointer, is not passed to the proce...
2006 Jun 26
0
[klibc 31/43] ppc support for klibc
...klibc/arch/ppc/crt0.S b/usr/klibc/arch/ppc/crt0.S
new file mode 100644
index 0000000..85b6dca
--- /dev/null
+++ b/usr/klibc/arch/ppc/crt0.S
@@ -0,0 +1,23 @@
+#
+# arch/ppc/crt0.S
+#
+
+	.text
+	.align 4
+	.type _start, at function
+	.globl _start
+_start:
+	stwu	1,-16(1)
+	addi	3,1,16
+	/*
+	 * the SVR4abippc.pdf specifies r7 as a pointer to
+	 * a termination function point
+	 * However, Section 8.4.1 of the LSB API docs say that
+	 * The value to be placed into register r7, the termination
+	 * function pointer, is not passed to the process.
+	 * So we stub it out, instead.
+	 */
+	li	4,0
+	bl	__libc_...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received.  In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: