Alexander Golubev
8380fc26a4
Use compilation config-time checks instead of linker version
...
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>
3 months ago
Slávek Banko
c57eae3161
Update for API change in binutils 2.45.
...
Simplify binutils version definitions.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 months ago
Michele Calgaro
090b467fe2
Replace TRUE/FALSE with boolean values true/false
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Michele Calgaro
a6a56789c9
Replace pthread and dl linking with cmake-based variables
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Alexander Golubev
c3ef8bdc0d
Make dependency upon gtk optional
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
2 years ago
Michele Calgaro
57b8158b9a
Update library version to 0.7.0
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
0d2517aa94
Remove libglade related code, since libglade is no longer available
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko
7671e68390
Use __WORDSIZE instead of BFD_HOST_64BIT_LONG
...
to verify the conformity of architecture.
This resolves FTBFS with binutils >= 2.39 on amd64.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
5ba61f25ca
Rework unbalanced #ifdef blocks to improve code formatting.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
46ae2717d2
Fix setting UUID of ELF file icon.
...
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>
5 years ago
Michele Calgaro
ed09509e0b
Fixed generation of corrupted executables when editing sections. This resolves issue #4 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
9eb61c6ed5
Fix FTBFS when bfd.h is considered internal and requires PACKAGE definitions.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
0e3a275c7d
Fix FTBFS with binutils 2.34.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
71ae23a29f
Clean automake files and unusued 'po' folder.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
a005a12fdc
Fix FTBFS on FreeBSD
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
François Andriot
09255fac06
Fix FTBFS due to missing link dl library
...
Signed-off-by: François Andriot <francois.andriot@free.fr>
10 years ago
Slávek Banko
39b1fe2698
Build static library with PIC
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
Timothy Pearson
b9ad6f1e95
Alter safe_rename behaviour to more closely match that of rename()
...
This resolves bus errors on tdelibs build when using cross-device /tmp due to truncating libraries that tdelfeditor relies on when updating their metadata
11 years ago
Timothy Pearson
ff4002f7a4
Fix prior commit
11 years ago
Timothy Pearson
7690d56228
Fix cross-device editing failures
...
This resolves Bug 2215
11 years ago
Slávek Banko
4c2accb349
Fix linked libraries with CMake
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
Slávek Banko
bead6a36fc
Conversion to CMake
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
11 years ago
Timothy Pearson
9b92536e6c
Initial import
11 years ago