search for: __clzsi2

Displaying 9 results from an estimated 9 matches for "__clzsi2".

Did you mean: __clzdi2
2006 Jun 26
5
__builtin_clz in klibc
Hi, I just got a bug report that klibc doesn't compile on s390: KLIBCCC usr/klibc/libgcc/__clzsi2.o KLIBCCC usr/klibc/libgcc/__clzdi2.o usr/klibc/libgcc/__clzdi2.c: In function `__clzdi2': usr/klibc/libgcc/__clzdi2.c:24: warning: implicit declaration of function `__builtin_clz' This looks like a common problem, because __builtin_clz is available since gcc 3.4, while the kernel should...
2015 Mar 06
0
[klibc:master] add-mips64-support-arch-mips32
...ibc/arch/mips64/Kbuild b/usr/klibc/arch/mips64/Kbuild index 970c0f8..6fe3b53 100644 --- a/usr/klibc/arch/mips64/Kbuild +++ b/usr/klibc/arch/mips64/Kbuild @@ -1,3 +1,14 @@ # # klibc files for mips64 # + +klib-y := ../mips/pipe.o ../mips/vfork.o setjmp.o ../mips/syscall.o + +klib-y += ../../libgcc/__clzsi2.o ../../libgcc/__ashldi3.o +klib-y += ../../libgcc/__ashrdi3.o ../../libgcc/__lshrdi3.o +klib-y += ../../libgcc/__divdi3.o ../../libgcc/__moddi3.o +klib-y += ../../libgcc/__udivdi3.o ../../libgcc/__umoddi3.o +klib-y += ../../libgcc/__udivmoddi4.o + +always := crt0.o +targets := crt0....
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel. The principle is that all .o files to be part of klibc are listed with klib-y. For each directory a klib.list file is made that specify all .o file and the final AR then adds all .o files to create libc.a. This patch introduce the infrastructure and converts x86_64 to
2006 Jun 26
0
[klibc 33/43] s390 support for klibc
.... Note that this is actually +# included from the main Makefile, and that pathnames should be +# accordingly. +# + +ifneq ("$(KLIBCARCH)", "s390x") + +KLIBCARCHOBJS = \ + arch/$(KLIBCARCHDIR)/setjmp.o \ + arch/$(KLIBCARCHDIR)/mmap.o \ + arch/$(KLIBCARCHDIR)/syscall.o \ + libgcc/__clzsi2.o \ + libgcc/__clzdi2.o \ + libgcc/__ashldi3.o \ + libgcc/__ashrdi3.o \ + libgcc/__lshrdi3.o \ + libgcc/__divdi3.o \ + libgcc/__moddi3.o \ + libgcc/__udivdi3.o \ + libgcc/__umoddi3.o \ + libgcc/__udivmoddi4.o + +else + +KLIBCARCHOBJS = \ + arch/$(KLIBCARCHDIR)/setjmp.o \ + arch/$(KLIBCARCHDIR)/mmap...
2006 Jun 26
0
[klibc 22/43] arm support for klibc
...es should be +# accordingly. +# + +KLIBCARCHOBJS = \ + arch/arm/setjmp.o \ + arch/arm/syscall.o \ + arch/arm/vfork.o \ + arch/arm/aeabi_nonsense.o \ + libgcc/__udivmodsi4.o \ + libgcc/__divdi3.o \ + libgcc/__moddi3.o \ + libgcc/__udivdi3.o \ + libgcc/__umoddi3.o \ + libgcc/__udivmoddi4.o \ + libgcc/__clzsi2.o \ + libgcc/__clzdi2.o \ + diff --git a/usr/klibc/arch/arm/__muldi3.c b/usr/klibc/arch/arm/__muldi3.c new file mode 100644 index 0000000..3fdeb2b --- /dev/null +++ b/usr/klibc/arch/arm/__muldi3.c @@ -0,0 +1,15 @@ +#include <stdint.h> + +uint64_t __muldi3(uint64_t a, uint64_t b) +{ + uint32_t...
2014 Mar 11
4
[PATCH] add mips64 support
...ibc/arch/mips64/Kbuild b/usr/klibc/arch/mips64/Kbuild index 970c0f8..972e450 100644 --- a/usr/klibc/arch/mips64/Kbuild +++ b/usr/klibc/arch/mips64/Kbuild @@ -1,3 +1,14 @@ # -# klibc files for mips64 +# klibc files for mips # + +klib-y := pipe.o vfork.o setjmp.o syscall.o + +klib-y += ../../libgcc/__clzsi2.o ../../libgcc/__ashldi3.o +klib-y += ../../libgcc/__ashrdi3.o ../../libgcc/__lshrdi3.o +klib-y += ../../libgcc/__divdi3.o ../../libgcc/__moddi3.o +klib-y += ../../libgcc/__udivdi3.o ../../libgcc/__umoddi3.o +klib-y += ../../libgcc/__udivmoddi4.o + +always := crt0.o +targets := crt0....
2006 Jun 26
2
[klibc 28/43] mips support for klibc
...pecial rules for this architecture. Note that this is actually +# included from the main Makefile, and that pathnames should be +# accordingly. +# + +KLIBCARCHOBJS = \ + arch/$(KLIBCARCH)/pipe.o \ + arch/$(KLIBCARCH)/vfork.o \ + arch/$(KLIBCARCH)/setjmp.o \ + arch/$(KLIBCARCH)/syscall.o \ + libgcc/__clzsi2.o \ + libgcc/__clzdi2.o \ + libgcc/__ashldi3.o \ + libgcc/__ashrdi3.o \ + libgcc/__lshrdi3.o \ + libgcc/__divdi3.o \ + libgcc/__moddi3.o \ + libgcc/__udivdi3.o \ + libgcc/__umoddi3.o \ + libgcc/__udivmoddi4.o + + +KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS)) + + +arc...
2006 Jun 26
0
[klibc 35/43] sparc support for klibc
...)/setjmp.o \ + arch/$(KLIBCARCH)/pipe.o \ + arch/$(KLIBCARCH)/syscall.o \ + arch/$(KLIBCARCH)/sysfork.o \ + libgcc/__ashldi3.o \ + libgcc/__ashrdi3.o \ + libgcc/__lshrdi3.o \ + libgcc/__divdi3.o \ + libgcc/__moddi3.o \ + libgcc/__udivdi3.o \ + libgcc/__umoddi3.o \ + libgcc/__udivmoddi4.o \ + libgcc/__clzsi2.o \ + libgcc/__clzdi2.o + +adir := $(obj)/arch/$(KLIBCARCH) + +$(adir)/sdiv.S: m4 := define(NAME,\`.div')define(OP,\`div')define(S,\`true') +$(adir)/srem.S: m4 := define(NAME,\`.rem')define(OP,\`rem')define(S,\`true') +$(adir)/udiv.S: m4 := define(NAME,\`.udiv')define(OP...
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: