gimli-rs / object

A unified interface for reading and writing object file formats
https://docs.rs/object/
Apache License 2.0
658 stars 149 forks source link

build/elf: optimise output of version definitions #705

Closed philipc closed 2 months ago

philipc commented 2 months ago

This handles the common case where there are only two version definitions which have the same name.

When rewriting files, we are required to optimise at least as well as the original file so that it fits in the allocated space.