diff options
author | Jan Alexander Steffens (heftig) <heftig@archlinux.org> | 2023-09-01 23:53:03 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-12-03 20:11:24 +0100 |
commit | c356995dc19b3dfe944920a5864f9d3ffd5f9b6f (patch) | |
tree | 0e693f18bd6ce8eb009f8e795ca3342055670809 /src | |
parent | 1535a69af60d2ce82d66866962ecb6b131838869 (diff) | |
download | devtools-c356995dc19b3dfe944920a5864f9d3ffd5f9b6f.tar.xz |
feat(config): Add -z pack-relative-relocs to LDFLAGS
This moves relative relocations from the `.rela.dyn` section into a new
`.relr.dyn` section with a significantly more compact encoding,
supported since glibc 2.36, GNU Binutils 2.38 and LLVM 15.
This can reduce the size of libraries a lot, e.g. the installed size of
`libphonenumber` dropped from about 17 MB to 7 MB.
For more info, see
https://gitlab.archlinux.org/archlinux/rfcs/-/merge_requests/23.
Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions