commit | 95a3123c94abc28c65f33c9589693dde9f140fe1 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Sat Aug 29 22:29:52 2020 +0100 |
committer | Ben Hutchings <ben@decadent.org.uk> | Sat Aug 29 22:53:10 2020 +0100 |
tree | 54c46bd2685740885711f4b7f1641b489bef0335 | |
parent | c56bb7ba64124c6e2324a52b2cd5cec79dbbb050 [diff] |
[klibc] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED On some architectures (notably riscv64) we need a wrapper for the main function that is statically linked even when using a shared library. * Allow architectures to override KLIBCCRTSHARED (they should always append to it) * Change klcc to use the list of filenames in KLIBCCRTSHARED, rather than assuming it's just interp.o Signed-off-by: Ben Hutchings <ben@decadent.org.uk>