klibc-bot for Bill Wendling
2020-Aug-20 19:51 UTC
[klibc] [klibc:master] use "--just-symbols" for compatibility with LLD
Commit-ID: c1b82baa78dd67e05897cd53f082c64a9feba7d2 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c1b82baa78dd67e05897cd53f082c64a9feba7d2 Author: Bill Wendling <morbo at google.com> AuthorDate: Tue, 18 Aug 2020 14:04:40 -0700 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Thu, 20 Aug 2020 20:32:13 +0100 [klibc] use "--just-symbols" for compatibility with LLD LLD uses "-R" as an alias for "-rpath", while LD uses "-R" as an alias for "--just-symbols". Use "--just-symbols" so that it's correctly supported for both linkers. See Linux commit 3c1918c8f54166598195d938564072664a8275b1 (riscv: fix vdso build with lld). Signed-off-by: Bill Wendling <morbo at google.com> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 82c74ea7..bfe6edb3 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -361,7 +361,7 @@ quiet_cmd_ld-shared = KLIBCLD $@ $(KLIBCEMAIN) $(KLIBCCRTSHARED) \ --start-group \ $(link-deps) \ - -R $(KLIBCLIBCSHARED) \ + --just-symbols $(KLIBCLIBCSHARED) \ $(KLIBCLIBGCC) \ --end-group ; \ cp -f $@ $@.g ; \
Possibly Parallel Threads
- [PATCH] use "--just-symbols" for compatibility with LLD
- [klibc 19/43] klibc basic build infrastructure
- [klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
- [klibc:master] Kbuild: add support for clang builds
- [kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds