path: root/patches/elf2flt
AgeCommit message (Collapse)AuthorFilesLines
2017-02-28Macos needs a local ELF header, tooAlexey Neyman2-4/+61
Signed-off-by: Alexey Neyman <>
2017-02-28Fix elf2flt build on Cygwin in a different wayAlexey Neyman2-81/+190
... after discussion with elf2flt maintainer. Signed-off-by: Alexey Neyman <>
2017-02-23Fix the build of elf2flt on CygwinAlexey Neyman1-0/+81
The -lcygwin -lc actually breaks the build: elf2flt picks up the symbols for getopt/optarg via <getopt.h> in binutils-X.Y/include, where optarg is declared without dllimport attribute. Therefore it pulls in getopt() from libc/libcygwin, but since optarg is not prefixed with _imp__, it is pulled from libiberty. But the object file in libiberty also contains getopt() thus resulting in multiple definitions thereof. While there, kill extraneous -ldl passed into configure - configure detects -ldl successfully. Upstream: Signed-off-by: Alexey Neyman <>
2017-02-06Pick up upstream fixesAlexey Neyman1-294/+0
... including zlib fix in configure, needed to build canadian crosses with elf2flt. Signed-off-by: Alexey Neyman <>
2017-02-05Patch elf2flt to link libz lastAlexey Neyman1-0/+294
Signed-off-by: Alexey Neyman <>