CREL dynamic relocations

Florian Weimer fweimer@redhat.com
Mon Mar 25 11:52:44 GMT 2024


* Fangrui Song:

> I have proposed a compact relocation format CREL at
> https://groups.google.com/g/generic-abi/c/yb0rjw56ORw/m/eiBcYxSfAQAJ
> (previously named RELLEB).
>
> CREL primarily targets static relocations, achieving significant .o
> file size reduction for lld builds: 18.0% for x86-64/aarch64 and 34.3%
> for riscv64.
> CREL holds promise for dynamic relocations as well, surpassing
> Android's packed relocation format.

As I said elsewhere, I'm concerned about the use of the ULEB128
encoding.  It's unnecessarily difficult to decode.

Thanks,
Florian



More information about the Libc-alpha mailing list