forked from uclinux-dev/elf2flt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The latest Binutils release (2.34) is not compatible with elf2flt due to a change in bfd_section_* macros [1]. The issue has been reported to the Binutils mailing list but Alan Modra recommend to bundle libbfd library sources into each projects using it [2]. That's because the API is not stable over the time without any backward compatibility guaranties. On the other hand, the elf2flt tools needs to support modified version of binutils for specific arch/target [3]. Add two tests in the configure script to detect this API change in order to support binutils < 2.34 and binutils >= 2.34. Upstream status: [4] [1] https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=fd3619828e94a24a92cddec42cbc0ab33352eeb4 [2] https://sourceware.org/ml/binutils/2020-02/msg00044.html [3] uclinux-dev#14 [4] uclinux-dev#15 Signed-off-by: Romain Naour <romain.naour@smile.fr>
- Loading branch information
1 parent
a5c48a4
commit 2c6bcde
Showing
2 changed files
with
62 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters