[klibc] support llvm's lld for arm64

Use $(LD_IMAGE_BASE_OPT) instead of hardcoding --Ttext-segment,
which lld does not support. This allows either --Ttext-segment
or -image-base to be emitted based on the linker.

Signed-off-by: Andrew Delgadillo <adelg@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
1 file changed