[klibc] [PATCH klibc 3/3] riscv64: Move shared library below executables
tg at debian.org
Sun Jul 16 13:20:51 PDT 2023
Ben Hutchings dixit:
>Move the shared library to 64 kiB and executables to 576 kiB, to allow
>for generation of single-instruction jumps.
Does this DTRT for binaries that are large enough to need
two-instruction jumps in their upper part?
>(klibc.so is currently
>much smaller than the 512 kiB this allows for.)
Since the .so is not a stable ABI, could even size that
(That being said, klibc-using binaries tend to be small
enough that it doesn’t matter; even mksh only comes in
at around 180k statically(!) linked, on amd64.)
Otherwise, lgtm, but again with two nōn-UTF-8 chars.
15:41⎜<Lo-lan-do:#fusionforge> Somebody write a testsuite for helloworld :-)
More information about the klibc