Displaying 10 results from an estimated 10 matches for "sohash".
Did you mean:
shash
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...t-lib := ../lib.a
clean-dirs := static shared
# install binary
+ifdef KLIBCSHAREDFLAGS
install-y := $(shared-y)
+else
+install-y := $(static-y)
+endif
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index b19f3ab..9efbb4e 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -91,7 +91,10 @@ SOHASH := klibc.so
CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
-always := $(LIBC) $(SOLIB) $(SOHASH) $(INTERP_O)
+always := $(LIBC)
+ifdef KLIBCSHAREDFLAGS
+always += $(SOLIB) $(SOHASH) $(INTERP_O)
+endif
LIBC := $(call objectify,$(LIBC))
SOLIB := $(call objectify,$(S...
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
...ll -R .comment -R .note
+OBJCOPY = $(CROSS)objcopy
HOST_CC = gcc
HOST_CFLAGS = -g -O
diff -urpN klibc-0.173/klibc/Makefile klibc/klibc/Makefile
--- klibc-0.173/klibc/Makefile 2004-08-26 15:33:41.000000000 +0930
+++ klibc/klibc/Makefile 2004-09-15 11:54:06.301925693 +0930
@@ -57,6 +57,8 @@ SOHASH = klibc.so
CRT0 = crt0.o
LIB = libc.a
+INTERP_O = interp.o
+
all: tests $(CRT0) $(LIB) $(SOLIB) klibc.so
# Add any architecture-specific rules
@@ -109,7 +111,7 @@ $(SOHASH): $(SOLIB) $(SOLIB).hash
rm -f klibc-??????????????????????.so
ln -f $@ klibc-`cat $(SOLIB).hash`.so
-int...
2005 Jul 26
2
[PATCH] better kbuild integration
...+= klibc.so libc.so.hash
hostprogs-y := sha1hash
+clean-files += klibc-???????????????????????????.so
quiet_cmd_solibhash = HASH $@
cmd_solibhash = $(USERNM) $< | egrep '^[0-9a-fA-F]+ [ADRTW] ' | \
@@ -129,7 +130,7 @@ $(SOLIB).hash: $(SOLIB) $(obj)/sha1hash
quiet_cmd_sohash = GEN $@
cmd_sohash = cat $< > $@; \
$(USERSTRIP) $(USERSTRIPFLAGS) $@; \
- rm -f $(obj)/klibc-??????????????????????.so; \
+ rm -f $(obj)/klibc-????????...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...LE
+klib-$(CONFIG_KLIBC_ZLIB) += zlib/
+# arch specific .o files
+klib-y += arch/$(KLIBCARCHDIR)/
#####
# Add any architecture-specific rules
@@ -72,14 +68,14 @@ include $(obj)/arch/$(KLIBCARCHDIR)/Make
#####
# Shared definitions
-LIB := libc.a
+LIBC := libc.a
SOLIB := libc.so
SOHASH := klibc.so
CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
-always := $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
-LIB := $(call objectify,$(LIB))
+always := $(LIBC) $(SOLIB) $(SOHASH) $(INTERP_O)
+LIBC := $(call objectify,$(LIBC))
SOLIB := $(call objectify,$(...
2003 Oct 04
0
klibc: kbuild improvements
...le 1.8 vs edited =====
--- 1.8/usr/lib/Makefile Mon May 26 06:50:43 2003
+++ edited/usr/lib/Makefile Fri Oct 3 23:33:54 2003
@@ -28,11 +28,6 @@
inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \
send.o recv.o
-SOLIB = libc.so
-SOHASH = klibc.so
-
-CRT0 = crt0.o
-LIB = libc.a
# Add any architecture-specific rules
include $(src)/arch/$(ARCH)/Makefile.inc
@@ -44,73 +39,76 @@
quiet_cmd_objs.mk = GEN $@
cmd_objs.mk = $(PERL) $(word 2,$^) $(ARCH) $(obj) $< > $@
+clean-files += syscalls.mk syscalls/*.[c...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...1 08:10:07.000000000 +0200
@@ -68,14 +68,14 @@ KLIBCCFLAGS += -DDYNAMIC_CRC_TABLE
#####
# Add any architecture-specific rules
-include $(obj)/arch/$(KLIBCARCH)/Makefile.inc
+include $(obj)/arch/$(KLIBCARCHDIR)/Makefile.inc
#####
# Shared definitions
LIB := libc.a
SOLIB := libc.so
SOHASH := klibc.so
-CRT0 := arch/$(KLIBCARCH)/crt0.o
+CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
always := $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
@@ -87,7 +87,7 @@ INTERP_O := $(call objectify,$(INTERP_O)
SOLIBHASH = $(shell cat $(SOLIB).hash)
-targets += arch/$(...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...4 13:02:18.000000000 +0200
@@ -68,14 +68,14 @@ KLIBCCFLAGS += -DDYNAMIC_CRC_TABLE
#####
# Add any architecture-specific rules
-include $(obj)/arch/$(KLIBCARCH)/Makefile.inc
+include $(obj)/arch/$(KLIBCARCHDIR)/Makefile.inc
#####
# Shared definitions
LIB := libc.a
SOLIB := libc.so
SOHASH := klibc.so
-CRT0 := arch/$(KLIBCARCH)/crt0.o
+CRT0 := arch/$(KLIBCARCHDIR)/crt0.o
INTERP_O := interp.o
always := $(CRT0) $(LIB) $(SOLIB) $(SOHASH) $(INTERP_O)
@@ -87,7 +87,7 @@ INTERP_O := $(call objectify,$(INTERP_O)
SOLIBHASH = $(shell cat $(SOLIB).hash)
-targets += arch/$(...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...mes should be
+# accordingly.
+#
+
+KLIBCARCHOBJS = \
+ arch/$(KLIBCARCH)/setjmp.o \
+ arch/$(KLIBCARCH)/syscall.o
+
+KLIBCARCHSOOBJS = $(patsubst %.o,%.lo,$(KLIBCARCHOBJS))
+
+INTERP_O = interp1.o
+
+interp.o: interp1.o klibc.got
+ $(LD) $(KLIBCLDFLAGS) -r -o $@ interp1.o klibc.got
+
+klibc.got: $(SOHASH)
+ $(OBJCOPY) -j .got $< $@
+
+archclean:
+ rm -f klibc.got
diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
new file mode 100644
index 0000000..a7776a1
--- /dev/null
+++ b/usr/klibc/arch/ppc64/crt0.S
@@ -0,0 +1,32 @@
+#
+# arch/ppc64/crt0.S
+#
+# void _start(void)
+# {
+#...
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: