search for: __syscall_forkish

Displaying 6 results from an estimated 6 matches for "__syscall_forkish".

2017 Dec 30
0
[PATCH] Fix sparc assembly when compiled as PIC
.../usr/klibc/arch/sparc/sysfork.S b/usr/klibc/arch/sparc/sysfork.S index a66c76e9..3787b944 100644 --- a/usr/klibc/arch/sparc/sysfork.S +++ b/usr/klibc/arch/sparc/sysfork.S @@ -8,6 +8,8 @@ * Common system-call stub; %g1 already set to syscall number */ +#include <machine/asm.h> + .globl __syscall_forkish .type __syscall_forkish,#function .align 4 @@ -16,8 +18,8 @@ __syscall_forkish: sub %o1, 1, %o1 bcc,a 1f and %o0, %o1, %o0 - sethi %hi(errno), %g4 - or %g4, %lo(errno), %g4 + PIC_PROLOGUE(%g1,%g4) + SET(errno,%g1,%g4) st %o0,[%g4] mov -1, %o0 1: diff --git a/usr/klibc/arch/s...
2019 Jan 18
0
[klibc:master] Fix sparc assembly when compiled as PIC
...a/usr/klibc/arch/sparc/sysfork.S b/usr/klibc/arch/sparc/sysfork.S index a66c76e..3787b94 100644 --- a/usr/klibc/arch/sparc/sysfork.S +++ b/usr/klibc/arch/sparc/sysfork.S @@ -8,6 +8,8 @@ * Common system-call stub; %g1 already set to syscall number */ +#include <machine/asm.h> + .globl __syscall_forkish .type __syscall_forkish,#function .align 4 @@ -16,8 +18,8 @@ __syscall_forkish: sub %o1, 1, %o1 bcc,a 1f and %o0, %o1, %o0 - sethi %hi(errno), %g4 - or %g4, %lo(errno), %g4 + PIC_PROLOGUE(%g1,%g4) + SET(errno,%g1,%g4) st %o0,[%g4] mov -1, %o0 1: diff --git a/usr/klibc/arch/s...
2017 Dec 30
6
building debug version of klibc
Hello! Can someone please help me in building debug version of klibc ? I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but failed to build it with debug info added "-g" to HOSTCFLAGS in Makefile, but $ make -j KLIBCKERNELSRC=`pwd`/../linux-2.6/usr still strips every debug symbol , and i'm failed to change scripts/Kbuild.klibc and Makefile to remove strip
2006 Jun 26
0
[klibc 36/43] sparc64 support for klibc
...@@ -0,0 +1,26 @@ +/* + * arch/sparc64/sysfork.S + * + * The fork and vfork system calls are special on sparc[64]: + * they return the "other process" pid in %o0 and the + * "is child" flag in %o1 + * + * Common system-call stub; %g1 already set to syscall number + */ + + .globl __syscall_forkish + .type __syscall_forkish,#function + .align 4 +__syscall_forkish: + t 0x6d + sub %o1, 1, %o1 + bcc,a %xcc, 1f + and %o0, %o1, %o0 + sethi %hi(errno), %g4 + or %g4, %lo(errno), %g4 + st %o0, [%g4] + retl + mov -1, %o0 +1: + retl + nop diff --git a/usr/klibc/arch/sparc64/sysstub....
2006 Jun 26
0
[klibc 35/43] sparc support for klibc
....S @@ -0,0 +1,25 @@ +/* + * arch/sparc/sysfork.S + * + * The fork and vfork system calls are special on sparc[64]: + * they return the "other process" pid in %o0 and the + * "is child" flag in %o1 + * + * Common system-call stub; %g1 already set to syscall number + */ + + .globl __syscall_forkish + .type __syscall_forkish,#function + .align 4 +__syscall_forkish: + t 0x10 + sub %o1, 1, %o1 + bcc,a 1f + and %o0, %o1, %o0 + sethi %hi(errno), %g4 + or %g4, %lo(errno), %g4 + st %o0,[%g4] + mov -1, %o0 +1: + retl + nop diff --git a/usr/klibc/arch/sparc/sysstub.ph b/usr/klibc/arc...
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: