search for: a66c76e9

Displaying 2 results from an estimated 2 matches for "a66c76e9".

Did you mean: a66c76e
2017 Dec 30
0
[PATCH] Fix sparc assembly when compiled as PIC
...pe __syscall_common,#function .align 4 __syscall_common: t 0x10 bcc 1f - 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/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,...
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