Displaying 11 results from an estimated 11 matches for "interp_o".
2019 Jan 20
0
[klibc:master] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined
...ary
+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,$(SOLIB))
SOHASH := $(call objectify,$(SOHASH))
@@ -181,10 +184,1...
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
..._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
-interp.o: interp.S $(SOLIB).hash
+$(INTERP_O): interp.S $(SOLIB...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...s
+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,$(SOLIB))
SOHASH := $(call objectify,$(SOHASH))
CRT0 := $(c...
2006 May 11
0
[patch] klibc: merge s390 and s390x
...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/$(KLIBCARCH)/crt0.o
+targets += arch/$(KLIBCARCHDIR)/crt0.o
targets += $(libc-y) $(KLIBCARCHOBJS)
#...
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
...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/$(KLIBCARCH)/crt0.o
+targets += arch/$(KLIBCARCHDIR)/crt0.o
targets += $(libc-y) $(KLIBCARCHOBJS)
#...
2020 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
...@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
+ -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Jul 25
0
[klibc:master] Revert " Kbuild: Tell gas we don't want executable stacks"
...@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
- -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Jul 25
0
[klibc:master] Kbuild: Add a per-architecture option to disable exectable stacks
...quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
+ $(KLIBCSTACKFLAGS) \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
...@ quiet_cmd_interp = BUILD $@
cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \
-DLIBDIR=\"$(SHLIBDIR)\" \
-DSOHASH=\"$(SOLIBHASH)\" \
- -Wa,--noexecstack \
-c -o $@ $<
$(INTERP_O): $(obj)/interp.S $(SOLIB).hash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.zytor.com/archives/klibc/attachments/20200429/74c9f900/attachment.sig>
2006 Jun 26
0
[klibc 32/43] ppc64 support for klibc
...+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames 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...
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: