According to the commit message in binutils, it was a simple renaming
of `*_set_reloc` to `*_finalize_section_relocs` without changing the
functionality.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
To rely on current linker's version to determine the libbfd version is
unreliable. In particular it's likely to yield wrong result in next
use-cases:
- cross-compilations
- build with non-GNU toolchain
- just build with another linker version
Unfortunately libbfd doesn't provide a reliable way to retrieve version
information, so we will have to check for features in specific versions
we are interested in.
Note: this essentially reverts most of the changes introduced by
c57eae3161.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
The GUID was checked, converted to a UUID structure, but was not written
to the icon. This could cause each call to libr_icon_setuuid to store a
different UUID, making reproducible builds impossible.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
This resolves bus errors on tdelibs build when using cross-device /tmp due to truncating libraries that tdelfeditor relies on when updating their metadata