[klibc] [PATCH] support llvm's lld
sdf at fomichev.me
Fri Feb 7 09:57:41 PST 2020
On 01/27, Stanislav Fomichev wrote:
> When using clang+llvm and lld, I get the following error:
> ld.lld: error: -Ttext-segment is not supported. Use --image-base if you intend to set the base address
> Let's test whether linker is lld and use --image-base instead of
> -Ttext-segment. See llvm's rationale for not supporting -Ttext-segment:
> Note that I've tested x86_64 only, everything else is just a copy-paste.
It's been about two weeks, so gentle ping:
Does the patch look reasonable? Any comments?
More information about the klibc