Displaying 3 results from an estimated 3 matches for "9bc7bd24".
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
...lways := crt0.o _main.o
+targets := crt0.o _main.o
klib-y := setjmp.o syscall.o
+
+install-rule:
+ $(Q)$(shell $(install-data) $(call objectify,_main.o) \
+ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib)
diff --git a/usr/klibc/arch/riscv64/MCONFIG b/usr/klibc/arch/riscv64/MCONFIG
index 9bc7bd24..fdd6c92c 100644
--- a/usr/klibc/arch/riscv64/MCONFIG
+++ b/usr/klibc/arch/riscv64/MCONFIG
@@ -7,9 +7,6 @@
# accordingly.
#
-# We should get klibc.so and the executables to agree on what gp
-# should be. For now, disable gp-relative addressing.
-KLIBCLDFLAGS = --no-relax
KLIBCOPTFLAGS...
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
...lways := crt0.o _main.o
+targets := crt0.o _main.o
klib-y := setjmp.o syscall.o
+
+install-rule:
+ $(Q)$(shell $(install-data) $(call objectify,_main.o) \
+ $(INSTALLROOT)$(INSTALLDIR)/$(KLIBCCROSS)lib)
diff --git a/usr/klibc/arch/riscv64/MCONFIG b/usr/klibc/arch/riscv64/MCONFIG
index 9bc7bd24..34061086 100644
--- a/usr/klibc/arch/riscv64/MCONFIG
+++ b/usr/klibc/arch/riscv64/MCONFIG
@@ -7,9 +7,6 @@
# accordingly.
#
-# We should get klibc.so and the executables to agree on what gp
-# should be. For now, disable gp-relative addressing.
-KLIBCLDFLAGS = --no-relax
KLIBCOPTFLAGS...
2020 Jul 25
0
[klibc:master] Kbuild: support clang's lld
...s are limited
# to +/- 16 MB
-KLIBCSHAREDFLAGS = -Ttext-segment 0x0f000000
+KLIBCSHAREDFLAGS = $(LD_IMAGE_BASE_OPT) 0x0f000000
# The asm include files live in asm-powerpc
KLIBCASMARCH = powerpc
diff --git a/usr/klibc/arch/riscv64/MCONFIG b/usr/klibc/arch/riscv64/MCONFIG
index 35df1f5f..9bc7bd24 100644
--- a/usr/klibc/arch/riscv64/MCONFIG
+++ b/usr/klibc/arch/riscv64/MCONFIG
@@ -17,7 +17,7 @@ endif
KLIBCBITSIZE = 64
# Normal binaries start at 64 KB, so start the libary at 2 MB.
-KLIBCSHAREDFLAGS =-Ttext-segment 0x00200000
+KLIBCSHAREDFLAGS = $(LD_IMAGE_BASE_OPT) 0x00200000
#...