Displaying 7 results from an estimated 7 matches for "sharedflags".
2003 Nov 27
1
[PATCH] do not use -R on ppc to link shared objects
...LAGS) -o $@ -e main interp.o tests/$*.o $(LD_SOLIB_FLAGS) $(SOLIB) $(LIBGCC)
cp $@ $@.stripped
$(STRIP) $@.stripped
--- klibc/arch/alpha/MCONFIG
+++ klibc/arch/alpha/MCONFIG 2003/11/27 15:04:12
@@ -14,4 +14,4 @@
# 7 GB - normal binaries start at 4.5 GB, and the stack is below
# the binary.
SHAREDFLAGS = -Ttext 0x1c0000200
-
+LD_SOLIB_FLAGS = -R
--- klibc/arch/arm/MCONFIG
+++ klibc/arch/arm/MCONFIG 2003/11/27 15:04:16
@@ -24,3 +24,4 @@
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
SHAREDFLAGS = -Ttext 0x01000200
+LD_...
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
On Wed, Sep 15, 2004 at 10:48:02AM +0930, Alan Modra wrote:
> After using SHAREDFLAGS = -Ttext 0x0f000200 on ppc64 (which I see you
> suggested in another email), I see the problem you're talking about.
>
> klibc is fundamentally broken on ppc64. You just can't call into
> another chunk of code (klibc.so in this case) which has a separate toc
> and expect th...
2003 Mar 03
0
Re: [BK PATCH] klibc for 2.5.63
...nctions=0 -malign-jumps=0 -malign-loops=0)
+
+BITSIZE := 32
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
# 96 MB - normal binaries start at 128 MB
-SHAREDFLAGS = -Ttext 0x06000200
+SHAREDFLAGS := -Ttext 0x06000200
2004 Jun 23
4
CRIS port of klibc
...G Thu Jun 10 10:06:20 2004
+++ ../klibc-0.146-modified/klibc/arch/cris/MCONFIG Wed Jun 23 10:57:33
2004
@@ -15,7 +15,16 @@
# calls, and work on the memory models for this architecture
# 224 MB - normal binaries start at 0
# (lib?)gcc on cris seems to insist on producing .init and .fini sections
-SHAREDFLAGS = --section-start .init=0x0e000100
+SHAREDFLAGS = -Wl,--section-start,.init=0x0e000100
+
+# The CRIS compiler needs an -iprefix to find libgcc includes when
+# nostdinc is used. It also needs -mlinux to compile linux applications.
+INCLUDE_PREFIX = $(shell $(CC) -print-libgcc-file-name | s...
2005 Jul 29
1
move kbuild files to reflect dir structure in kernel
...(BITSIZE)
-USERCFLAGS := $(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \
- $(OPTFLAGS) $(USERWARNFLAGS)
-USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS)
-USERSTRIPFLAGS := --strip-all -R .comment -R .note
-
-USERLIBGCC := $(shell $(USERCC) --print-libgcc)
-USERSHAREDFLAGS := $(SHAREDFLAGS)
-USERCRT0 := $(objtree)/$(KLIBSRC)/arch/$(ARCH)/crt0.o
-USERLIBC := $(objtree)/$(KLIBSRC)/libc.a
-
-#
-# This indicates the location of the final version of the shared library.
-# THIS MUST BE AN ABSOLUTE PATH WITH NO FINAL SLASH.
-# Leave this empty to make it the r...
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.
2005 Jul 31
5
Shared versus static linked executables - and strip
I'm still pondering with kbuild and klibc.
Next in line was to get ipconfig support in the kernel (build wise).
A little challenge that is bigger than anticipated was to create
a shared executable. This required a far bigger rewrite of Kbuild.klibc
than originally planned. The good part is that I now managed to treat
linking of objects with single and multiple .o files almost the same.