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] #14 [4] #15 Signed-off-by: Romain Naour <romain.naour@smile.fr> Two changes made to original patch: . $binutils_include_dir used for binutils version check . configure script regenerated (run autoconf) Signed-off-by: Greg Ungerer <gerg@kernel.org>
- Loading branch information
1 parent
e827ca3
commit c70b9f2
Showing
3 changed files
with
101 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
Oops, something went wrong.