Displaying 1 result from an estimated 1 matches for "fdd6c92c".
2020 Aug 29
0
[klibc:riscv64-enable-relax] riscv64: Make linker relaxation work and enable it
...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	  += -Os -fo...